Files
guz.one/uno.config.js

49 lines
768 B
JavaScript
Raw Normal View History

2024-05-23 16:30:37 -03:00
import {
defineConfig,
presetIcons,
presetTypography,
presetUno,
presetWebFonts,
transformerDirectives,
transformerVariantGroup,
} from 'unocss';
export default defineConfig({
cli: {
entry: {
patterns: [
'./{pages,layouts}/**/*.templ',
'./static/**/*.{js,css,html}',
'!./static/uno.css',
],
outFile: './static/uno.css',
},
},
presets: [
presetIcons(),
presetTypography(),
presetUno(),
2024-05-23 18:27:47 -03:00
presetWebFonts({
provider: 'bunny',
fonts: {
sans: {
name: 'Inter',
provider: 'none'
},
cal: {
name: 'Cal Sans',
provider: 'none',
},
2024-05-23 18:47:30 -03:00
mono: {
name: 'Fira Code',
provider: 'none',
},
2024-05-23 18:27:47 -03:00
},
}),
2024-05-23 16:30:37 -03:00
],
transformers: [
transformerDirectives(),
transformerVariantGroup(),
],
});