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

Fix Checkbox and RadioGroup demos

parent 8eec1d3f
......@@ -5,12 +5,12 @@ import { withStyles, Row, Col, Text, Checkbox } from '@webalt/react';
const styles = theme => ({
customCheckbox1: {
backgroundColor: theme.colors.palette.warning,
color: theme.components.Button.textColors.warning,
color: theme.colors.text.warning,
padding: '5px 10px',
borderRadius: '0.25rem',
transition: 'background-color 0.3s ease-in-out',
'&:hover': {
backgroundColor: theme.components.Button.hoverColors.warning
backgroundColor: theme.colors.hover.warning
}
},
customCheckbox2: {
......@@ -19,7 +19,7 @@ const styles = theme => ({
borderRadius: '0.25rem',
transition: 'color 0.3s ease-in-out',
'&:hover': {
color: theme.components.Button.hoverColors.primary
color: theme.colors.hover.primary
}
}
});
......
......@@ -5,12 +5,12 @@ import { withStyles, Row, Col, Text, Radio, RadioGroup } from '@webalt/react';
const styles = theme => ({
customRadio1: {
backgroundColor: theme.colors.palette.warning,
color: theme.components.Button.textColors.warning,
color: theme.colors.text.warning,
padding: '5px 10px',
borderRadius: '0.25rem',
transition: 'background-color 0.3s ease-in-out',
'&:hover': {
backgroundColor: theme.components.Button.hoverColors.warning
backgroundColor: theme.colors.hover.warning
}
},
customRadio2: {
......@@ -19,7 +19,7 @@ const styles = theme => ({
borderRadius: '0.25rem',
transition: 'color 0.3s ease-in-out',
'&:hover': {
color: theme.components.Button.hoverColors.primary
color: theme.colors.hover.primary
}
}
});
......
Markdown is supported
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