@@ -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)) {
@@ -10144,11 +10144,11 @@ test('bg', async () => {
10144
10144
}
10145
10145
10146
10146
.bg-current\\/50, .bg-current\\/\\[0\\.5\\], .bg-current\\/\\[50\\%\\] {
10147
- background-color: color-mix(in oklab, currentColor 50%, transparent );
10147
+ background-color: oklab(from currentColor l a b / 50%);
10148
10148
}
10149
10149
10150
10150
.bg-current\\/\\[var\\(--bg-opacity\\)\\] {
10151
- background-color: color-mix(in oklab, currentColor var(--bg-opacity), transparent );
10151
+ background-color: oklab(from currentColor l a b / var(--bg-opacity));
10152
10152
}
10153
10153
10154
10154
.bg-inherit {
@@ -10666,11 +10666,11 @@ test('bg', async () => {
10666
10666
) ,
10667
10667
) . toMatchInlineSnapshot ( `
10668
10668
".bg-current\\/custom {
10669
- background-color: color-mix(in oklab, currentColor var(--opacity-custom, var(--custom-opacity)), transparent );
10669
+ background-color: oklab(from currentColor l a b / var(--opacity-custom, var(--custom-opacity)));
10670
10670
}
10671
10671
10672
10672
.bg-current\\/half {
10673
- background-color: color-mix(in oklab, currentColor var(--opacity-half, .5), transparent );
10673
+ background-color: oklab(from currentColor l a b / var(--opacity-half, .5));
10674
10674
}
10675
10675
10676
10676
.\\[color\\:red\\]\\/half {
@@ -10764,7 +10764,7 @@ test('from', async () => {
10764
10764
}
10765
10765
10766
10766
.from-current\\/50, .from-current\\/\\[0\\.5\\], .from-current\\/\\[50\\%\\] {
10767
- --tw-gradient-from: color-mix(in oklab, currentColor 50%, transparent );
10767
+ --tw-gradient-from: oklab(from currentColor l a b / 50%);
10768
10768
--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));
10769
10769
}
10770
10770
@@ -10990,7 +10990,7 @@ test('via', async () => {
10990
10990
}
10991
10991
10992
10992
.via-current\\/50, .via-current\\/\\[0\\.5\\], .via-current\\/\\[50\\%\\] {
10993
- --tw-gradient-via: color-mix(in oklab, currentColor 50%, transparent );
10993
+ --tw-gradient-via: oklab(from currentColor l a b / 50%);
10994
10994
--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);
10995
10995
--tw-gradient-stops: var(--tw-gradient-via-stops);
10996
10996
}
@@ -11212,7 +11212,7 @@ test('to', async () => {
11212
11212
}
11213
11213
11214
11214
.to-current\\/50, .to-current\\/\\[0\\.5\\], .to-current\\/\\[50\\%\\] {
11215
- --tw-gradient-to: color-mix(in oklab, currentColor 50%, transparent );
11215
+ --tw-gradient-to: oklab(from currentColor l a b / 50%);
11216
11216
--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));
11217
11217
}
11218
11218
@@ -11739,7 +11739,7 @@ test('fill', async () => {
11739
11739
}
11740
11740
11741
11741
.fill-current\\/50, .fill-current\\/\\[0\\.5\\], .fill-current\\/\\[50\\%\\] {
11742
- fill: color-mix(in oklab, currentColor 50%, transparent );
11742
+ fill: oklab(from currentColor l a b / 50%);
11743
11743
}
11744
11744
11745
11745
.fill-inherit {
@@ -11876,7 +11876,7 @@ test('stroke', async () => {
11876
11876
}
11877
11877
11878
11878
.stroke-current\\/50, .stroke-current\\/\\[0\\.5\\], .stroke-current\\/\\[50\\%\\] {
11879
- stroke: color-mix(in oklab, currentColor 50%, transparent );
11879
+ stroke: oklab(from currentColor l a b / 50%);
11880
11880
}
11881
11881
11882
11882
.stroke-inherit {
@@ -12852,7 +12852,7 @@ test('placeholder', async () => {
12852
12852
}
12853
12853
12854
12854
.placeholder-current\\/50::placeholder, .placeholder-current\\/\\[0\\.5\\]::placeholder, .placeholder-current\\/\\[50\\%\\]::placeholder {
12855
- color: color-mix(in oklab, currentColor 50%, transparent );
12855
+ color: oklab(from currentColor l a b / 50%);
12856
12856
}
12857
12857
12858
12858
.placeholder-inherit::placeholder {
@@ -13001,9 +13001,9 @@ test('decoration', async () => {
13001
13001
}
13002
13002
13003
13003
.decoration-current\\/50, .decoration-current\\/\\[0\\.5\\], .decoration-current\\/\\[50\\%\\] {
13004
- -webkit-text-decoration-color: color-mix(in oklab, currentColor 50%, transparent );
13005
- -webkit-text-decoration-color: color-mix(in oklab, currentColor 50%, transparent );
13006
- text-decoration-color: color-mix(in oklab, currentColor 50%, transparent );
13004
+ -webkit-text-decoration-color: oklab(from currentColor l a b / 50%);
13005
+ -webkit-text-decoration-color: oklab(from currentColor l a b / 50%);
13006
+ text-decoration-color: oklab(from currentColor l a b / 50%);
13007
13007
}
13008
13008
13009
13009
.decoration-inherit {
@@ -14706,7 +14706,7 @@ test('outline', async () => {
14706
14706
}
14707
14707
14708
14708
.outline-current\\/50, .outline-current\\/\\[0\\.5\\], .outline-current\\/\\[50\\%\\] {
14709
- outline-color: color-mix(in oklab, currentColor 50%, transparent );
14709
+ outline-color: oklab(from currentColor l a b / 50%);
14710
14710
}
14711
14711
14712
14712
.outline-inherit {
@@ -15156,7 +15156,7 @@ test('text', async () => {
15156
15156
}
15157
15157
15158
15158
.text-current\\/50, .text-current\\/\\[0\\.5\\], .text-current\\/\\[50\\%\\] {
15159
- color: color-mix(in oklab, currentColor 50%, transparent );
15159
+ color: oklab(from currentColor l a b / 50%);
15160
15160
}
15161
15161
15162
15162
.text-inherit {
@@ -15325,7 +15325,7 @@ test('shadow', async () => {
15325
15325
}
15326
15326
15327
15327
.shadow-current\\/50, .shadow-current\\/\\[0\\.5\\], .shadow-current\\/\\[50\\%\\] {
15328
- --tw-shadow-color: color-mix(in oklab, currentColor 50%, transparent );
15328
+ --tw-shadow-color: oklab(from currentColor l a b / 50%);
15329
15329
}
15330
15330
15331
15331
.shadow-inherit {
@@ -15547,7 +15547,7 @@ test('inset-shadow', async () => {
15547
15547
}
15548
15548
15549
15549
.inset-shadow-current\\/50, .inset-shadow-current\\/\\[0\\.5\\], .inset-shadow-current\\/\\[50\\%\\] {
15550
- --tw-inset-shadow-color: color-mix(in oklab, currentColor 50%, transparent );
15550
+ --tw-inset-shadow-color: oklab(from currentColor l a b / 50%);
15551
15551
}
15552
15552
15553
15553
.inset-shadow-inherit {
@@ -15785,7 +15785,7 @@ test('ring', async () => {
15785
15785
}
15786
15786
15787
15787
.ring-current\\/50, .ring-current\\/\\[0\\.5\\], .ring-current\\/\\[50\\%\\] {
15788
- --tw-ring-color: color-mix(in oklab, currentColor 50%, transparent );
15788
+ --tw-ring-color: oklab(from currentColor l a b / 50%);
15789
15789
}
15790
15790
15791
15791
.ring-inherit {
@@ -16124,7 +16124,7 @@ test('inset-ring', async () => {
16124
16124
}
16125
16125
16126
16126
.inset-ring-current\\/50, .inset-ring-current\\/\\[0\\.5\\], .inset-ring-current\\/\\[50\\%\\] {
16127
- --tw-inset-ring-color: color-mix(in oklab, currentColor 50%, transparent );
16127
+ --tw-inset-ring-color: oklab(from currentColor l a b / 50%);
16128
16128
}
16129
16129
16130
16130
.inset-ring-inherit {
@@ -16368,7 +16368,7 @@ test('ring-offset', async () => {
16368
16368
}
16369
16369
16370
16370
.ring-offset-current\\/50, .ring-offset-current\\/\\[0\\.5\\], .ring-offset-current\\/\\[50\\%\\] {
16371
- --tw-ring-offset-color: color-mix(in oklab, currentColor 50%, transparent );
16371
+ --tw-ring-offset-color: oklab(from currentColor l a b / 50%);
16372
16372
}
16373
16373
16374
16374
.ring-offset-inherit {
0 commit comments