Commit d31b1493 authored by Mickaël Bourgier's avatar Mickaël Bourgier
Browse files

Fix forgotten old usage of theme colors

parent fbbe0dfc
......@@ -4,22 +4,22 @@ import { withStyles, Row, Col, Text, Checkbox } from '@webf/react';
const styles = theme => ({
customCheckbox1: {
backgroundColor: theme.colors.warningObject.main,
color: theme.colors.warningObject.text,
backgroundColor: theme.colors.palette.warning,
color: theme.components.Button.textColors.warning,
padding: '5px 10px',
borderRadius: '0.25rem',
transition: 'background-color 0.3s ease-in-out',
'&:hover': {
backgroundColor: theme.colors.warningObject.hover
backgroundColor: theme.components.Button.hoverColors.warning
}
},
customCheckbox2: {
color: theme.colors.primaryObject.main,
color: theme.colors.palette.primary,
padding: '5px 10px',
borderRadius: '0.25rem',
transition: 'color 0.3s ease-in-out',
'&:hover': {
color: theme.colors.primaryObject.hover
color: theme.components.Button.hoverColors.primary
}
}
});
......
......@@ -4,22 +4,22 @@ import { withStyles, Row, Col, Text, Radio, RadioGroup } from '@webf/react';
const styles = theme => ({
customRadio1: {
backgroundColor: theme.colors.warningObject.main,
color: theme.colors.warningObject.text,
backgroundColor: theme.colors.palette.warning,
color: theme.components.Button.textColors.warning,
padding: '5px 10px',
borderRadius: '0.25rem',
transition: 'background-color 0.3s ease-in-out',
'&:hover': {
backgroundColor: theme.colors.warningObject.hover
backgroundColor: theme.components.Button.hoverColors.warning
}
},
customRadio2: {
color: theme.colors.primaryObject.main,
color: theme.colors.palette.primary,
padding: '5px 10px',
borderRadius: '0.25rem',
transition: 'color 0.3s ease-in-out',
'&:hover': {
color: theme.colors.primaryObject.hover
color: theme.components.Button.hoverColors.primary
}
}
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment