chore: update css

This commit is contained in:
vben
2024-06-23 14:21:27 +08:00
parent 6f0c05dd50
commit 26b8c6ef27
49 changed files with 401 additions and 920 deletions

View File

@@ -38,7 +38,7 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-i": "^2.29.1",
"eslint-plugin-jsdoc": "^48.2.15",
"eslint-plugin-jsdoc": "^48.4.0",
"eslint-plugin-jsonc": "^2.16.0",
"eslint-plugin-n": "^17.9.0",
"eslint-plugin-no-only-tests": "^3.1.0",

View File

@@ -45,7 +45,7 @@
"tailwindcss": "^3.4.3"
},
"dependencies": {
"@iconify/json": "^2.2.221",
"@iconify/json": "^2.2.222",
"@iconify/tailwind": "^1.1.1",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/nesting": "0.0.0-insiders.565cd3e",

View File

@@ -62,55 +62,62 @@ export default {
'3000': '3000ms',
},
borderRadius: {
lg: 'var(--radius-base)',
md: 'calc(var(--radius-base) - 2px)',
sm: 'calc(var(--radius-base) - 4px)',
xl: 'calc(var(--radius-base) + 4px)',
lg: 'var(--radius)',
md: 'calc(var(--radius) - 2px)',
sm: 'calc(var(--radius) - 4px)',
xl: 'calc(var(--radius) + 4px)',
},
colors: {
accent: {
DEFAULT: 'hsl(var(--color-accent))',
foreground: 'hsl(var(--color-accent-foreground))',
hover: 'hsl(var(--color-accent-hover))',
DEFAULT: 'hsl(var(--accent))',
foreground: 'hsl(var(--accent-foreground))',
hover: 'hsl(var(--accent-hover))',
},
background: 'hsl(var(--color-background) / <alpha-value>)',
// body: 'hsl(var(--color-body) / <alpha-value>)',
border: 'hsl(var(--color-border))',
background: 'hsl(var(--background))',
border: 'hsl(var(--border))',
card: {
DEFAULT: 'hsl(var(--color-card))',
foreground: 'hsl(var(--color-card-foreground))',
DEFAULT: 'hsl(var(--card))',
foreground: 'hsl(var(--card-foreground))',
},
destructive: {
DEFAULT: 'hsl(var(--color-destructive))',
foreground: 'hsl(var(--color-destructive-foreground))',
DEFAULT: 'hsl(var(--destructive))',
foreground: 'hsl(var(--destructive-foreground))',
},
foreground: 'hsl(var(--color-foreground) / <alpha-value>)',
foreground: 'hsl(var(--foreground) / <alpha-value>)',
heavy: {
DEFAULT: 'hsl(var(--color-heavy) / <alpha-value>)',
foreground: 'hsl(var(--color-heavy-foreground) / <alpha-value>)',
DEFAULT: 'hsl(var(--heavy))',
foreground: 'hsl(var(--heavy-foreground))',
},
input: {
DEFAULT: 'hsl(var(--color-input))',
background: 'hsl(var(--color-input-background))',
DEFAULT: 'hsl(var(--input))',
background: 'hsl(var(--input-background))',
},
muted: {
DEFAULT: 'hsl(var(--color-muted))',
foreground: 'hsl(var(--color-muted-foreground))',
DEFAULT: 'hsl(var(--muted))',
foreground: 'hsl(var(--muted-foreground))',
},
overlay: 'hsl(var(--color-overlay))',
overlay: 'hsl(var(--overlay))',
popover: {
DEFAULT: 'hsl(var(--color-popover))',
foreground: 'hsl(var(--color-popover-foreground))',
DEFAULT: 'hsl(var(--popover))',
foreground: 'hsl(var(--popover-foreground))',
},
primary: {
DEFAULT: 'hsl(var(--color-primary) / <alpha-value>)',
foreground: 'hsl(var(--color-primary-foreground) / <alpha-value>)',
DEFAULT: 'hsl(var(--primary) / <alpha-value>)',
foreground: 'hsl(var(--primary-foreground) / <alpha-value>)',
},
ring: 'hsl(var(--color-ring))',
ring: 'hsl(var(--ring))',
secondary: {
DEFAULT: 'hsl(var(--color-secondary) / <alpha-value>)',
desc: 'hsl(var(--color-secondary-desc) / <alpha-value>)',
foreground: 'hsl(var(--color-secondary-foreground) / <alpha-value>)',
DEFAULT: 'hsl(var(--secondary) / <alpha-value>)',
desc: 'hsl(var(--secondary-desc) / <alpha-value>)',
foreground: 'hsl(var(--secondary-foreground) / <alpha-value>)',
},
success: {
DEFAULT: 'hsl(var(--success))',
foreground: 'hsl(var(--success-foreground))',
},
warning: {
DEFAULT: 'hsl(var(--warning))',
foreground: 'hsl(var(--warning-foreground))',
},
},
fontFamily: {