@abgov/design-tokens
Version:
102 lines • 2.44 kB
JSON
{
"date-input-calendar-width": {
"value": "280px",
"type": "dimension"
},
"date-input-calendar-border-radius": {
"value": "{borderRadius.m}",
"type": "borderRadius"
},
"date-input-day-of-week-font": {
"value": "{typography.heading.xs}",
"type": "other"
},
"date-input-day-font": {
"value": "{typography.body.s}",
"type": "other"
},
"date-input-day-of-week-margin": {
"value": "{space.xs} 0",
"type": "spacing"
},
"date-input-day-font-today": {
"value": "{typography.heading.xs}",
"type": "other"
},
"date-input-day-underline-today": {
"value": {
"color": "{color.interactive.default}",
"width": "{borderWidth.l}",
"style": "solid"
},
"type": "border"
},
"date-input-day-underline-today-width": {
"value": "{space.l}",
"type": "spacing"
},
"date-input-day-underline-today-selected": {
"value": {
"color": "{color.greyscale.white}",
"width": "{borderWidth.l}",
"style": "solid"
},
"type": "border"
},
"date-input-day-border-radius": {
"value": "{borderRadius.m}",
"type": "borderRadius"
},
"date-input-day-size": {
"value": "2.5rem",
"type": "dimension"
},
"date-input-day-color-text": {
"value": "{color.text.default}",
"type": "color"
},
"date-input-day-color-bg": {
"value": "transparent",
"type": "color"
},
"date-input-day-color-text-hover": {
"value": "{color.text.default}",
"type": "color"
},
"date-input-day-color-bg-hover": {
"value": "{color.greyscale.200}",
"type": "color"
},
"date-input-day-border-focus": {
"value": {
"color": "{color.interactive.focus}",
"width": "{borderWidth.l}",
"style": "solid"
},
"type": "border"
},
"date-input-day-color-text-selected": {
"value": "{color.text.light}",
"type": "color"
},
"date-input-day-color-bg-selected": {
"value": "{color.interactive.default}",
"type": "color"
},
"date-input-day-color-text-selected-hover": {
"value": "{color.text.light}",
"type": "color"
},
"date-input-day-color-bg-selected-hover": {
"value": "{color.interactive.hover}",
"type": "color"
},
"date-input-day-color-text-other-month": {
"value": "{color.text.secondary}",
"type": "color"
},
"date-input-day-color-text-disabled": {
"value": "{color.text.secondary}",
"type": "color"
}
}