Skip to content

Commit

Permalink
chore: update init object for colors styling
Browse files Browse the repository at this point in the history
  • Loading branch information
anfibiacreativa committed Dec 7, 2023
1 parent 5cf0898 commit fdcc73b
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions packages/webapp/src/components/SettingsStyles/SettingsStyles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ export const SettingsStyles = ({ onChange }: Props) => {
BackgroundColor: '#e3e3e3',
ForegroundColor: '#4e5288',
FormBackgroundColor: '#f5f5f5',
BorderRadius: '10px',
BorderWidth: '3px',
FontBaseSize: '14px',
};

const styleDefaultsDark = {
Expand All @@ -40,9 +37,6 @@ export const SettingsStyles = ({ onChange }: Props) => {
BackgroundColor: '#e3e3e3',
ForegroundColor: '#4e5288',
FormBackgroundColor: '#32343e',
BorderRadius: '10px',
BorderWidth: '3px',
FontBaseSize: '14px',
};

const getInitialStyles = (): CustomStylesState => {
Expand All @@ -62,9 +56,9 @@ export const SettingsStyles = ({ onChange }: Props) => {
BackgroundColor: styleDefaults.BackgroundColor,
ForegroundColor: styleDefaults.ForegroundColor,
FormBackgroundColor: styleDefaults.FormBackgroundColor,
BorderRadius: styleDefaults.BorderRadius,
BorderWidth: styleDefaults.BorderWidth,
FontBaseSize: styleDefaults.FontBaseSize,
BorderRadius: '10px',
BorderWidth: '3px',
FontBaseSize: '14px',
};
};

Expand Down

0 comments on commit fdcc73b

Please sign in to comment.