Skip to content

Commit 3934264

Browse files
committed
Update forms.css
1 parent 554a8db commit 3934264

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

resources/css/forms.css

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,33 +22,35 @@
2222
@apply flex items-center gap-x-2;
2323
}
2424

25-
@utility input {
25+
@utility field {
2626
@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;
27-
@apply block text-base w-full;
27+
}
28+
29+
@utility input {
30+
@apply field block text-base w-full;
2831
}
2932

3033
@utility textarea {
31-
@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 text-base w-full;
34+
@apply field block text-base w-full;
3335
@apply min-h-32;
3436
}
3537

3638
@utility select {
37-
@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;
38-
@apply block text-base w-full;
39+
@apply field block text-base w-full;
3940
@apply cursor-pointer;
4041
}
4142

43+
@utility option {
44+
@apply field;
45+
@apply cursor-pointer size-5 text-brand-800;
46+
}
47+
4248
@utility checkbox {
43-
@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;
44-
@apply cursor-pointer;
45-
@apply size-5 text-brand-800;
49+
@apply option;
4650
}
4751

4852
@utility radio {
49-
@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;
50-
@apply cursor-pointer;
51-
@apply size-5 text-brand-800;
53+
@apply option;
5254
@apply rounded-full;
5355
}
5456

0 commit comments

Comments
 (0)