-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
141 lines (141 loc) · 4.19 KB
/
Copy pathtailwind.config.js
File metadata and controls
141 lines (141 loc) · 4.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
/** @type {import('tailwindcss').Config} */
import componentsPlugin from "./src/tailwind-plugins/components.js";
export default {
content: [
"./templates/**/*.html",
"./static/**/*.{js,vue}",
"./src/**/*.{vue,js,ts,css}",
"./src/components.css",
],
darkMode: "class",
theme: {
extend: {
colors: {
// Cores base
blue: {
50: "#eff6ff",
100: "#dbeafe",
125: "#cad8fc",
200: "#bfdbfe",
300: "#93c5fd",
400: "#60a5fa",
500: "#3b82f6",
600: "#2563eb", // Azul principal usado nos botões
700: "#1d4ed8",
725: "#2a4dad",
750: "#1e3a87",
800: "#1f2937",
900: "#0e1621",
},
gray: {
50: "#f9fafb",
100: "#f3f4f6",
200: "#e5e7eb",
300: "#d1d5db",
400: "#9ca3af",
500: "#6b7280",
600: "#4b5563",
700: "#374151",
800: "#1f2937",
900: "#111827",
},
dark: {
100: "#374151", // gray-700
200: "#1f2937", // gray-800
300: "#171923",
400: "#151c25", // app-bg-option-select
500: "#0e1621", // dark-bg-primary
600: "#090c14",
700: "#060911",
800: "#1f2937", // dark-bg-secondary
900: "#0e1621", // dark-bg-primary
},
red: {
100: "#fee2e2",
400: "#f87171",
500: "#ef4444",
600: "#dc2626", // error-color
700: "#b91c1c",
900: "#7f1d1d",
},
green: {
100: "#d1fae5",
400: "#34d399",
600: "#059669", // success-color
700: "#047857",
800: "#065f46",
900: "#064e3b",
},
yellow: {
50: "#fefce8",
100: "#fef9c3",
400: "#facc15",
500: "#e0bb28",
550: "#cfa915",
600: "#DAA520",
650: "#ca8a04",
700: "#a16207",
900: "#713f12",
},
purple: {
100: "#f3e8ff",
400: "#c084fc",
600: "#9333ea",
700: "#7e22ce",
900: "#581c87",
},
// Cores específicas da aplicação
primary: "#2563eb", // btn-primary (blue-600)
"primary-hover": "#1d4ed8", // btn-primary-hover (blue-700)
secondary: "#6b7280", // gray-500
"secondary-hover": "#4b5563", // gray-600
success: "#059669", // green-600
"success-hover": "#047857", // green-700
danger: "#dc2626", // error-color (red-600)
"danger-hover": "#b91c1c", // red-700
"danger-light": "#fee2e2", // red-100
"success-light": "#d1fae5", // green-100
"info-light": "#dbeafe", // blue-100
"primary-focus": "#3b82f6", // blue-500
// Cores específicas para tema escuro
"dark-bg-primary": "#0e1621", // color-dark-900
"dark-bg-secondary": "#1f2937", // color-dark-800
"dark-bg-tertiary": "#374151", // gray-700
"dark-text-primary": "#ffffff", // color-white
"dark-text-secondary": "#9ca3af", // gray-400
"dark-text-tertiary": "#e5e7eb", // gray-200
"dark-border-primary": "#4b5563", // gray-600
"dark-border-secondary": "#374151", // gray-700
"dark-edit-btn": "#60a5fa", // blue-400
"dark-edit-hover": "#dbeafe", // blue-100
},
backgroundColor: (theme) => ({
...theme("colors"),
"card-dark": "#1f2937", // dark-bg-secondary
"card-darker": "#151c25", // dark-bg-editor
"table-header-dark": "#1e3a5f", // cor específica para cabeçalhos de tabela
}),
textColor: (theme) => ({
...theme("colors"),
"primary-btn": "#ffffff", // texto para botões primários
}),
borderColor: (theme) => ({
...theme("colors"),
"input-dark": "#374151", // gray-700
}),
container: {
center: true,
padding: "1.5rem",
// sm/md omitidos = largura total até lg ("100%" gera media query inválida)
screens: {
lg: "1400px",
xl: "1400px",
},
},
},
},
plugins: [
componentsPlugin,
// ...outros plugins
],
};