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()],
})
