mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-02 05:08:03 +01:00
docs: update
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div class="antialiased font-sans">
|
||||||
<nav class="u-bg-white border-b u-border-gray-200 fixed top-0 inset-x-0 z-10">
|
<nav class="u-bg-white border-b u-border-gray-200 fixed top-0 inset-x-0 z-10">
|
||||||
<UContainer padded>
|
<UContainer padded>
|
||||||
<div class="flex items-center justify-between h-16">
|
<div class="flex items-center justify-between h-16">
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
/* @unocss-include */
|
||||||
|
|
||||||
import { defineNuxtConfig } from 'nuxt3'
|
import { defineNuxtConfig } from 'nuxt3'
|
||||||
|
|
||||||
// https://v3.nuxtjs.org/docs/directory-structure/nuxt.config
|
// https://v3.nuxtjs.org/docs/directory-structure/nuxt.config
|
||||||
@@ -7,20 +9,15 @@ export default defineNuxtConfig({
|
|||||||
meta: [
|
meta: [
|
||||||
{ name: 'viewport', content: 'width=device-width, initial-scale=1, maximum-scale=1' }
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1, maximum-scale=1' }
|
||||||
],
|
],
|
||||||
|
link: [
|
||||||
|
{ rel: 'stylesheet', href: 'https://rsms.me/inter/inter.css' }
|
||||||
|
],
|
||||||
htmlAttrs: {
|
htmlAttrs: {
|
||||||
class: 'u-bg-white'
|
class: 'u-bg-white'
|
||||||
},
|
},
|
||||||
bodyAttrs: {
|
bodyAttrs: {
|
||||||
class: 'u-bg-gray-50 u-text-gray-700'
|
class: 'u-bg-gray-50 u-text-gray-700'
|
||||||
},
|
}
|
||||||
link: [
|
|
||||||
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
|
|
||||||
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' },
|
|
||||||
{
|
|
||||||
rel: 'stylesheet',
|
|
||||||
href: 'https://fonts.googleapis.com/css2?family=Inter&family=Fira+Code&display=swap'
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
buildModules: [
|
buildModules: [
|
||||||
'../src'
|
'../src'
|
||||||
@@ -32,8 +29,7 @@ export default defineNuxtConfig({
|
|||||||
unocss: {
|
unocss: {
|
||||||
theme: {
|
theme: {
|
||||||
fontFamily: {
|
fontFamily: {
|
||||||
sans: '\'Inter\', sans-serif',
|
sans: '"Inter var", sans-serif'
|
||||||
mono: '\'Fira Code\', monospace'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user