improve checkbox styles

This commit is contained in:
Henry Jameson 2024-02-21 13:10:11 +02:00
commit f609aaba0c
7 changed files with 22 additions and 13 deletions

View file

@ -12,6 +12,10 @@ const hoverGlow = {
export default {
name: 'Input',
selector: '.input',
variant: {
checkbox: '.-checkbox',
radio: '.-radio'
},
states: {
disabled: ':disabled',
hover: ':hover:not(:disabled)',
@ -21,6 +25,12 @@ export default {
'Text'
],
defaultRules: [
{
variant: 'checkbox',
directives: {
roundness: 1
}
},
{
directives: {
background: '--fg, -5',