improve checkbox styles
This commit is contained in:
parent
8a47069cee
commit
f609aaba0c
7 changed files with 22 additions and 13 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue