diff options
Diffstat (limited to 'src/components/forms')
-rw-r--r-- | src/components/forms/TextField.tsx | 5 | ||||
-rw-r--r-- | src/components/forms/Toggle.tsx | 6 | ||||
-rw-r--r-- | src/components/forms/ToggleButton.tsx | 6 |
3 files changed, 9 insertions, 8 deletions
diff --git a/src/components/forms/TextField.tsx b/src/components/forms/TextField.tsx index 67515049c..70f900bb9 100644 --- a/src/components/forms/TextField.tsx +++ b/src/components/forms/TextField.tsx @@ -241,7 +241,8 @@ export const Input = createInput(TextInput) export function Label({children}: React.PropsWithChildren<{}>) { const t = useTheme() return ( - <Text style={[a.text_sm, a.font_bold, t.atoms.text_contrast_600, a.mb_sm]}> + <Text + style={[a.text_sm, a.font_bold, t.atoms.text_contrast_medium, a.mb_sm]}> {children} </Text> ) @@ -315,7 +316,7 @@ export function Suffix({ a.z_20, a.pr_sm, a.text_md, - t.atoms.text_contrast_400, + t.atoms.text_contrast_medium, { pointerEvents: 'none', }, diff --git a/src/components/forms/Toggle.tsx b/src/components/forms/Toggle.tsx index d3c034246..9369423f2 100644 --- a/src/components/forms/Toggle.tsx +++ b/src/components/forms/Toggle.tsx @@ -347,7 +347,7 @@ export function Checkbox() { a.align_center, a.border, a.rounded_xs, - t.atoms.border_contrast, + t.atoms.border_contrast_high, { height: 20, width: 20, @@ -393,7 +393,7 @@ export function Switch() { a.border, a.rounded_full, t.atoms.bg, - t.atoms.border_contrast, + t.atoms.border_contrast_high, { height: 20, width: 30, @@ -445,7 +445,7 @@ export function Radio() { a.align_center, a.border, a.rounded_full, - t.atoms.border_contrast, + t.atoms.border_contrast_high, { height: 20, width: 20, diff --git a/src/components/forms/ToggleButton.tsx b/src/components/forms/ToggleButton.tsx index 5cd51d794..90790f9fc 100644 --- a/src/components/forms/ToggleButton.tsx +++ b/src/components/forms/ToggleButton.tsx @@ -25,7 +25,7 @@ export function Group({children, multiple, ...props}: GroupProps) { a.border, a.rounded_sm, a.overflow_hidden, - t.atoms.border, + t.atoms.border_contrast_low, ]}> {children} </View> @@ -103,7 +103,7 @@ function ButtonInner({children}: React.PropsWithChildren<{}>) { }), a.px_sm, t.atoms.bg, - t.atoms.border, + t.atoms.border_contrast_low, baseStyles, activeStyles, (state.hovered || state.focused || state.pressed) && hoverStyles, @@ -113,7 +113,7 @@ function ButtonInner({children}: React.PropsWithChildren<{}>) { style={[ a.text_center, a.font_bold, - t.atoms.text_contrast_500, + t.atoms.text_contrast_medium, textStyles, ]}> {children} |