first commit
This commit is contained in:
53
uno.config.ts
Normal file
53
uno.config.ts
Normal file
@@ -0,0 +1,53 @@
|
||||
import {
|
||||
defineConfig,
|
||||
presetAttributify,
|
||||
presetIcons,
|
||||
presetTagify,
|
||||
presetTypography,
|
||||
presetUno,
|
||||
presetWebFonts,
|
||||
transformerDirectives,
|
||||
transformerVariantGroup
|
||||
} from "unocss";
|
||||
|
||||
export default defineConfig({
|
||||
shortcuts: [
|
||||
["crate", "mx-auto max-w-7xl px-4 lg:px-8 sm:px-6"],
|
||||
["flex-center", "flex justify-center items-center"]
|
||||
],
|
||||
presets: [
|
||||
presetUno(),
|
||||
presetTagify(),
|
||||
presetAttributify(),
|
||||
presetIcons({
|
||||
extraProperties: {
|
||||
display: "inline-block",
|
||||
"vertical-align": "middle"
|
||||
}
|
||||
}),
|
||||
presetTypography(),
|
||||
presetWebFonts({
|
||||
fonts: {
|
||||
heading: {
|
||||
name: "Montserrat",
|
||||
weights: ["200", "400", "700"]
|
||||
},
|
||||
text: "Inter"
|
||||
}
|
||||
})
|
||||
],
|
||||
theme: {
|
||||
breakpoints: {
|
||||
sm: "576px",
|
||||
md: "768px",
|
||||
lg: "992px",
|
||||
xl: "1200px",
|
||||
xxl: "1400px",
|
||||
uw: "2000px"
|
||||
}
|
||||
},
|
||||
transformers: [
|
||||
transformerDirectives(),
|
||||
transformerVariantGroup()
|
||||
]
|
||||
});
|
Reference in New Issue
Block a user