2024-05-05 03:34:27 +00:00
|
|
|
import { defineConfig } from "unocss";
|
|
|
|
import transformerVariantGroup from "@unocss/transformer-variant-group";
|
|
|
|
export default defineConfig({
|
2024-07-30 08:26:53 +00:00
|
|
|
blocklist: ["m55"],
|
2024-05-05 03:34:27 +00:00
|
|
|
transformers: [transformerVariantGroup()],
|
|
|
|
theme: {
|
|
|
|
colors: {
|
|
|
|
fore: {
|
|
|
|
base: "#fafafa",
|
2024-05-06 03:40:20 +00:00
|
|
|
subtle: "#858c8a",
|
|
|
|
border: "#4c4f4e",
|
2024-05-05 03:34:27 +00:00
|
|
|
},
|
|
|
|
back: {
|
2024-05-06 03:40:20 +00:00
|
|
|
base: "#0e0f0f",
|
|
|
|
subtle: "#1a1b1c",
|
2024-05-05 03:34:27 +00:00
|
|
|
},
|
|
|
|
},
|
2024-06-30 08:45:24 +00:00
|
|
|
animation: {
|
2024-07-08 03:59:52 +00:00
|
|
|
keyframes: {
|
|
|
|
// "fade-in": {
|
|
|
|
// from: {
|
|
|
|
// opacity: 0,
|
|
|
|
// },
|
|
|
|
// to: {
|
|
|
|
// opacity: 1,
|
|
|
|
// },
|
|
|
|
// },
|
|
|
|
// "fade-out": {
|
|
|
|
// from: {
|
|
|
|
// opacity: 1,
|
|
|
|
// },
|
|
|
|
// to: {
|
|
|
|
// opacity: 0,
|
|
|
|
// },
|
|
|
|
// },
|
|
|
|
// "zoom-in": {
|
|
|
|
// from: {
|
|
|
|
// opacity: 0,
|
|
|
|
// transform: "scale(0.96);",
|
|
|
|
// },
|
|
|
|
// to: {
|
|
|
|
// opacity: 1,
|
|
|
|
// },
|
|
|
|
// },
|
|
|
|
// "zoom-out": {
|
|
|
|
// from: {
|
|
|
|
// opacity: 1,
|
|
|
|
// },
|
|
|
|
// to: {
|
|
|
|
// opacity: 0,
|
|
|
|
// transform: "scale(0.96);",
|
|
|
|
// },
|
|
|
|
// },
|
|
|
|
"collapsible-exit":
|
|
|
|
"{ from { height: var(--kb-collapsible-content-height); } to { height: 0; } }",
|
|
|
|
"collapsible-enter":
|
|
|
|
"{ from { height: 0; } to { height: var(--kb-collapsible-content-height); } }",
|
2024-07-05 03:48:54 +00:00
|
|
|
},
|
2024-07-08 03:59:52 +00:00
|
|
|
durations: {
|
|
|
|
"collapsible-exit": "300ms",
|
|
|
|
"collapsible-enter": "300ms",
|
2024-07-05 03:48:54 +00:00
|
|
|
},
|
2024-07-08 03:59:52 +00:00
|
|
|
timingFns: {
|
|
|
|
"collapsible-exit": "ease-out",
|
|
|
|
"collapsible-enter": "ease-out",
|
2024-06-30 08:45:24 +00:00
|
|
|
},
|
|
|
|
},
|
2024-05-05 03:34:27 +00:00
|
|
|
},
|
2024-05-06 03:40:20 +00:00
|
|
|
preflights: [
|
|
|
|
{
|
|
|
|
getCSS: ({ theme }) =>
|
|
|
|
`*{--un-default-border-color:${theme.colors.fore.border};}`,
|
|
|
|
},
|
|
|
|
],
|
2024-05-05 03:34:27 +00:00
|
|
|
});
|