Skip to content

Commit

Permalink
update theme colors in testUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
Reddine committed Apr 9, 2021
1 parent e6095e4 commit 6ad6257
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/assets/scss/ThemeVariables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ $light: #e9ebf2;
$light-lighter: #f8f9fb;
$light-darker: #dbdde5;
$dark: #5b6176;
$body-bg: #e9ebf2;
$body-bg: $light;
$body-color: #4f4f4f;
$border-width: 1px;
$border-radius: 6px;
Expand Down
17 changes: 6 additions & 11 deletions src/testUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,21 @@ import { ThemeProvider } from 'styled-components';

// https://github.com/adamgruber/sass-extract-js/issues/12
export const theme = {
orkgBorderRadius: '6px',
primary: 'rgb(232, 97, 97)',
orkgBorderWidth: '1px',
primary: 'rgb(232, 97, 97)',
primaryDarker: 'rgb(198, 29, 29)',
secondary: 'rgb(128, 134, 155)',
secondaryDarker: 'rgb(80, 85, 101)',
light: 'rgb(233, 236, 239)',
light: 'rgb(233, 235, 242)',
lightLighter: 'rgb(248, 249, 251)',
lightDarker: 'rgb(219, 221, 229)',
dark: 'rgb(91, 97, 118)',
bodyBg: 'rgb(233, 235, 242)',
bodyColor: 'rgb(79, 79, 79)',
borderWidth: '1px',
borderRadius: '6px',
themeColors: {
light: 'rgb(233, 235, 242)',
secondary: 'rgb(128, 134, 155)',
secondaryDarker: 'rgb(80, 85, 101)',
primaryDarker: 'rgb(198, 29, 29)'
primaryDarker: 'rgb(198, 29, 29)',
secondaryDarker: 'rgb(80, 85, 101)'
},
formFeedbackFontSize: '90%',
inputBorderRadius: '6px',
Expand All @@ -46,9 +43,7 @@ export const theme = {
badgeFontWeight: 500,
badgePaddingY: '0.3rem',
badgePaddingX: '0.8rem',
listGroupBorderColor: 'rgba(0, 0, 0, 0.125)',
dark: 'rgb(91, 97, 118)',
dark: 'rgb(103, 109, 129)'
listGroupBorderColor: 'rgba(0, 0, 0, 0.125)'
};

// wrap the components with the required providers
Expand Down

0 comments on commit 6ad6257

Please sign in to comment.