Skip to content

Commit e3a81da

Browse files
authored
Removing other classNames
Removing other `classNames` starting with `primary` and `secondary`
1 parent 8050c4c commit e3a81da

File tree

1 file changed

+13
-39
lines changed

1 file changed

+13
-39
lines changed

src/constants/index.ts

Lines changed: 13 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ export const COLORS = [
2020
"purple",
2121
"fuchsia",
2222
"pink",
23-
"rose",
24-
"primary",
25-
"secondary"
23+
"rose"
2624
];
2725

2826
export const DEFAULT_COLOR = "blue";
@@ -47,9 +45,7 @@ export const BG_COLOR = {
4745
violet: "bg-violet-100",
4846
fuchsia: "bg-fuchsia-100",
4947
pink: "bg-pink-100",
50-
rose: "bg-rose-100",
51-
primary: "bg-primary-100",
52-
secondary: "bg-secondary-100"
48+
rose: "bg-rose-100"
5349
},
5450
200: {
5551
blue: "bg-blue-200",
@@ -68,9 +64,7 @@ export const BG_COLOR = {
6864
violet: "bg-violet-200",
6965
fuchsia: "bg-fuchsia-200",
7066
pink: "bg-pink-200",
71-
rose: "bg-rose-200",
72-
primary: "bg-primary-200",
73-
secondary: "bg-secondary-200"
67+
rose: "bg-rose-200"
7468
},
7569
500: {
7670
blue: "bg-blue-500",
@@ -89,9 +83,7 @@ export const BG_COLOR = {
8983
violet: "bg-violet-500",
9084
fuchsia: "bg-fuchsia-500",
9185
pink: "bg-pink-500",
92-
rose: "bg-rose-500",
93-
primary: "bg-primary-500",
94-
secondary: "bg-secondary-500"
86+
rose: "bg-rose-500"
9587
},
9688
hover: {
9789
blue: "hover:bg-blue-600",
@@ -110,9 +102,7 @@ export const BG_COLOR = {
110102
violet: "hover:bg-violet-600",
111103
fuchsia: "hover:bg-fuchsia-600",
112104
pink: "hover:bg-pink-600",
113-
rose: "hover:bg-rose-600",
114-
primary: "hover:bg-primary-600",
115-
secondary: "hover:bg-secondary-600"
105+
rose: "hover:bg-rose-600"
116106
}
117107
};
118108

@@ -134,9 +124,7 @@ export const TEXT_COLOR = {
134124
violet: "text-violet-500",
135125
fuchsia: "text-fuchsia-500",
136126
pink: "text-pink-500",
137-
rose: "text-rose-500",
138-
primary: "text-primary-500",
139-
secondary: "text-secondary-500"
127+
rose: "text-rose-500"
140128
},
141129
600: {
142130
blue: "text-blue-600 dark:text-blue-400 dark:hover:text-blue-400",
@@ -155,9 +143,7 @@ export const TEXT_COLOR = {
155143
violet: "text-violet-600 dark:text-violet-400 dark:hover:text-violet-400",
156144
fuchsia: "text-fuchsia-600 dark:text-fuchsia-400 dark:hover:text-fuchsia-400",
157145
pink: "text-pink-600 dark:text-pink-400 dark:hover:text-pink-400",
158-
rose: "text-rose-600 dark:text-rose-400 dark:hover:text-rose-400",
159-
primary: "text-primary-600 dark:text-primary-400 dark:hover:text-primary-400",
160-
secondary: "text-secondary-600 dark:text-secondary-400 dark:hover:text-secondary-400"
146+
rose: "text-rose-600 dark:text-rose-400 dark:hover:text-rose-400"
161147
},
162148
hover: {
163149
blue: "hover:text-blue-700",
@@ -176,9 +162,7 @@ export const TEXT_COLOR = {
176162
violet: "hover:text-violet-700",
177163
fuchsia: "hover:text-fuchsia-700",
178164
pink: "hover:text-pink-700",
179-
rose: "hover:text-rose-700",
180-
primary: "hover:text-primary-700",
181-
secondary: "hover:text-secondary-700"
165+
rose: "hover:text-rose-700"
182166
}
183167
};
184168

@@ -200,9 +184,7 @@ export const BORDER_COLOR = {
200184
violet: "border-violet-500",
201185
fuchsia: "border-fuchsia-500",
202186
pink: "border-pink-500",
203-
rose: "border-rose-500",
204-
primary: "border-primary-500",
205-
secondary: "border-secondary-500"
187+
rose: "border-rose-500"
206188
},
207189
focus: {
208190
blue: "focus:border-blue-500",
@@ -221,9 +203,7 @@ export const BORDER_COLOR = {
221203
violet: "focus:border-violet-500",
222204
fuchsia: "focus:border-fuchsia-500",
223205
pink: "focus:border-pink-500",
224-
rose: "focus:border-rose-500",
225-
primary: "focus:border-primary-500",
226-
secondary: "focus:border-secondary-500"
206+
rose: "focus:border-rose-500"
227207
}
228208
};
229209

@@ -245,9 +225,7 @@ export const RING_COLOR = {
245225
violet: "focus:ring-violet-500",
246226
fuchsia: "focus:ring-fuchsia-500",
247227
pink: "focus:ring-pink-500",
248-
rose: "focus:ring-rose-500",
249-
primary: "focus:ring-primary-500",
250-
secondary: "focus:ring-secondary-500"
228+
rose: "focus:ring-rose-500"
251229
},
252230
"second-focus": {
253231
blue: "focus:ring-blue-500/20",
@@ -266,9 +244,7 @@ export const RING_COLOR = {
266244
violet: "focus:ring-violet-500/20",
267245
fuchsia: "focus:ring-fuchsia-500/20",
268246
pink: "focus:ring-pink-500/20",
269-
rose: "focus:ring-rose-500/20",
270-
primary: "focus:ring-primary-500/20",
271-
secondary: "focus:ring-secondary-500/20"
247+
rose: "focus:ring-rose-500/20"
272248
}
273249
};
274250

@@ -290,9 +266,7 @@ export const BUTTON_COLOR = {
290266
violet: "focus:ring-violet-500/50 focus:bg-violet-100/50",
291267
fuchsia: "focus:ring-fuchsia-500/50 focus:bg-fuchsia-100/50",
292268
pink: "focus:ring-pink-500/50 focus:bg-pink-100/50",
293-
rose: "focus:ring-rose-500/50 focus:bg-rose-100/50",
294-
primary: "focus:ring-primary-500/50 focus:bg-primary-100/50",
295-
secondary: "focus:ring-secondary-500/50 focus:bg-secondary-100/50"
269+
rose: "focus:ring-rose-500/50 focus:bg-rose-100/50"
296270
}
297271
};
298272

0 commit comments

Comments
 (0)