dioxus_tw_components/components/organisms/form/select/
style.rs1use super::props::*;
2use crate::attributes::*;
3
4impl Class for SelectGroupProps {
5 fn base(&self) -> &'static str {
6 "flex w-full px-2 py-1.5 h-9 bg-background border border-input rounded-global-radius text-foreground text-sm cursor-pointer"
7 }
8}
9
10impl Class for SelectPlaceholderProps {
11 fn base(&self) -> &'static str {
12 "text-foreground hidden font-bold"
13 }
14}
15
16impl Class for SelectLabelProps {
17 fn base(&self) -> &'static str {
18 "text-foreground text-sm font-semibold"
19 }
20}
21
22impl Class for SelectItemProps {
23 fn base(&self) -> &'static str {
24 "text-foreground text-sm"
25 }
26}