frontend/components: use theme color for buttons

Pedro Lucas Porcellis porcellis@eletrotupi.com 1 month ago a6c29bd016885a779e10d45eaf1d1cd6ea95d75c
Parents: f26c847
1 file(s) changed
  • frontend/components/ui/Button.tsx +2 -2
frontend/components/ui/Button.tsx
@@ -31,10 +31,10 @@ textStyle,
31 31 onPress,
32 32 ...props
33 33 }) => {
34 - const primaryColor = useThemeColor({ light: '#0a7ea4', dark: '#4fb3d1' }, 'tint');
34 + const primaryColor = useThemeColor({}, 'tint');
35 35 const textColor = useThemeColor({}, 'text');
36 36 const backgroundColor = useThemeColor({}, 'background');
37 - const borderColor = useThemeColor({ light: '#e0e0e0', dark: '#404040' }, 'border');
37 + const borderColor = useThemeColor({}, 'border');
38 38
39 39 const getBackgroundColor = () => {
40 40 if (disabled) return useThemeColor({ light: '#e5e5e5', dark: '#404040' }, 'background');