--- import config from "@/config/config.json"; const { theme_switcher, default_theme, }: { theme_switcher: boolean; default_theme: string } = config.settings; const { className }: { className?: string } = Astro.props; --- { theme_switcher && (