mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-29 19:30:37 +01:00
docs: update
This commit is contained in:
@@ -10,8 +10,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flex items-center gap-3">
|
<div class="flex items-center gap-3">
|
||||||
<UButton to="https://github.com/nuxtlabs/ui" target="_blank" variant="transparent" icon="fa-brands:github" />
|
|
||||||
<UButton variant="transparent" :icon="colorMode.value === 'dark' ? 'heroicons-outline:moon' : 'heroicons-outline:sun'" @click="toggleDark" />
|
<UButton variant="transparent" :icon="colorMode.value === 'dark' ? 'heroicons-outline:moon' : 'heroicons-outline:sun'" @click="toggleDark" />
|
||||||
|
<UButton to="https://github.com/nuxtlabs/ui" target="_blank" variant="transparent" icon="fa-brands:github" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</UContainer>
|
</UContainer>
|
||||||
@@ -58,6 +58,9 @@
|
|||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
useMeta({
|
useMeta({
|
||||||
|
htmlAttrs: {
|
||||||
|
class: 'bg-white dark:bg-black'
|
||||||
|
},
|
||||||
bodyAttrs: {
|
bodyAttrs: {
|
||||||
class: 'antialiased font-sans text-gray-700 bg-gray-50 dark:bg-gray-900 dark:text-gray-200'
|
class: 'antialiased font-sans text-gray-700 bg-gray-50 dark:bg-gray-900 dark:text-gray-200'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,10 +12,7 @@ export default defineNuxtConfig({
|
|||||||
],
|
],
|
||||||
link: [
|
link: [
|
||||||
{ rel: 'stylesheet', href: 'https://rsms.me/inter/inter.css' }
|
{ rel: 'stylesheet', href: 'https://rsms.me/inter/inter.css' }
|
||||||
],
|
]
|
||||||
htmlAttrs: {
|
|
||||||
class: 'bg-white dark:bg-black'
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
buildModules: [
|
buildModules: [
|
||||||
module
|
module
|
||||||
|
|||||||
Reference in New Issue
Block a user