File tree 2 files changed +12
-18
lines changed
2 files changed +12
-18
lines changed Original file line number Diff line number Diff line change
1
+ @layer base {
2
+ label [for ] {
3
+ @apply cursor-pointer;
4
+ }
5
+ }
6
+
1
7
@utility form-row {
2
8
@apply grid grid-cols-1 gap-5 sm:gap-7 sm:grid-cols-4;
3
9
}
23
29
}
24
30
25
31
@utility field {
26
- @apply block rounded-md border-brand-300 shadow-xs hover:ring-3 hover:ring-brand-200/50 focus:border-brand-300 focus:ring-3 focus:ring-brand-200/50 focus:ring-offset-0 transition ease-in-out duration-200;
32
+ @apply block rounded-md border-brand-300 shadow-xs outline-hidden hover:ring-3 hover:ring-brand-200/50 focus:border-brand-300 focus:ring-3 focus:ring-brand-200/50 focus:ring-offset-0 transition ease-in-out duration-200;
27
33
}
28
34
29
35
@utility input {
30
36
@apply field block text-base w-full;
31
37
}
32
38
33
39
@utility textarea {
34
- @apply field block text-base w-full;
35
- @apply min-h-32;
40
+ @apply field block text-base w-full min-h-32;
36
41
}
37
42
38
43
@utility select {
39
- @apply field block text-base w-full;
40
- @apply cursor-pointer;
44
+ @apply field block text-base w-full cursor-pointer;
41
45
}
42
46
43
47
@utility option {
44
- @apply field;
45
- @apply cursor-pointer size-5 text-brand-800;
48
+ @apply field cursor-pointer size-5 text-brand-800;
46
49
}
47
50
48
51
@utility checkbox {
49
52
@apply option;
50
53
}
51
54
52
55
@utility radio {
53
- @apply option;
54
- @apply rounded-full;
55
- }
56
-
57
- @layer components {
58
- label {
59
- & [for ] {
60
- @apply cursor-pointer;
61
- }
62
- }
56
+ @apply option rounded-full;
63
57
}
Original file line number Diff line number Diff line change 21
21
:method =" link?.method"
22
22
:as =" link?.method == 'post' ? 'button' : 'a'"
23
23
v-text =" link.label"
24
- class =" rounded-xl px-3 py-2 text-sm font-medium transition-colors ease-in-out duration-200"
24
+ class =" rounded-xl px-3 py-2 text-sm font-medium cursor-pointer transition-colors ease-in-out duration-200"
25
25
:class =" {
26
26
'bg-brand-100 text-brand-950': link.components.includes($page.component),
27
27
'text-brand-600 hover:text-brand-950 focus:text-brand-950': !link.components.includes($page.component),
You can’t perform that action at this time.
0 commit comments