|
2 | 2 | <section |
3 | 3 | class=" |
4 | 4 | mx-auto with-max-w flex flex-col gap-7 p-6 rounded-4 shadow-4 |
5 | | - bg-primary-10 text-primary-100 dork:bg-primary-gray-80 |
| 5 | + bg-primary-10 dork:bg-primary-gray-110 |
6 | 6 | " |
7 | 7 | > |
8 | 8 | <section> |
9 | | - <span class="preexisting-class" ref="example">👉 Inspect this <code :class="store.statuses.darkTheme === 'enabled' ? 'bg-primary-gray-70' : 'bg-primary-10'"><span></code> in devtools 👈</span> |
| 9 | + <span class="preexisting-class" ref="example">👉 Inspect this <code><span></code> in devtools 👈</span> |
10 | 10 | </section> |
11 | 11 | <section class="flex flex-col gap-2"> |
12 | | - <label for="bind-example-ariaLabel-input">Edit the <code :class="store.statuses.darkTheme === 'enabled' ? 'bg-primary-gray-70' : 'bg-primary-10'">aria-label</code> dynamically:</label> |
| 12 | + <label for="bind-example-ariaLabel-input">Edit the <code>aria-label</code> dynamically:</label> |
13 | 13 | <input |
14 | 14 | id="bind-example-ariaLabel-input" |
15 | 15 | type="text" |
|
22 | 22 | /> |
23 | 23 | </section> |
24 | 24 | <section class="flex flex-col gap-2"> |
25 | | - <label for="bind-example-class-input">Edit the <code :class="store.statuses.darkTheme === 'enabled' ? 'bg-primary-gray-70' : 'bg-primary-10'">class</code> list dynamically:</label> |
| 25 | + <label for="bind-example-class-input">Edit the <code>class</code> list dynamically:</label> |
26 | 26 | <input |
27 | 27 | id="bind-example-class-input" |
28 | 28 | type="text" |
29 | 29 | v-model="classes" |
30 | | - class="form -shadow-4" |
31 | | - :class="[ |
32 | | - store.statuses.darkTheme === 'enabled' |
33 | | - ? 'bg-primary-gray-90 ring-primary-gray-80 focus:ring-primary-gray-40' |
34 | | - : 'bg-white ring-primary-20 focus:ring-primary-70' |
35 | | - |
36 | | - ]" |
| 30 | + class=" |
| 31 | + form -shadow-4 |
| 32 | + bg-white ring-primary-20 focus:ring-primary-70 |
| 33 | + dork:bg-primary-gray-90 dork:ring-primary-gray-80 dork:focus:ring-primary-gray-40 |
| 34 | + " |
37 | 35 | /> |
38 | 36 | </section> |
39 | 37 | <section class="flex flex-col gap-2"> |
40 | | - <label for="bind-example-backgroundColor-input">Edit the <code :class="store.statuses.darkTheme === 'enabled' ? 'bg-primary-gray-70' : 'bg-primary-10'">backgroundColor</code> dynamically:</label> |
| 38 | + <label for="bind-example-backgroundColor-input">Edit the <code>backgroundColor</code> dynamically:</label> |
41 | 39 | <input |
42 | 40 | id="bind-example-backgroundColor-input" |
43 | 41 | type="text" |
44 | 42 | v-model="backgroundColor" |
45 | | - class="form -shadow-4" |
46 | | - :class="[ |
47 | | - store.statuses.darkTheme === 'enabled' |
48 | | - ? 'bg-primary-gray-90 ring-primary-gray-80 focus:ring-primary-gray-40' |
49 | | - : 'bg-white ring-primary-20 focus:ring-primary-70' |
50 | | - |
51 | | - ]" |
| 43 | + class=" |
| 44 | + form -shadow-4 |
| 45 | + bg-white ring-primary-20 focus:ring-primary-70 |
| 46 | + dork:bg-primary-gray-90 dork:ring-primary-gray-80 dork:focus:ring-primary-gray-40 |
| 47 | + " |
52 | 48 | /> |
53 | 49 | </section> |
54 | 50 | </section> |
|
0 commit comments