PaiGramDocs/unocss.config.ts

37 lines
663 B
TypeScript
Raw Normal View History

2023-10-20 17:15:41 +00:00
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(),
],
})