mirror of
https://github.com/PaiGramTeam/PaiGramDocs.git
synced 2024-11-25 18:04:11 +00:00
37 lines
663 B
TypeScript
37 lines
663 B
TypeScript
import {
|
|
defineConfig,
|
|
presetAttributify,
|
|
presetIcons,
|
|
presetUno,
|
|
transformerDirectives,
|
|
transformerVariantGroup,
|
|
} from 'unocss'
|
|
|
|
export default defineConfig({
|
|
shortcuts: {
|
|
'border-main': 'border-gray-400 border-opacity-30',
|
|
'bg-main': 'bg-gray-400',
|
|
'bg-base': 'bg-white dark:bg-hex-1a1a1a',
|
|
},
|
|
presets: [
|
|
presetUno(),
|
|
presetAttributify(),
|
|
presetIcons({
|
|
scale: 1.2,
|
|
warn: true,
|
|
}),
|
|
],
|
|
theme: {
|
|
colors: {
|
|
primary: '#3eaf7c',
|
|
},
|
|
fontFamily: {
|
|
mono: 'var(--vt-font-family-mono)',
|
|
},
|
|
},
|
|
transformers: [
|
|
transformerDirectives(),
|
|
transformerVariantGroup(),
|
|
],
|
|
})
|