Skip to content

Commit 052534e

Browse files
committed
remove utility that doesn't generate css
Having `decoration-[var(--abc)]` is ambiguous because there are multiple plugins that have a `decoration` utility name. In order for this to work you have to prefix it with the type: `decoration-[color:var(--abc)]` which is already tested in this file.
1 parent cc541ee commit 052534e

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

tests/arbitrary-values.test.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -822,9 +822,6 @@
822822
.decoration-\[color\:var\(--color\)\] {
823823
text-decoration-color: var(--color);
824824
}
825-
.decoration-\[var\(--color\)\] {
826-
text-decoration-color: var(--color);
827-
}
828825
.decoration-\[length\:10px\] {
829826
text-decoration-thickness: 10px;
830827
}

tests/arbitrary-values.test.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,6 @@
303303
<div class="decoration-[rgb(123,_123,_123)]"></div>
304304
<div class="decoration-[rgb(123_123_123)]"></div>
305305
<div class="decoration-[color:var(--color)]"></div>
306-
<div class="decoration-[var(--color)]"></div>
307306

308307
<div class="decoration-[length:10px]"></div>
309308

0 commit comments

Comments
 (0)