Skip to content

Commit 8c1df0f

Browse files
committed
add failing svelte syntax test case
1 parent 9b1e843 commit 8c1df0f

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

jit/tests/svelte-syntax.test.css

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
--tw-ring-offset-shadow: 0 0 #0000;
88
--tw-ring-shadow: 0 0 #0000;
99
}
10+
.bg-red-500 {
11+
--tw-bg-opacity: 1;
12+
background-color: rgba(239, 68, 68, var(--tw-bg-opacity));
13+
}
1014
@media (min-width: 1024px) {
1115
.lg\:hover\:bg-blue-500:hover {
1216
--tw-bg-opacity: 1;

jit/tests/svelte-syntax.test.svelte

+6
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@
33
</script>
44

55
<button class:lg:hover:bg-blue-500={current === 'foo'}>Click me</button>
6+
7+
<button
8+
class:bg-red-500={current === 'foo'}
9+
>
10+
Click me
11+
</button>

0 commit comments

Comments
 (0)