mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
New tokens for Checkbox
This commit is contained in:
parent
ee5843c315
commit
fc2a466b02
6 changed files with 38 additions and 13 deletions
|
@ -1,8 +1,8 @@
|
|||
export default {
|
||||
root: {
|
||||
borderRadius: '{rounded.sm}',
|
||||
width: '1.25rem',
|
||||
height: '1.25rem',
|
||||
borderRadius: '{border.radius.sm}',
|
||||
width: '1.5rem',
|
||||
height: '1.5rem',
|
||||
background: '{form.field.background}',
|
||||
checkedBackground: '{primary.color}',
|
||||
checkedHoverBackground: '{primary.hover.color}',
|
||||
|
@ -10,13 +10,22 @@ export default {
|
|||
filledBackground: '{form.field.filled.background}',
|
||||
borderColor: '{form.field.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.875rem',
|
||||
size: '1rem',
|
||||
color: '{form.field.color}',
|
||||
checkedColor: '{primary.inverse.color}',
|
||||
checkedHoverColor: '{primary.inverse.color}',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue