mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
Manage all built-in widget styles in one stylesheet. `nova` is the default theme; further themes will be added under src/styles.
53 lines
1.1 KiB
JavaScript
53 lines
1.1 KiB
JavaScript
/** @type {import('tailwindcss').Config} */
|
|
module.exports = {
|
|
content: ["./src/**/*.{c,h,css}"],
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
background: "#fff",
|
|
primary: "#222222",
|
|
"primary-foreground": "#ffffff",
|
|
secondary: "#f5f5f5",
|
|
"secondary-foreground": "#222222",
|
|
foreground: "#000",
|
|
border: "#e5e5e5",
|
|
destructive: "#e7000b",
|
|
"destructive-muted": "#ffe8e9",
|
|
muted: "#f5f5f5",
|
|
"muted-foreground": "#666666",
|
|
card: "#fff",
|
|
"card-foreground": "#000",
|
|
popover: "#fff",
|
|
"popover-foreground": "#222222",
|
|
},
|
|
},
|
|
},
|
|
corePlugins: [
|
|
"display",
|
|
"flexDirection",
|
|
"flex",
|
|
"alignItems",
|
|
"justifyContent",
|
|
"width",
|
|
"height",
|
|
"padding",
|
|
"margin",
|
|
"gap",
|
|
"borderRadius",
|
|
"borderWidth",
|
|
"borderColor",
|
|
"backgroundColor",
|
|
"textColor",
|
|
"fontSize",
|
|
"fontWeight",
|
|
"lineHeight",
|
|
"textAlign",
|
|
"position",
|
|
"inset",
|
|
"pointerEvents",
|
|
"textDecoration",
|
|
"textUnderlineOffset",
|
|
"opacity",
|
|
],
|
|
};
|