File tree Expand file tree Collapse file tree 5 files changed +7
-2
lines changed
preset-mini/src/_variants
preset-wind4/src/variants Expand file tree Collapse file tree 5 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -43,4 +43,5 @@ export const variantTaggedDataAttributes: Variant[] = [
43
43
taggedData ( 'peer' ) ,
44
44
taggedData ( 'parent' ) ,
45
45
taggedData ( 'previous' ) ,
46
+ taggedData ( 'has' ) ,
46
47
]
Original file line number Diff line number Diff line change @@ -43,4 +43,5 @@ export const variantTaggedDataAttributes: Variant<Theme>[] = [
43
43
taggedData ( 'peer' ) ,
44
44
taggedData ( 'parent' ) ,
45
45
taggedData ( 'previous' ) ,
46
+ taggedData ( 'has' ) ,
46
47
]
Original file line number Diff line number Diff line change @@ -484,7 +484,8 @@ unocss .scope-\[unocss\]\:block{display:block;}
484
484
.b-2 ,
485
485
.border-size-2 {border-width : 2px ;}
486
486
.border {border-width : 1px ;}
487
- .border-4 {border-width : 4px ;}
487
+ .border-4 ,
488
+ .has-data-\[state\=closed\]\:border-4 : has ([data-state = closed ]){border-width : 4px ;}
488
489
.border-x {border-left-width : 1px ;border-right-width : 1px ;}
489
490
.border-b {border-bottom-width : 1px ;}
490
491
.border-e-4 {border-inline-end-width : 4px ;}
Original file line number Diff line number Diff line change 547
547
.b-2 ,
548
548
.border-size-2 {border-width : 2px ;}
549
549
.border {border-width : 1px ;}
550
- .border-4 {border-width : 4px ;}
550
+ .border-4 ,
551
+ .has-data-\[state\=closed\]\:border-4 : has ([data-state = closed ]){border-width : 4px ;}
551
552
.border-x {border-inline-width : 1px ;}
552
553
.border-b {border-bottom-width : 1px ;}
553
554
.border-e-4 {border-inline-end-width : 4px ;}
Original file line number Diff line number Diff line change
6242
@@ -1270,6 +1270,7 @@ export const presetMiniTargets: string[] = [
1270
1270
'group-data-[state=open]:font-bold' ,
1271
1271
'group-data-[state=open]/named:font-medium' ,
1272
1272
'peer-data-[state=closed]:border-3' ,
1273
+ 'has-data-[state=closed]:border-4' ,
1273
1274
1274
1275
// variants - container parent
1275
1276
'@container' ,
You can’t perform that action at this time.
0 commit comments