mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-19 14:31:47 +01:00
1003 B
1003 B
description, links, navigation
| description | links | navigation | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Thanks to @nuxtjs/color-mode, you can easily switch between light and dark themes.
All the components are styled with dark mode in mind.
Thanks to Tailwind CSS dark mode class strategy and the @nuxtjs/color-mode module, you literally have nothing to do.
You can disable dark mode by setting the preference to light instead of system in your nuxt.config.ts.
export default defineNuxtConfig({
colorMode: {
preference: 'light'
}
})
::tip
If you're stuck in dark mode even after changing this setting, you might need to remove the nuxt-color-mode entry from your browser's local storage.
::