Skip to content

Commit

Permalink
improved color contrast input.option myvanin, utbildning and my digit…
Browse files Browse the repository at this point in the history
…al book
  • Loading branch information
DanielleRameau committed Apr 5, 2024
1 parent 0d3347c commit c94df44
Show file tree
Hide file tree
Showing 5 changed files with 82 additions and 82 deletions.
2 changes: 1 addition & 1 deletion packages/tokens/src/my-digital-book/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -1897,7 +1897,7 @@
"description": "border.width.button.outline"
},
"option": {
"value": "{border.width.xs}",
"value": "{border.width.sm}",
"type": "borderWidth",
"description": "border.width.button.outline"
}
Expand Down
78 changes: 39 additions & 39 deletions packages/tokens/src/my-digital-book/light.json
Original file line number Diff line number Diff line change
Expand Up @@ -1492,7 +1492,7 @@
"description": "color.surface.solid.primary.background"
},
"border": {
"value": "{color.palette.neutral.800}",
"value": "{color.palette.neutral.600}",
"type": "color",
"description": "color.surface.solid.primary.background"
},
Expand All @@ -1502,19 +1502,19 @@
"description": "color.surface.solid.primary.foreground"
},
"icon": {
"value": "{color.palette.neutral.400}",
"value": "{color.palette.white.base}",
"type": "color",
"description": "color.surface.solid.primary.background"
}
},
"hover": {
"background": {
"value": "{color.palette.primary.50}",
"value": "{color.palette.neutral.100}",
"type": "color",
"description": "color.surface.solid.primary.background"
},
"border": {
"value": "{color.palette.primary.base}",
"value": "{color.input.option.default.unchecked.default.border}",
"type": "color",
"description": "color.surface.solid.primary.background"
},
Expand All @@ -1524,19 +1524,19 @@
"description": "color.surface.solid.primary.foreground"
},
"icon": {
"value": "{color.palette.primary.base}",
"value": "{color.palette.white.base}",
"type": "color",
"description": "color.surface.solid.primary.background"
}
},
"active": {
"background": {
"value": "{color.palette.primary.100}",
"value": "{color.palette.neutral.150}",
"type": "color",
"description": "color.surface.solid.primary.background"
},
"border": {
"value": "{color.palette.primary.base}",
"value": "{color.input.option.default.unchecked.default.border}",
"type": "color",
"description": "color.surface.solid.primary.background"
},
Expand All @@ -1546,29 +1546,29 @@
"description": "color.surface.solid.primary.foreground"
},
"icon": {
"value": "{color.palette.primary.base}",
"value": "{color.palette.white.base}",
"type": "color",
"description": "color.surface.solid.primary.background"
}
},
"focus": {
"background": {
"value": "rgba({color.palette.white.base} , {opacity.100})",
"value": "{color.input.option.default.unchecked.default.background}",
"type": "color",
"description": "color.surface.solid.primary.background"
},
"border": {
"value": "{color.palette.neutral.400}",
"value": "{color.input.option.default.unchecked.default.border}",
"type": "color",
"description": "color.surface.solid.primary.background"
},
"label": {
"value": "{body.foreground}",
"value": "{color.input.option.default.unchecked.default.label}",
"type": "color",
"description": "color.surface.solid.primary.foreground"
},
"icon": {
"value": "{color.palette.neutral.400}",
"value": "{color.input.option.default.unchecked.default.icon}",
"type": "color",
"description": "color.surface.solid.primary.background"
}
Expand All @@ -1590,7 +1590,7 @@
"description": "color.surface.solid.primary.foreground"
},
"icon": {
"value": "{color.palette.neutral.400}",
"value": "{color.palette.neutral.100}",
"type": "color",
"description": "color.surface.solid.primary.background"
}
Expand Down Expand Up @@ -1665,22 +1665,22 @@
},
"focus": {
"background": {
"value": "{color.palette.primary.base}",
"value": "{color.input.option.default.checked.default.background}",
"type": "color",
"description": "color.surface.solid.primary.background"
},
"border": {
"value": "{color.input.option.default.checked.focus.background}",
"value": "{color.input.option.default.checked.default.border}",
"type": "color",
"description": "color.surface.solid.primary.background"
},
"label": {
"value": "{body.foreground}",
"value": "{color.input.option.default.checked.default.label}",
"type": "color",
"description": "color.surface.solid.primary.foreground"
},
"icon": {
"value": "{color.palette.white.base}",
"value": "{color.input.option.default.checked.default.icon}",
"type": "color",
"description": "color.surface.solid.primary.background"
}
Expand Down Expand Up @@ -1728,7 +1728,7 @@
"description": "color.surface.solid.primary.foreground"
},
"icon": {
"value": "{color.palette.danger.400}",
"value": "{color.palette.white.base}",
"type": "color",
"description": "color.surface.solid.primary.background"
}
Expand All @@ -1750,7 +1750,7 @@
"description": "color.surface.solid.primary.foreground"
},
"icon": {
"value": "{color.palette.danger.500}",
"value": "{color.palette.white.base}",
"type": "color",
"description": "color.surface.solid.primary.background"
}
Expand All @@ -1772,36 +1772,36 @@
"description": "color.surface.solid.primary.foreground"
},
"icon": {
"value": "{color.palette.danger.700}",
"value": "{color.palette.white.base}",
"type": "color",
"description": "color.surface.solid.primary.background"
}
},
"focus": {
"background": {
"value": "rgba({body.background} , {opacity.100})",
"value": "{color.input.option.invalid.unchecked.default.background}",
"type": "color",
"description": "color.surface.solid.primary.background"
},
"border": {
"value": "{color.palette.danger.400}",
"value": "{color.input.option.invalid.unchecked.default.border}",
"type": "color",
"description": "color.surface.solid.primary.background"
},
"label": {
"value": "{body.foreground}",
"value": "{color.input.option.invalid.unchecked.default.label}",
"type": "color",
"description": "color.surface.solid.primary.foreground"
},
"icon": {
"value": "{color.palette.danger.300}",
"value": "{color.input.option.invalid.unchecked.default.icon}",
"type": "color",
"description": "color.surface.solid.primary.background"
}
},
"disabled": {
"background": {
"value": "color.input.option.default.unchecked.disabled.background",
"value": "{color.input.option.default.unchecked.disabled.background}",
"type": "color",
"description": "color.surface.solid.primary.background"
},
Expand Down Expand Up @@ -1891,22 +1891,22 @@
},
"focus": {
"background": {
"value": "{color.palette.danger.300}",
"value": "{color.input.option.invalid.checked.default.background}",
"type": "color",
"description": "color.surface.solid.primary.background"
},
"border": {
"value": "{color.input.option.invalid.checked.focus.background}",
"value": "{color.input.option.invalid.checked.default.border}",
"type": "color",
"description": "color.surface.solid.primary.background"
},
"label": {
"value": "{body.foreground}",
"value": "{color.input.option.invalid.checked.default.label}",
"type": "color",
"description": "color.surface.solid.primary.foreground"
},
"icon": {
"value": "{color.palette.white.base}",
"value": "{color.input.option.invalid.checked.default.icon}",
"type": "color",
"description": "color.surface.solid.primary.background"
}
Expand Down Expand Up @@ -1954,7 +1954,7 @@
"description": "color.surface.solid.primary.foreground"
},
"icon": {
"value": "{color.palette.success.base}",
"value": "{color.palette.white.base}",
"type": "color",
"description": "color.surface.solid.primary.background"
}
Expand All @@ -1976,7 +1976,7 @@
"description": "color.surface.solid.primary.foreground"
},
"icon": {
"value": "{color.palette.success.base}",
"value": "{color.palette.white.base}",
"type": "color",
"description": "color.surface.solid.primary.background"
}
Expand All @@ -1998,29 +1998,29 @@
"description": "color.surface.solid.primary.foreground"
},
"icon": {
"value": "{color.palette.success.base}",
"value": "{color.palette.white.base}",
"type": "color",
"description": "color.surface.solid.primary.background"
}
},
"focus": {
"background": {
"value": "rgba({body.background} , {opacity.100})",
"value": "{color.input.option.valid.unchecked.default.background}",
"type": "color",
"description": "color.surface.solid.primary.background"
},
"border": {
"value": "{color.palette.success.base}",
"value": "{color.input.option.valid.unchecked.default.border}",
"type": "color",
"description": "color.surface.solid.primary.background"
},
"label": {
"value": "{body.foreground}",
"value": "{color.input.option.valid.unchecked.default.label}",
"type": "color",
"description": "color.surface.solid.primary.foreground"
},
"icon": {
"value": "{color.palette.success.400}",
"value": "{color.input.option.valid.unchecked.default.icon}",
"type": "color",
"description": "color.surface.solid.primary.background"
}
Expand Down Expand Up @@ -2117,7 +2117,7 @@
},
"focus": {
"background": {
"value": "{color.palette.success.400}",
"value": "{color.input.option.valid.checked.default.background}",
"type": "color",
"description": "color.surface.solid.primary.background"
},
Expand All @@ -2127,12 +2127,12 @@
"description": "color.surface.solid.primary.background"
},
"label": {
"value": "{body.foreground}",
"value": "{color.input.option.valid.checked.default.label}",
"type": "color",
"description": "color.surface.solid.primary.foreground"
},
"icon": {
"value": "{color.palette.white.base}",
"value": "{color.input.option.valid.checked.default.icon}",
"type": "color",
"description": "color.surface.solid.primary.background"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/tokens/src/myvanin/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -1889,7 +1889,7 @@
"description": "border.width.button.outline"
},
"option": {
"value": "{border.width.xs}",
"value": "{border.width.sm}",
"type": "borderWidth",
"description": "border.width.button.outline"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/tokens/src/sanoma-utbildning/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -1889,7 +1889,7 @@
"description": "border.width.button.outline"
},
"option": {
"value": "{border.width.xs}",
"value": "{border.width.sm}",
"type": "borderWidth",
"description": "border.width.button.outline"
}
Expand Down
Loading

0 comments on commit c94df44

Please sign in to comment.