💄(react) make inputs labels bolder
The current labels of radio, checkbox and switches were not bold enough to match the figma sketches.
This commit is contained in:
5
.changeset/unlucky-parrots-grab.md
Normal file
5
.changeset/unlucky-parrots-grab.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@openfun/cunningham-react": minor
|
||||
---
|
||||
|
||||
make inputs labels bolder
|
||||
@@ -3,7 +3,7 @@ import { DefaultTokens } from "@openfun/cunningham-tokens";
|
||||
export const tokens = (defaults: DefaultTokens) => ({
|
||||
"background-color--hover": defaults.theme.colors["greyscale-200"],
|
||||
"font-size": defaults.theme.font.sizes.m,
|
||||
"font-weight": defaults.theme.font.weights.medium,
|
||||
"font-weight": defaults.theme.font.weights.bold,
|
||||
color: defaults.theme.colors["greyscale-900"],
|
||||
"border-color": defaults.theme.colors["greyscale-300"],
|
||||
"border-radius": "2px",
|
||||
|
||||
Reference in New Issue
Block a user