Skip to content

Commit 3e41e9f

Browse files
Replace currentColor with currentcolor (lowercase) (#17510)
Replaces `currentColor` with `currentcolor` (lowercase) to match what's defined in [CSS Color Module Level 4](https://www.w3.org/TR/css-color-4/#currentcolor-color) and [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#currentcolor_keyword) (see: mdn/content#16592). --------- Co-authored-by: Philipp Spiess <[email protected]>
1 parent f8b9aa9 commit 3e41e9f

File tree

18 files changed

+170
-170
lines changed

18 files changed

+170
-170
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3525,7 +3525,7 @@ No release notes
35253525

35263526
- Lists now have no margins by default
35273527
- `.pin` no longer sets width and height to 100%
3528-
- SVG `fill` no longer defaults to currentColor
3528+
- SVG `fill` no longer defaults to currentcolor
35293529

35303530
## [0.2.2] - 2017-11-19
35313531

integrations/cli/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1711,7 +1711,7 @@ test(
17111711
}
17121712
@supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
17131713
::placeholder {
1714-
color: color-mix(in oklab, currentColor 50%, transparent);
1714+
color: color-mix(in oklab, currentcolor 50%, transparent);
17151715
}
17161716
}
17171717
textarea {

integrations/upgrade/index.test.ts

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ test(
120120
@import 'tailwindcss';
121121
122122
/*
123-
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
123+
The default border color has changed to \`currentcolor\` in Tailwind CSS v4,
124124
so we've added these compatibility styles to make sure everything still
125125
looks the same as it did with Tailwind CSS v3.
126126
@@ -133,7 +133,7 @@ test(
133133
::before,
134134
::backdrop,
135135
::file-selector-button {
136-
border-color: var(--color-gray-200, currentColor);
136+
border-color: var(--color-gray-200, currentcolor);
137137
}
138138
}
139139
@@ -218,7 +218,7 @@ test(
218218
@import 'tailwindcss' prefix(tw);
219219
220220
/*
221-
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
221+
The default border color has changed to \`currentcolor\` in Tailwind CSS v4,
222222
so we've added these compatibility styles to make sure everything still
223223
looks the same as it did with Tailwind CSS v3.
224224
@@ -231,7 +231,7 @@ test(
231231
::before,
232232
::backdrop,
233233
::file-selector-button {
234-
border-color: var(--color-gray-200, currentColor);
234+
border-color: var(--color-gray-200, currentcolor);
235235
}
236236
}
237237
@@ -282,7 +282,7 @@ test(
282282
@import 'tailwindcss';
283283
284284
/*
285-
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
285+
The default border color has changed to \`currentcolor\` in Tailwind CSS v4,
286286
so we've added these compatibility styles to make sure everything still
287287
looks the same as it did with Tailwind CSS v3.
288288
@@ -295,7 +295,7 @@ test(
295295
::before,
296296
::backdrop,
297297
::file-selector-button {
298-
border-color: var(--color-gray-200, currentColor);
298+
border-color: var(--color-gray-200, currentcolor);
299299
}
300300
}
301301
@@ -354,7 +354,7 @@ test(
354354
@import 'tailwindcss';
355355
356356
/*
357-
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
357+
The default border color has changed to \`currentcolor\` in Tailwind CSS v4,
358358
so we've added these compatibility styles to make sure everything still
359359
looks the same as it did with Tailwind CSS v3.
360360
@@ -367,7 +367,7 @@ test(
367367
::before,
368368
::backdrop,
369369
::file-selector-button {
370-
border-color: var(--color-gray-200, currentColor);
370+
border-color: var(--color-gray-200, currentcolor);
371371
}
372372
}
373373
@@ -431,7 +431,7 @@ test(
431431
@import 'tailwindcss';
432432
433433
/*
434-
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
434+
The default border color has changed to \`currentcolor\` in Tailwind CSS v4,
435435
so we've added these compatibility styles to make sure everything still
436436
looks the same as it did with Tailwind CSS v3.
437437
@@ -444,7 +444,7 @@ test(
444444
::before,
445445
::backdrop,
446446
::file-selector-button {
447-
border-color: var(--color-gray-200, currentColor);
447+
border-color: var(--color-gray-200, currentcolor);
448448
}
449449
}
450450
@@ -540,7 +540,7 @@ test(
540540
@import 'tailwindcss';
541541
542542
/*
543-
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
543+
The default border color has changed to \`currentcolor\` in Tailwind CSS v4,
544544
so we've added these compatibility styles to make sure everything still
545545
looks the same as it did with Tailwind CSS v3.
546546
@@ -553,7 +553,7 @@ test(
553553
::before,
554554
::backdrop,
555555
::file-selector-button {
556-
border-color: var(--color-gray-200, currentColor);
556+
border-color: var(--color-gray-200, currentcolor);
557557
}
558558
}
559559
@@ -1044,7 +1044,7 @@ test(
10441044
@import './utilities.css';
10451045
10461046
/*
1047-
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
1047+
The default border color has changed to \`currentcolor\` in Tailwind CSS v4,
10481048
so we've added these compatibility styles to make sure everything still
10491049
looks the same as it did with Tailwind CSS v3.
10501050
@@ -1057,7 +1057,7 @@ test(
10571057
::before,
10581058
::backdrop,
10591059
::file-selector-button {
1060-
border-color: var(--color-gray-200, currentColor);
1060+
border-color: var(--color-gray-200, currentcolor);
10611061
}
10621062
}
10631063
@@ -1492,7 +1492,7 @@ test(
14921492
@config './tailwind.config.ts';
14931493
14941494
/*
1495-
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
1495+
The default border color has changed to \`currentcolor\` in Tailwind CSS v4,
14961496
so we've added these compatibility styles to make sure everything still
14971497
looks the same as it did with Tailwind CSS v3.
14981498
@@ -1505,7 +1505,7 @@ test(
15051505
::before,
15061506
::backdrop,
15071507
::file-selector-button {
1508-
border-color: var(--color-gray-200, currentColor);
1508+
border-color: var(--color-gray-200, currentcolor);
15091509
}
15101510
}
15111511
@@ -1516,7 +1516,7 @@ test(
15161516
@config "../../tailwind.config.ts";
15171517
15181518
/*
1519-
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
1519+
The default border color has changed to \`currentcolor\` in Tailwind CSS v4,
15201520
so we've added these compatibility styles to make sure everything still
15211521
looks the same as it did with Tailwind CSS v3.
15221522
@@ -1529,7 +1529,7 @@ test(
15291529
::before,
15301530
::backdrop,
15311531
::file-selector-button {
1532-
border-color: var(--color-gray-200, currentColor);
1532+
border-color: var(--color-gray-200, currentcolor);
15331533
}
15341534
}
15351535
@@ -1550,7 +1550,7 @@ test(
15501550
}
15511551
15521552
/*
1553-
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
1553+
The default border color has changed to \`currentcolor\` in Tailwind CSS v4,
15541554
so we've added these compatibility styles to make sure everything still
15551555
looks the same as it did with Tailwind CSS v3.
15561556
@@ -1563,7 +1563,7 @@ test(
15631563
::before,
15641564
::backdrop,
15651565
::file-selector-button {
1566-
border-color: var(--color-gray-200, currentColor);
1566+
border-color: var(--color-gray-200, currentcolor);
15671567
}
15681568
}
15691569
@@ -1579,7 +1579,7 @@ test(
15791579
@import 'tailwindcss/preflight' layer(base);
15801580
15811581
/*
1582-
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
1582+
The default border color has changed to \`currentcolor\` in Tailwind CSS v4,
15831583
so we've added these compatibility styles to make sure everything still
15841584
looks the same as it did with Tailwind CSS v3.
15851585
@@ -1592,7 +1592,7 @@ test(
15921592
::before,
15931593
::backdrop,
15941594
::file-selector-button {
1595-
border-color: var(--color-gray-200, currentColor);
1595+
border-color: var(--color-gray-200, currentcolor);
15961596
}
15971597
}
15981598
@@ -1610,7 +1610,7 @@ test(
16101610
@config '../../tailwind.config.ts';
16111611
16121612
/*
1613-
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
1613+
The default border color has changed to \`currentcolor\` in Tailwind CSS v4,
16141614
so we've added these compatibility styles to make sure everything still
16151615
looks the same as it did with Tailwind CSS v3.
16161616
@@ -1623,7 +1623,7 @@ test(
16231623
::before,
16241624
::backdrop,
16251625
::file-selector-button {
1626-
border-color: var(--color-gray-200, currentColor);
1626+
border-color: var(--color-gray-200, currentcolor);
16271627
}
16281628
}
16291629
"
@@ -1790,7 +1790,7 @@ test(
17901790
@import 'tailwindcss/preflight' layer(base);
17911791
17921792
/*
1793-
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
1793+
The default border color has changed to \`currentcolor\` in Tailwind CSS v4,
17941794
so we've added these compatibility styles to make sure everything still
17951795
looks the same as it did with Tailwind CSS v3.
17961796
@@ -1803,7 +1803,7 @@ test(
18031803
::before,
18041804
::backdrop,
18051805
::file-selector-button {
1806-
border-color: var(--color-gray-200, currentColor);
1806+
border-color: var(--color-gray-200, currentcolor);
18071807
}
18081808
}
18091809
@@ -1926,7 +1926,7 @@ test(
19261926
@import 'tailwindcss/preflight' layer(base);
19271927
19281928
/*
1929-
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
1929+
The default border color has changed to \`currentcolor\` in Tailwind CSS v4,
19301930
so we've added these compatibility styles to make sure everything still
19311931
looks the same as it did with Tailwind CSS v3.
19321932
@@ -1939,7 +1939,7 @@ test(
19391939
::before,
19401940
::backdrop,
19411941
::file-selector-button {
1942-
border-color: var(--color-gray-200, currentColor);
1942+
border-color: var(--color-gray-200, currentcolor);
19431943
}
19441944
}
19451945
@@ -2043,7 +2043,7 @@ test(
20432043
@import 'tailwindcss/preflight' layer(base);
20442044
20452045
/*
2046-
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
2046+
The default border color has changed to \`currentcolor\` in Tailwind CSS v4,
20472047
so we've added these compatibility styles to make sure everything still
20482048
looks the same as it did with Tailwind CSS v3.
20492049
@@ -2056,7 +2056,7 @@ test(
20562056
::before,
20572057
::backdrop,
20582058
::file-selector-button {
2059-
border-color: var(--color-gray-200, currentColor);
2059+
border-color: var(--color-gray-200, currentcolor);
20602060
}
20612061
}
20622062
@@ -2118,7 +2118,7 @@ test(
21182118
@import './styles/components.css' layer(components);
21192119
21202120
/*
2121-
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
2121+
The default border color has changed to \`currentcolor\` in Tailwind CSS v4,
21222122
so we've added these compatibility styles to make sure everything still
21232123
looks the same as it did with Tailwind CSS v3.
21242124
@@ -2131,7 +2131,7 @@ test(
21312131
::before,
21322132
::backdrop,
21332133
::file-selector-button {
2134-
border-color: var(--color-gray-200, currentColor);
2134+
border-color: var(--color-gray-200, currentcolor);
21352135
}
21362136
}
21372137
@@ -2349,7 +2349,7 @@ test(
23492349
}
23502350
23512351
/*
2352-
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
2352+
The default border color has changed to \`currentcolor\` in Tailwind CSS v4,
23532353
so we've added these compatibility styles to make sure everything still
23542354
looks the same as it did with Tailwind CSS v3.
23552355
@@ -2362,7 +2362,7 @@ test(
23622362
::before,
23632363
::backdrop,
23642364
::file-selector-button {
2365-
border-color: var(--color-gray-200, currentColor);
2365+
border-color: var(--color-gray-200, currentcolor);
23662366
}
23672367
}
23682368
@@ -2434,7 +2434,7 @@ test(
24342434
@import 'tailwindcss';
24352435
24362436
/*
2437-
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
2437+
The default border color has changed to \`currentcolor\` in Tailwind CSS v4,
24382438
so we've added these compatibility styles to make sure everything still
24392439
looks the same as it did with Tailwind CSS v3.
24402440
@@ -2447,7 +2447,7 @@ test(
24472447
::before,
24482448
::backdrop,
24492449
::file-selector-button {
2450-
border-color: var(--color-gray-200, currentColor);
2450+
border-color: var(--color-gray-200, currentcolor);
24512451
}
24522452
}
24532453
@@ -2547,7 +2547,7 @@ test(
25472547
@import 'tailwindcss/preflight' layer(base);
25482548
25492549
/*
2550-
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
2550+
The default border color has changed to \`currentcolor\` in Tailwind CSS v4,
25512551
so we've added these compatibility styles to make sure everything still
25522552
looks the same as it did with Tailwind CSS v3.
25532553
@@ -2560,7 +2560,7 @@ test(
25602560
::before,
25612561
::backdrop,
25622562
::file-selector-button {
2563-
border-color: var(--color-gray-200, currentColor);
2563+
border-color: var(--color-gray-200, currentcolor);
25642564
}
25652565
}
25662566
@@ -2725,7 +2725,7 @@ test(
27252725
}
27262726
27272727
/*
2728-
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
2728+
The default border color has changed to \`currentcolor\` in Tailwind CSS v4,
27292729
so we've added these compatibility styles to make sure everything still
27302730
looks the same as it did with Tailwind CSS v3.
27312731
@@ -2738,7 +2738,7 @@ test(
27382738
::before,
27392739
::backdrop,
27402740
::file-selector-button {
2741-
border-color: var(--color-gray-200, currentColor);
2741+
border-color: var(--color-gray-200, currentcolor);
27422742
}
27432743
}
27442744
"
@@ -2789,7 +2789,7 @@ test(
27892789
@import 'tailwindcss';
27902790
27912791
/*
2792-
The default border color has changed to \`currentColor\` in Tailwind CSS v4,
2792+
The default border color has changed to \`currentcolor\` in Tailwind CSS v4,
27932793
so we've added these compatibility styles to make sure everything still
27942794
looks the same as it did with Tailwind CSS v3.
27952795
@@ -2802,7 +2802,7 @@ test(
28022802
::before,
28032803
::backdrop,
28042804
::file-selector-button {
2805-
border-color: var(--color-gray-200, currentColor);
2805+
border-color: var(--color-gray-200, currentcolor);
28062806
}
28072807
}
28082808
"

0 commit comments

Comments
 (0)