ThemeModeScript
This component is used to add a script tag to your Astro project to handle the theme mode. Add this component in the main layout Astro component.
Import
import { ThemeModeScript } from "@aeonkit/astro";Usage
By default, the users preferred theme mode is used.
<html> <body> <App /> <ThemeModeScript /> </body> </html>Props
None