@@ -8058,7 +8058,7 @@ test('accent', async () => {
8058
8058
}
8059
8059
8060
8060
.accent-current\\/50, .accent-current\\/\\[0\\.5\\], .accent-current\\/\\[50\\%\\] {
8061
- accent-color: oklab(from currentColor l a b / 50%);
8061
+ accent-color: color-mix(in oklab, currentColor 50%, transparent );
8062
8062
}
8063
8063
8064
8064
.accent-inherit {
@@ -8173,7 +8173,7 @@ test('caret', async () => {
8173
8173
}
8174
8174
8175
8175
.caret-current\\/50, .caret-current\\/\\[0\\.5\\], .caret-current\\/\\[50\\%\\] {
8176
- caret-color: oklab(from currentColor l a b / 50%);
8176
+ caret-color: color-mix(in oklab, currentColor 50%, transparent );
8177
8177
}
8178
8178
8179
8179
.caret-inherit {
@@ -8286,7 +8286,7 @@ test('divide-color', async () => {
8286
8286
}
8287
8287
8288
8288
:where(.divide-current\\/50 > :not(:last-child)), :where(.divide-current\\/\\[0\\.5\\] > :not(:last-child)), :where(.divide-current\\/\\[50\\%\\] > :not(:last-child)) {
8289
- border-color: oklab(from currentColor l a b / 50%);
8289
+ border-color: color-mix(in oklab, currentColor 50%, transparent );
8290
8290
}
8291
8291
8292
8292
:where(.divide-inherit > :not(:last-child)) {
@@ -10248,11 +10248,11 @@ test('bg', async () => {
10248
10248
}
10249
10249
10250
10250
.bg-current\\/50, .bg-current\\/\\[0\\.5\\], .bg-current\\/\\[50\\%\\] {
10251
- background-color: oklab(from currentColor l a b / 50%);
10251
+ background-color: color-mix(in oklab, currentColor 50%, transparent );
10252
10252
}
10253
10253
10254
10254
.bg-current\\/\\[var\\(--bg-opacity\\)\\] {
10255
- background-color: oklab(from currentColor l a b / var(--bg-opacity));
10255
+ background-color: color-mix(in oklab, currentColor var(--bg-opacity), transparent );
10256
10256
}
10257
10257
10258
10258
.bg-inherit {
@@ -10770,11 +10770,11 @@ test('bg', async () => {
10770
10770
) ,
10771
10771
) . toMatchInlineSnapshot ( `
10772
10772
".bg-current\\/custom {
10773
- background-color: oklab(from currentColor l a b / var(--opacity-custom, var(--custom-opacity)));
10773
+ background-color: color-mix(in oklab, currentColor var(--opacity-custom, var(--custom-opacity)), transparent );
10774
10774
}
10775
10775
10776
10776
.bg-current\\/half {
10777
- background-color: oklab(from currentColor l a b / var(--opacity-half, .5));
10777
+ background-color: color-mix(in oklab, currentColor var(--opacity-half, .5), transparent );
10778
10778
}
10779
10779
10780
10780
.\\[color\\:red\\]\\/half {
@@ -10868,7 +10868,7 @@ test('from', async () => {
10868
10868
}
10869
10869
10870
10870
.from-current\\/50, .from-current\\/\\[0\\.5\\], .from-current\\/\\[50\\%\\] {
10871
- --tw-gradient-from: oklab(from currentColor l a b / 50%);
10871
+ --tw-gradient-from: color-mix(in oklab, currentColor 50%, transparent );
10872
10872
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
10873
10873
}
10874
10874
@@ -11094,7 +11094,7 @@ test('via', async () => {
11094
11094
}
11095
11095
11096
11096
.via-current\\/50, .via-current\\/\\[0\\.5\\], .via-current\\/\\[50\\%\\] {
11097
- --tw-gradient-via: oklab(from currentColor l a b / 50%);
11097
+ --tw-gradient-via: color-mix(in oklab, currentColor 50%, transparent );
11098
11098
--tw-gradient-via-stops: var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position);
11099
11099
--tw-gradient-stops: var(--tw-gradient-via-stops);
11100
11100
}
@@ -11316,7 +11316,7 @@ test('to', async () => {
11316
11316
}
11317
11317
11318
11318
.to-current\\/50, .to-current\\/\\[0\\.5\\], .to-current\\/\\[50\\%\\] {
11319
- --tw-gradient-to: oklab(from currentColor l a b / 50%);
11319
+ --tw-gradient-to: color-mix(in oklab, currentColor 50%, transparent );
11320
11320
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
11321
11321
}
11322
11322
@@ -11843,7 +11843,7 @@ test('fill', async () => {
11843
11843
}
11844
11844
11845
11845
.fill-current\\/50, .fill-current\\/\\[0\\.5\\], .fill-current\\/\\[50\\%\\] {
11846
- fill: oklab(from currentColor l a b / 50%);
11846
+ fill: color-mix(in oklab, currentColor 50%, transparent );
11847
11847
}
11848
11848
11849
11849
.fill-inherit {
@@ -11980,7 +11980,7 @@ test('stroke', async () => {
11980
11980
}
11981
11981
11982
11982
.stroke-current\\/50, .stroke-current\\/\\[0\\.5\\], .stroke-current\\/\\[50\\%\\] {
11983
- stroke: oklab(from currentColor l a b / 50%);
11983
+ stroke: color-mix(in oklab, currentColor 50%, transparent );
11984
11984
}
11985
11985
11986
11986
.stroke-inherit {
@@ -12956,7 +12956,7 @@ test('placeholder', async () => {
12956
12956
}
12957
12957
12958
12958
.placeholder-current\\/50::placeholder, .placeholder-current\\/\\[0\\.5\\]::placeholder, .placeholder-current\\/\\[50\\%\\]::placeholder {
12959
- color: oklab(from currentColor l a b / 50%);
12959
+ color: color-mix(in oklab, currentColor 50%, transparent );
12960
12960
}
12961
12961
12962
12962
.placeholder-inherit::placeholder {
@@ -13105,9 +13105,9 @@ test('decoration', async () => {
13105
13105
}
13106
13106
13107
13107
.decoration-current\\/50, .decoration-current\\/\\[0\\.5\\], .decoration-current\\/\\[50\\%\\] {
13108
- -webkit-text-decoration-color: oklab(from currentColor l a b / 50%);
13109
- -webkit-text-decoration-color: oklab(from currentColor l a b / 50%);
13110
- text-decoration-color: oklab(from currentColor l a b / 50%);
13108
+ -webkit-text-decoration-color: color-mix(in oklab, currentColor 50%, transparent );
13109
+ -webkit-text-decoration-color: color-mix(in oklab, currentColor 50%, transparent );
13110
+ text-decoration-color: color-mix(in oklab, currentColor 50%, transparent );
13111
13111
}
13112
13112
13113
13113
.decoration-inherit {
@@ -14810,7 +14810,7 @@ test('outline', async () => {
14810
14810
}
14811
14811
14812
14812
.outline-current\\/50, .outline-current\\/\\[0\\.5\\], .outline-current\\/\\[50\\%\\] {
14813
- outline-color: oklab(from currentColor l a b / 50%);
14813
+ outline-color: color-mix(in oklab, currentColor 50%, transparent );
14814
14814
}
14815
14815
14816
14816
.outline-inherit {
@@ -15260,7 +15260,7 @@ test('text', async () => {
15260
15260
}
15261
15261
15262
15262
.text-current\\/50, .text-current\\/\\[0\\.5\\], .text-current\\/\\[50\\%\\] {
15263
- color: oklab(from currentColor l a b / 50%);
15263
+ color: color-mix(in oklab, currentColor 50%, transparent );
15264
15264
}
15265
15265
15266
15266
.text-inherit {
@@ -15429,7 +15429,7 @@ test('shadow', async () => {
15429
15429
}
15430
15430
15431
15431
.shadow-current\\/50, .shadow-current\\/\\[0\\.5\\], .shadow-current\\/\\[50\\%\\] {
15432
- --tw-shadow-color: oklab(from currentColor l a b / 50%);
15432
+ --tw-shadow-color: color-mix(in oklab, currentColor 50%, transparent );
15433
15433
}
15434
15434
15435
15435
.shadow-inherit {
@@ -15651,7 +15651,7 @@ test('inset-shadow', async () => {
15651
15651
}
15652
15652
15653
15653
.inset-shadow-current\\/50, .inset-shadow-current\\/\\[0\\.5\\], .inset-shadow-current\\/\\[50\\%\\] {
15654
- --tw-inset-shadow-color: oklab(from currentColor l a b / 50%);
15654
+ --tw-inset-shadow-color: color-mix(in oklab, currentColor 50%, transparent );
15655
15655
}
15656
15656
15657
15657
.inset-shadow-inherit {
@@ -15889,7 +15889,7 @@ test('ring', async () => {
15889
15889
}
15890
15890
15891
15891
.ring-current\\/50, .ring-current\\/\\[0\\.5\\], .ring-current\\/\\[50\\%\\] {
15892
- --tw-ring-color: oklab(from currentColor l a b / 50%);
15892
+ --tw-ring-color: color-mix(in oklab, currentColor 50%, transparent );
15893
15893
}
15894
15894
15895
15895
.ring-inherit {
@@ -16228,7 +16228,7 @@ test('inset-ring', async () => {
16228
16228
}
16229
16229
16230
16230
.inset-ring-current\\/50, .inset-ring-current\\/\\[0\\.5\\], .inset-ring-current\\/\\[50\\%\\] {
16231
- --tw-inset-ring-color: oklab(from currentColor l a b / 50%);
16231
+ --tw-inset-ring-color: color-mix(in oklab, currentColor 50%, transparent );
16232
16232
}
16233
16233
16234
16234
.inset-ring-inherit {
@@ -16472,7 +16472,7 @@ test('ring-offset', async () => {
16472
16472
}
16473
16473
16474
16474
.ring-offset-current\\/50, .ring-offset-current\\/\\[0\\.5\\], .ring-offset-current\\/\\[50\\%\\] {
16475
- --tw-ring-offset-color: oklab(from currentColor l a b / 50%);
16475
+ --tw-ring-offset-color: color-mix(in oklab, currentColor 50%, transparent );
16476
16476
}
16477
16477
16478
16478
.ring-offset-inherit {
0 commit comments