Files
senmesh-zc/frontend/tailwind.config.js
KodouWZF 47273ae3fd init: 信创文件安全传输系统内外网本地 Docker 部署
包含 s-file 后端、React 前端、MeshSafe 安全检测对接,以及内外网两套
compose/nginx/配置(仅前端 28180/28280 对外发布,其余端口不暴露)。

说明:deploy/config/application-iw.yml 与 application-ow.yml 按维护者
明确要求原样入库,其中含本机 Docker 用的库口令、RabbitMQ 口令与 JWT
密钥;上生产前需替换。
2026-11-02 10:59:03 +08:00

79 lines
2.6 KiB
JavaScript

/** @type {import('tailwindcss').Config} */
import tailwindcssAnimate from "tailwindcss-animate";
export default {
darkMode: ["class"],
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
boxShadow: {
xs: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
},
borderRadius: {
lg: 'var(--radius)',
md: 'calc(var(--radius) - 2px)',
sm: 'calc(var(--radius) - 4px)'
},
colors: {
white: "rgba(255, 255, 255, <alpha-value>)",
black: "rgba(0, 0, 0, <alpha-value>)",
background: 'hsla(var(--background), <alpha-value>)',
foreground: 'hsla(var(--foreground), <alpha-value>)',
card: {
DEFAULT: 'hsla(var(--card), <alpha-value>)',
foreground: 'hsla(var(--card-foreground), <alpha-value>)'
},
popover: {
DEFAULT: 'hsla(var(--popover), <alpha-value>)',
foreground: 'hsla(var(--popover-foreground), <alpha-value>)'
},
primary: {
DEFAULT: 'hsla(var(--primary), <alpha-value>)',
foreground: 'hsla(var(--primary-foreground), <alpha-value>)'
},
secondary: {
DEFAULT: 'hsla(var(--secondary), <alpha-value>)',
foreground: 'hsla(var(--secondary-foreground), <alpha-value>)'
},
muted: {
DEFAULT: 'hsla(var(--muted), <alpha-value>)',
foreground: 'hsla(var(--muted-foreground), <alpha-value>)'
},
accent: {
DEFAULT: 'hsla(var(--accent), <alpha-value>)',
foreground: 'hsla(var(--accent-foreground), <alpha-value>)'
},
destructive: {
DEFAULT: 'hsla(var(--destructive), <alpha-value>)',
foreground: 'hsla(var(--destructive-foreground), <alpha-value>)'
},
border: 'hsla(var(--border), <alpha-value>)',
input: 'hsla(var(--input), <alpha-value>)',
ring: 'hsla(var(--ring), <alpha-value>)',
chart: {
'1': 'hsla(var(--chart-1), <alpha-value>)',
'2': 'hsla(var(--chart-2), <alpha-value>)',
'3': 'hsla(var(--chart-3), <alpha-value>)',
'4': 'hsla(var(--chart-4), <alpha-value>)',
'5': 'hsla(var(--chart-5), <alpha-value>)'
},
sidebar: {
DEFAULT: 'hsla(var(--sidebar), <alpha-value>)',
foreground: 'hsla(var(--sidebar-foreground), <alpha-value>)',
primary: {
DEFAULT: 'hsla(var(--sidebar-primary), <alpha-value>)',
foreground: 'hsla(var(--sidebar-primary-foreground), <alpha-value>)'
},
accent: {
DEFAULT: 'hsla(var(--sidebar-accent), <alpha-value>)',
foreground: 'hsla(var(--sidebar-accent-foreground), <alpha-value>)'
},
border: 'hsla(var(--sidebar-border), <alpha-value>)',
ring: 'hsla(var(--sidebar-ring), <alpha-value>)'
}
}
}
},
plugins: [tailwindcssAnimate],
};