partial: theme and more css fixes

This commit is contained in:
Rafael Taranto 2025-04-21 14:43:17 +01:00
parent c6c3feb3b4
commit af21051989
12 changed files with 153 additions and 245 deletions

View file

@ -8,7 +8,7 @@ import classnames from 'classnames'
import React from 'react'
import { Label1 } from 'src/components/typography'
import { offColor } from 'src/styling/variables'
import { offColor, secondaryColor } from 'src/styling/variables'
const styles = {
label: {
height: 16,
@ -20,6 +20,9 @@ const styles = {
marginTop: -8,
marginLeft: 32,
color: offColor
},
radio: {
color: secondaryColor
}
}
@ -50,7 +53,7 @@ const RadioGroup = ({
<FormControlLabel
disabled={option.disabled}
value={option.code}
control={<Radio className={radioClassName} />}
control={<Radio className={classnames(classes.radio, radioClassName)} />}
label={option.display}
className={classnames(labelClassName)}
/>