File tree Expand file tree Collapse file tree 2 files changed +12
-18
lines changed Expand file tree Collapse file tree 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+
17@utility form-row {
28 @apply grid grid-cols-1 gap-5 sm:gap-7 sm:grid-cols-4;
39}
2329}
2430
2531@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;
2733}
2834
2935@utility input {
3036 @apply field block text-base w-full;
3137}
3238
3339@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;
3641}
3742
3843@utility select {
39- @apply field block text-base w-full;
40- @apply cursor-pointer;
44+ @apply field block text-base w-full cursor-pointer;
4145}
4246
4347@utility option {
44- @apply field;
45- @apply cursor-pointer size-5 text-brand-800;
48+ @apply field cursor-pointer size-5 text-brand-800;
4649}
4750
4851@utility checkbox {
4952 @apply option;
5053}
5154
5255@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;
6357}
Original file line number Diff line number Diff line change 2121 :method =" link?.method"
2222 :as =" link?.method == 'post' ? 'button' : 'a'"
2323 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"
2525 :class =" {
2626 'bg-brand-100 text-brand-950': link.components.includes($page.component),
2727 '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