New tokens for RadioButton

This commit is contained in:
Cagatay Civici 2024-05-07 11:44:03 +03:00
parent 865b3d2a1f
commit 04c457f3bf
3 changed files with 36 additions and 12 deletions

View file

@ -1,21 +1,30 @@
export default {
root: {
width: '1.25rem',
height: '1.25rem',
width: '1.5rem',
height: '1.5rem',
background: '{form.field.background}',
checkedBackground: '{primary.color}',
checkedHoverBackground: '{primary.hover.color}',
disabledBackground: '{form.field.disabled.background}',
filledBackground: '{form.field.filled.background}',
borderColor: '{form.field.border.color}',
hoverBordercolor: '{form.field.hover.border.color}',
hoverBorderColor: '{form.field.hover.border.color}',
focusBorderColor: '{form.field.focus.border.color}',
checkedBorderColor: '{primary.color}',
checkedHoverBorderColor: '{primary.hover.color}',
checkedFocusBorderColor: '{primary.color}',
invalidBorderColor: '{form.field.invalid.border.color}',
shadow: '{form.field.shadow}'
shadow: '{form.field.shadow}',
focusRing: {
width: '{form.field.focus.ring.width}',
style: '{form.field.focus.ring.style}',
color: '{form.field.focus.ring.color}',
offset: '{form.field.focus.ring.offset}',
shadow: '{form.field.focus.ring.shadow}'
}
},
icon: {
size: '0.75rem',
size: '1rem',
checkedColor: '{primary.inverse.color}',
checkedHoverColor: '{primary.inverse.color}',
disabledColor: '{form.field.disabled.color}'