fix:sample/plate 之前的开发
This commit is contained in:
68
frontend/tailwind.config.js
Normal file
68
frontend/tailwind.config.js
Normal file
@@ -0,0 +1,68 @@
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
darkMode: "class",
|
||||
content: [
|
||||
"./src/**/*.{js,ts,jsx,tsx,mdx}",
|
||||
"./app/**/*.{js,ts,jsx,tsx,mdx}",
|
||||
"./components/**/*.{js,ts,jsx,tsx,mdx}",
|
||||
],
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
background: "var(--background)",
|
||||
foreground: "var(--foreground)",
|
||||
card: "var(--card)",
|
||||
"card-foreground": "var(--card-foreground)",
|
||||
popover: "var(--popover)",
|
||||
"popover-foreground": "var(--popover-foreground)",
|
||||
primary: "var(--primary)",
|
||||
"primary-foreground": "var(--primary-foreground)",
|
||||
secondary: "var(--secondary)",
|
||||
"secondary-foreground": "var(--secondary-foreground)",
|
||||
muted: "var(--muted)",
|
||||
"muted-foreground": "var(--muted-foreground)",
|
||||
accent: "var(--accent)",
|
||||
"accent-foreground": "var(--accent-foreground)",
|
||||
destructive: "var(--destructive)",
|
||||
"destructive-foreground": "var(--destructive-foreground)",
|
||||
border: "var(--border)",
|
||||
input: "var(--input)",
|
||||
ring: "var(--ring)",
|
||||
success: "var(--success)",
|
||||
info: "var(--info)",
|
||||
warning: "var(--warning)",
|
||||
error: "var(--error)",
|
||||
sidebar: {
|
||||
DEFAULT: "var(--sidebar-background)",
|
||||
foreground: "var(--sidebar-foreground)",
|
||||
primary: "var(--sidebar-primary)",
|
||||
"primary-foreground": "var(--sidebar-primary-foreground)",
|
||||
accent: "var(--sidebar-accent)",
|
||||
"accent-foreground": "var(--sidebar-accent-foreground)",
|
||||
border: "var(--sidebar-border)",
|
||||
ring: "var(--sidebar-ring)",
|
||||
},
|
||||
},
|
||||
borderRadius: {
|
||||
lg: "var(--radius)",
|
||||
xl: "calc(var(--radius) + 4px)",
|
||||
"2xl": "calc(var(--radius) + 8px)",
|
||||
"3xl": "calc(var(--radius) + 14px)",
|
||||
},
|
||||
boxShadow: {
|
||||
agriculture: "0 22px 60px rgba(17, 24, 39, 0.10)",
|
||||
glow: "0 18px 50px rgba(15, 118, 110, 0.24)",
|
||||
},
|
||||
keyframes: {
|
||||
"fade-up": {
|
||||
"0%": { opacity: "0", transform: "translateY(12px)" },
|
||||
"100%": { opacity: "1", transform: "translateY(0)" },
|
||||
},
|
||||
},
|
||||
animation: {
|
||||
"fade-up": "fade-up 520ms ease-out both",
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [require("tailwindcss-animate")],
|
||||
};
|
||||
Reference in New Issue
Block a user