@@ -7984,7 +7984,7 @@ test('accent', async () => {
7984
7984
}
7985
7985
7986
7986
.accent-current\\/50, .accent-current\\/\\[0\\.5\\], .accent-current\\/\\[50\\%\\] {
7987
- accent-color: color-mix(in oklab, currentColor 50%, transparent );
7987
+ accent-color: oklab(from currentColor l a b / 50%);
7988
7988
}
7989
7989
7990
7990
.accent-inherit {
@@ -8099,7 +8099,7 @@ test('caret', async () => {
8099
8099
}
8100
8100
8101
8101
.caret-current\\/50, .caret-current\\/\\[0\\.5\\], .caret-current\\/\\[50\\%\\] {
8102
- caret-color: color-mix(in oklab, currentColor 50%, transparent );
8102
+ caret-color: oklab(from currentColor l a b / 50%);
8103
8103
}
8104
8104
8105
8105
.caret-inherit {
@@ -8212,7 +8212,7 @@ test('divide-color', async () => {
8212
8212
}
8213
8213
8214
8214
:where(.divide-current\\/50 > :not(:last-child)), :where(.divide-current\\/\\[0\\.5\\] > :not(:last-child)), :where(.divide-current\\/\\[50\\%\\] > :not(:last-child)) {
8215
- border-color: color-mix(in oklab, currentColor 50%, transparent );
8215
+ border-color: oklab(from currentColor l a b / 50%);
8216
8216
}
8217
8217
8218
8218
:where(.divide-inherit > :not(:last-child)) {
@@ -10140,11 +10140,11 @@ test('bg', async () => {
10140
10140
}
10141
10141
10142
10142
.bg-current\\/50, .bg-current\\/\\[0\\.5\\], .bg-current\\/\\[50\\%\\] {
10143
- background-color: color-mix(in oklab, currentColor 50%, transparent );
10143
+ background-color: oklab(from currentColor l a b / 50%);
10144
10144
}
10145
10145
10146
10146
.bg-current\\/\\[var\\(--bg-opacity\\)\\] {
10147
- background-color: color-mix(in oklab, currentColor var(--bg-opacity), transparent );
10147
+ background-color: oklab(from currentColor l a b / var(--bg-opacity));
10148
10148
}
10149
10149
10150
10150
.bg-inherit {
@@ -10662,11 +10662,11 @@ test('bg', async () => {
10662
10662
) ,
10663
10663
) . toMatchInlineSnapshot ( `
10664
10664
".bg-current\\/custom {
10665
- background-color: color-mix(in oklab, currentColor var(--opacity-custom, var(--custom-opacity)), transparent );
10665
+ background-color: oklab(from currentColor l a b / var(--opacity-custom, var(--custom-opacity)));
10666
10666
}
10667
10667
10668
10668
.bg-current\\/half {
10669
- background-color: color-mix(in oklab, currentColor var(--opacity-half, .5), transparent );
10669
+ background-color: oklab(from currentColor l a b / var(--opacity-half, .5));
10670
10670
}
10671
10671
10672
10672
.\\[color\\:red\\]\\/half {
@@ -10760,7 +10760,7 @@ test('from', async () => {
10760
10760
}
10761
10761
10762
10762
.from-current\\/50, .from-current\\/\\[0\\.5\\], .from-current\\/\\[50\\%\\] {
10763
- --tw-gradient-from: color-mix(in oklab, currentColor 50%, transparent );
10763
+ --tw-gradient-from: oklab(from currentColor l a b / 50%);
10764
10764
--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));
10765
10765
}
10766
10766
@@ -10986,7 +10986,7 @@ test('via', async () => {
10986
10986
}
10987
10987
10988
10988
.via-current\\/50, .via-current\\/\\[0\\.5\\], .via-current\\/\\[50\\%\\] {
10989
- --tw-gradient-via: color-mix(in oklab, currentColor 50%, transparent );
10989
+ --tw-gradient-via: oklab(from currentColor l a b / 50%);
10990
10990
--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);
10991
10991
--tw-gradient-stops: var(--tw-gradient-via-stops);
10992
10992
}
@@ -11208,7 +11208,7 @@ test('to', async () => {
11208
11208
}
11209
11209
11210
11210
.to-current\\/50, .to-current\\/\\[0\\.5\\], .to-current\\/\\[50\\%\\] {
11211
- --tw-gradient-to: color-mix(in oklab, currentColor 50%, transparent );
11211
+ --tw-gradient-to: oklab(from currentColor l a b / 50%);
11212
11212
--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));
11213
11213
}
11214
11214
@@ -11735,7 +11735,7 @@ test('fill', async () => {
11735
11735
}
11736
11736
11737
11737
.fill-current\\/50, .fill-current\\/\\[0\\.5\\], .fill-current\\/\\[50\\%\\] {
11738
- fill: color-mix(in oklab, currentColor 50%, transparent );
11738
+ fill: oklab(from currentColor l a b / 50%);
11739
11739
}
11740
11740
11741
11741
.fill-inherit {
@@ -11872,7 +11872,7 @@ test('stroke', async () => {
11872
11872
}
11873
11873
11874
11874
.stroke-current\\/50, .stroke-current\\/\\[0\\.5\\], .stroke-current\\/\\[50\\%\\] {
11875
- stroke: color-mix(in oklab, currentColor 50%, transparent );
11875
+ stroke: oklab(from currentColor l a b / 50%);
11876
11876
}
11877
11877
11878
11878
.stroke-inherit {
@@ -12848,7 +12848,7 @@ test('placeholder', async () => {
12848
12848
}
12849
12849
12850
12850
.placeholder-current\\/50::placeholder, .placeholder-current\\/\\[0\\.5\\]::placeholder, .placeholder-current\\/\\[50\\%\\]::placeholder {
12851
- color: color-mix(in oklab, currentColor 50%, transparent );
12851
+ color: oklab(from currentColor l a b / 50%);
12852
12852
}
12853
12853
12854
12854
.placeholder-inherit::placeholder {
@@ -12997,9 +12997,9 @@ test('decoration', async () => {
12997
12997
}
12998
12998
12999
12999
.decoration-current\\/50, .decoration-current\\/\\[0\\.5\\], .decoration-current\\/\\[50\\%\\] {
13000
- -webkit-text-decoration-color: color-mix(in oklab, currentColor 50%, transparent );
13001
- -webkit-text-decoration-color: color-mix(in oklab, currentColor 50%, transparent );
13002
- text-decoration-color: color-mix(in oklab, currentColor 50%, transparent );
13000
+ -webkit-text-decoration-color: oklab(from currentColor l a b / 50%);
13001
+ -webkit-text-decoration-color: oklab(from currentColor l a b / 50%);
13002
+ text-decoration-color: oklab(from currentColor l a b / 50%);
13003
13003
}
13004
13004
13005
13005
.decoration-inherit {
@@ -14702,7 +14702,7 @@ test('outline', async () => {
14702
14702
}
14703
14703
14704
14704
.outline-current\\/50, .outline-current\\/\\[0\\.5\\], .outline-current\\/\\[50\\%\\] {
14705
- outline-color: color-mix(in oklab, currentColor 50%, transparent );
14705
+ outline-color: oklab(from currentColor l a b / 50%);
14706
14706
}
14707
14707
14708
14708
.outline-inherit {
@@ -15152,7 +15152,7 @@ test('text', async () => {
15152
15152
}
15153
15153
15154
15154
.text-current\\/50, .text-current\\/\\[0\\.5\\], .text-current\\/\\[50\\%\\] {
15155
- color: color-mix(in oklab, currentColor 50%, transparent );
15155
+ color: oklab(from currentColor l a b / 50%);
15156
15156
}
15157
15157
15158
15158
.text-inherit {
@@ -15321,7 +15321,7 @@ test('shadow', async () => {
15321
15321
}
15322
15322
15323
15323
.shadow-current\\/50, .shadow-current\\/\\[0\\.5\\], .shadow-current\\/\\[50\\%\\] {
15324
- --tw-shadow-color: color-mix(in oklab, currentColor 50%, transparent );
15324
+ --tw-shadow-color: oklab(from currentColor l a b / 50%);
15325
15325
}
15326
15326
15327
15327
.shadow-inherit {
@@ -15543,7 +15543,7 @@ test('inset-shadow', async () => {
15543
15543
}
15544
15544
15545
15545
.inset-shadow-current\\/50, .inset-shadow-current\\/\\[0\\.5\\], .inset-shadow-current\\/\\[50\\%\\] {
15546
- --tw-inset-shadow-color: color-mix(in oklab, currentColor 50%, transparent );
15546
+ --tw-inset-shadow-color: oklab(from currentColor l a b / 50%);
15547
15547
}
15548
15548
15549
15549
.inset-shadow-inherit {
@@ -15781,7 +15781,7 @@ test('ring', async () => {
15781
15781
}
15782
15782
15783
15783
.ring-current\\/50, .ring-current\\/\\[0\\.5\\], .ring-current\\/\\[50\\%\\] {
15784
- --tw-ring-color: color-mix(in oklab, currentColor 50%, transparent );
15784
+ --tw-ring-color: oklab(from currentColor l a b / 50%);
15785
15785
}
15786
15786
15787
15787
.ring-inherit {
@@ -16120,7 +16120,7 @@ test('inset-ring', async () => {
16120
16120
}
16121
16121
16122
16122
.inset-ring-current\\/50, .inset-ring-current\\/\\[0\\.5\\], .inset-ring-current\\/\\[50\\%\\] {
16123
- --tw-inset-ring-color: color-mix(in oklab, currentColor 50%, transparent );
16123
+ --tw-inset-ring-color: oklab(from currentColor l a b / 50%);
16124
16124
}
16125
16125
16126
16126
.inset-ring-inherit {
@@ -16364,7 +16364,7 @@ test('ring-offset', async () => {
16364
16364
}
16365
16365
16366
16366
.ring-offset-current\\/50, .ring-offset-current\\/\\[0\\.5\\], .ring-offset-current\\/\\[50\\%\\] {
16367
- --tw-ring-offset-color: color-mix(in oklab, currentColor 50%, transparent );
16367
+ --tw-ring-offset-color: oklab(from currentColor l a b / 50%);
16368
16368
}
16369
16369
16370
16370
.ring-offset-inherit {
0 commit comments