@@ -25,6 +25,8 @@ export const COLORS = [
25
25
26
26
export const DEFAULT_COLOR = "blue" ;
27
27
28
+ // Beware, these maps of colors cannot be replaced with functions using string interpolation such as `bg-${color}-100`
29
+ // as described in Tailwind documentation https://tailwindcss.com/docs/content-configuration#dynamic-class-names
28
30
export const BG_COLOR = {
29
31
100 : {
30
32
blue : "bg-blue-100" ,
@@ -105,6 +107,25 @@ export const BG_COLOR = {
105
107
} ;
106
108
107
109
export const TEXT_COLOR = {
110
+ 500 : {
111
+ blue : "text-blue-500" ,
112
+ orange : "text-orange-500" ,
113
+ yellow : "text-yellow-500" ,
114
+ red : "text-red-500" ,
115
+ purple : "text-purple-500" ,
116
+ amber : "text-amber-500" ,
117
+ lime : "text-lime-500" ,
118
+ green : "text-green-500" ,
119
+ emerald : "text-emerald-500" ,
120
+ teal : "text-teal-500" ,
121
+ cyan : "text-cyan-500" ,
122
+ sky : "text-sky-500" ,
123
+ indigo : "text-indigo-500" ,
124
+ violet : "text-violet-500" ,
125
+ fuchsia : "text-fuchsia-500" ,
126
+ pink : "text-pink-500" ,
127
+ rose : "text-rose-500"
128
+ } ,
108
129
600 : {
109
130
blue : "text-blue-600 dark:text-blue-400 dark:hover:text-blue-400" ,
110
131
orange : "text-orange-600 dark:text-orange-400 dark:hover:text-orange-400" ,
@@ -227,6 +248,28 @@ export const RING_COLOR = {
227
248
}
228
249
} ;
229
250
251
+ export const BUTTON_COLOR = {
252
+ focus : {
253
+ blue : "focus:ring-blue-500/50 focus:bg-blue-100/50" ,
254
+ orange : "focus:ring-orange-500/50 focus:bg-orange-100/50" ,
255
+ yellow : "focus:ring-yellow-500/50 focus:bg-yellow-100/50" ,
256
+ red : "focus:ring-red-500/50 focus:bg-red-100/50" ,
257
+ purple : "focus:ring-purple-500/50 focus:bg-purple-100/50" ,
258
+ amber : "focus:ring-amber-500/50 focus:bg-amber-100/50" ,
259
+ lime : "focus:ring-lime-500/50 focus:bg-lime-100/50" ,
260
+ green : "focus:ring-green-500/50 focus:bg-green-100/50" ,
261
+ emerald : "focus:ring-emerald-500/50 focus:bg-emerald-100/50" ,
262
+ teal : "focus:ring-teal-500/50 focus:bg-teal-100/50" ,
263
+ cyan : "focus:ring-cyan-500/50 focus:bg-cyan-100/50" ,
264
+ sky : "focus:ring-sky-500/50 focus:bg-sky-100/50" ,
265
+ indigo : "focus:ring-indigo-500/50 focus:bg-indigo-100/50" ,
266
+ violet : "focus:ring-violet-500/50 focus:bg-violet-100/50" ,
267
+ fuchsia : "focus:ring-fuchsia-500/50 focus:bg-fuchsia-100/50" ,
268
+ pink : "focus:ring-pink-500/50 focus:bg-pink-100/50" ,
269
+ rose : "focus:ring-rose-500/50 focus:bg-rose-100/50"
270
+ }
271
+ } ;
272
+
230
273
export const DEFAULT_SHORTCUTS = {
231
274
today : {
232
275
text : "Today" ,
0 commit comments