mirror of
https://github.com/andatoshiki/toshiki-home-nuxt3.git
synced 2026-06-05 21:46:29 +00:00
45 lines
1.4 KiB
TypeScript
Executable File
45 lines
1.4 KiB
TypeScript
Executable File
import { defineConfig } from 'windicss/helpers'
|
|
import defaultTheme from 'windicss/defaultTheme'
|
|
|
|
/* Plugins */
|
|
import lineClamp from 'windicss/plugin/line-clamp'
|
|
import typography from 'windicss/plugin/typography'
|
|
|
|
export default defineConfig({
|
|
darkMode: 'class',
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
neutral: {
|
|
50: '#fafafa',
|
|
100: '#f5f5f5',
|
|
200: '#e5e5e5',
|
|
300: '#d4d4d4',
|
|
400: '#a3a3a3',
|
|
500: '#737373',
|
|
600: '#525252',
|
|
700: '#404040',
|
|
800: '#262626',
|
|
900: '#171717'
|
|
}
|
|
}
|
|
},
|
|
fontFamily: {
|
|
sans: ['Inter', ...defaultTheme.fontFamily.sans]
|
|
}
|
|
},
|
|
shortcuts: {
|
|
'responsive-screen': 'max-w-screen-lg mx-auto px-6 md:px-0',
|
|
'focus-ring':
|
|
'ring-offset-2 light:(ring-offset-gray-50 ring-gray-300) focus:outline-none focus:ring-1 dark:focus:(ring-offset-neutral-900 ring-neutral-800)',
|
|
'card-base':
|
|
'border-[0.1px] p-4 bg-opacity-25 bg-neutral-100 hover:bg-neutral-200/40 border-neutral-200 dark:(bg-neutral-800/30 border-neutral-800 text-white/80 hover:text-white hover:bg-opacity-40) transition-colors '
|
|
},
|
|
plugins: [
|
|
lineClamp,
|
|
typography({
|
|
dark: true
|
|
})
|
|
]
|
|
})
|