Skip to content

Commit 37ef807

Browse files
Update index.test.js
1 parent 8dfd2ac commit 37ef807

File tree

1 file changed

+56
-33
lines changed

1 file changed

+56
-33
lines changed

src/index.test.js

+56-33
Original file line numberDiff line numberDiff line change
@@ -104,85 +104,108 @@ test('specificity', async () => {
104104
--tw-backdrop-sepia: ;
105105
}
106106
.border-primary {
107-
border-color: rgba(222, 32, 106, 1);
107+
--tw-border-opacity: 1;
108+
border-color: rgb(222 32 106 / var(--tw-border-opacity));
108109
}
109110
.border-yellow-400 {
110-
border-color: rgba(251, 191, 36, 1);
111+
--tw-border-opacity: 1;
112+
border-color: rgb(251 191 36 / var(--tw-border-opacity));
111113
}
112114
.border-green-500 {
113-
border-color: rgba(16, 185, 129, 1);
115+
--tw-border-opacity: 1;
116+
border-color: rgb(16 185 129 / var(--tw-border-opacity));
114117
}
115118
.border-white {
116119
--tw-border-opacity: 1;
117120
border-color: rgb(255 255 255 / var(--tw-border-opacity));
118121
}
119122
.bg-primary {
120-
background-color: rgba(222, 32, 106, 1);
123+
--tw-bg-opacity: 1;
124+
background-color: rgb(222 32 106 / var(--tw-bg-opacity));
121125
}
122126
.bg-yellow-400 {
123-
background-color: rgba(251, 191, 36, 1);
127+
--tw-bg-opacity: 1;
128+
background-color: rgb(251 191 36 / var(--tw-bg-opacity));
124129
}
125130
.bg-green-500 {
126-
background-color: rgba(16, 185, 129, 1);
131+
--tw-bg-opacity: 1;
132+
background-color: rgb(16 185 129 / var(--tw-bg-opacity));
127133
}
128134
.bg-white {
129135
--tw-bg-opacity: 1;
130136
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
131137
}
132138
.bg-slate-100 {
133-
background-color: rgba(241, 245, 249, 1);
139+
--tw-bg-opacity: 1;
140+
background-color: rgb(241 245 249 / var(--tw-bg-opacity));
134141
}
135142
.bg-slate-700 {
136-
background-color: rgba(51, 65, 85, 1);
143+
--tw-bg-opacity: 1;
144+
background-color: rgb(51 65 85 / var(--tw-bg-opacity));
137145
}
138146
.bg-neutral-100 {
139-
background-color: rgba(245, 245, 245, 1);
147+
--tw-bg-opacity: 1;
148+
background-color: rgb(245 245 245 / var(--tw-bg-opacity));
140149
}
141150
.bg-neutral-300 {
142-
background-color: rgba(212, 212, 212, 1);
151+
--tw-bg-opacity: 1;
152+
background-color: rgb(212 212 212 / var(--tw-bg-opacity));
143153
}
144154
.bg-neutral-400 {
145-
background-color: rgba(163, 163, 163, 1);
155+
--tw-bg-opacity: 1;
156+
background-color: rgb(163 163 163 / var(--tw-bg-opacity));
146157
}
147158
.bg-neutral-500 {
148-
background-color: rgba(115, 115, 115, 1);
159+
--tw-bg-opacity: 1;
160+
background-color: rgb(115 115 115 / var(--tw-bg-opacity));
149161
}
150162
.bg-neutral-700 {
151-
background-color: rgba(64, 64, 64, 1);
163+
--tw-bg-opacity: 1;
164+
background-color: rgb(64 64 64 / var(--tw-bg-opacity));
152165
}
153166
.text-primary {
154-
color: rgba(222, 32, 106, 1);
167+
--tw-text-opacity: 1;
168+
color: rgb(222 32 106 / var(--tw-text-opacity));
155169
}
156170
.text-yellow-400 {
157-
color: rgba(251, 191, 36, 1);
171+
--tw-text-opacity: 1;
172+
color: rgb(251 191 36 / var(--tw-text-opacity));
158173
}
159174
.text-green-500 {
160-
color: rgba(16, 185, 129, 1);
175+
--tw-text-opacity: 1;
176+
color: rgb(16 185 129 / var(--tw-text-opacity));
161177
}
162178
.text-white {
163179
--tw-text-opacity: 1;
164180
color: rgb(255 255 255 / var(--tw-text-opacity));
165181
}
166182
.text-slate-100 {
167-
color: rgba(241, 245, 249, 1);
183+
--tw-text-opacity: 1;
184+
color: rgb(241 245 249 / var(--tw-text-opacity));
168185
}
169186
.text-slate-700 {
170-
color: rgba(51, 65, 85, 1);
187+
--tw-text-opacity: 1;
188+
color: rgb(51 65 85 / var(--tw-text-opacity));
171189
}
172190
.text-neutral-100 {
173-
color: rgba(245, 245, 245, 1);
191+
--tw-text-opacity: 1;
192+
color: rgb(245 245 245 / var(--tw-text-opacity));
174193
}
175194
.text-neutral-300 {
176-
color: rgba(212, 212, 212, 1);
195+
--tw-text-opacity: 1;
196+
color: rgb(212 212 212 / var(--tw-text-opacity));
177197
}
178198
.text-neutral-400 {
179-
color: rgba(163, 163, 163, 1);
199+
--tw-text-opacity: 1;
200+
color: rgb(163 163 163 / var(--tw-text-opacity));
180201
}
181202
.text-neutral-500 {
182-
color: rgba(115, 115, 115, 1);
203+
--tw-text-opacity: 1;
204+
color: rgb(115 115 115 / var(--tw-text-opacity));
183205
}
184206
.text-neutral-700 {
185-
color: rgba(64, 64, 64, 1);
207+
--tw-text-opacity: 1;
208+
color: rgb(64 64 64 / var(--tw-text-opacity));
186209
}
187210
.shadow-sm {
188211
--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
@@ -220,47 +243,47 @@ test('specificity', async () => {
220243
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
221244
}
222245
.shadow-primary {
223-
--tw-shadow-color: rgba(222, 32, 106, 1);
246+
--tw-shadow-color: rgb(222, 32, 106);
224247
--tw-shadow: var(--tw-shadow-colored);
225248
}
226249
.shadow-yellow-400 {
227-
--tw-shadow-color: rgba(251, 191, 36, 1);
250+
--tw-shadow-color: rgb(251, 191, 36);
228251
--tw-shadow: var(--tw-shadow-colored);
229252
}
230253
.shadow-green-500 {
231-
--tw-shadow-color: rgba(16, 185, 129, 1);
254+
--tw-shadow-color: rgb(16, 185, 129);
232255
--tw-shadow: var(--tw-shadow-colored);
233256
}
234257
.shadow-white {
235258
--tw-shadow-color: #ffffff;
236259
--tw-shadow: var(--tw-shadow-colored);
237260
}
238261
.shadow-slate-100 {
239-
--tw-shadow-color: rgba(241, 245, 249, 1);
262+
--tw-shadow-color: rgb(241, 245, 249);
240263
--tw-shadow: var(--tw-shadow-colored);
241264
}
242265
.shadow-slate-700 {
243-
--tw-shadow-color: rgba(51, 65, 85, 1);
266+
--tw-shadow-color: rgb(51, 65, 85);
244267
--tw-shadow: var(--tw-shadow-colored);
245268
}
246269
.shadow-neutral-100 {
247-
--tw-shadow-color: rgba(245, 245, 245, 1);
270+
--tw-shadow-color: rgb(245, 245, 245);
248271
--tw-shadow: var(--tw-shadow-colored);
249272
}
250273
.shadow-neutral-300 {
251-
--tw-shadow-color: rgba(212, 212, 212, 1);
274+
--tw-shadow-color: rgb(212, 212, 212);
252275
--tw-shadow: var(--tw-shadow-colored);
253276
}
254277
.shadow-neutral-400 {
255-
--tw-shadow-color: rgba(163, 163, 163, 1);
278+
--tw-shadow-color: rgb(163, 163, 163);
256279
--tw-shadow: var(--tw-shadow-colored);
257280
}
258281
.shadow-neutral-500 {
259-
--tw-shadow-color: rgba(115, 115, 115, 1);
282+
--tw-shadow-color: rgb(115, 115, 115);
260283
--tw-shadow: var(--tw-shadow-colored);
261284
}
262285
.shadow-neutral-700 {
263-
--tw-shadow-color: rgba(64, 64, 64, 1);
286+
--tw-shadow-color: rgb(64, 64, 64);
264287
--tw-shadow: var(--tw-shadow-colored);
265288
}
266289
.h1 {

0 commit comments

Comments
 (0)