You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Closes#2614
BREAKING CHANGE: Replaced `Roman`, `Bold`, and `Light` font-face variants with the single `SBB` font.
Using CSS `font-weight` property automatically selects the correct font family.
Migration guide:
- Replace `font-family: "SBBWeb Roman", ...` with `font-family: "SBB", ...` and use `font-weight: normal` (potentially not necessary as `normal` is the default).
- Replace `font-family: "SBBWeb Bold", ...` with `font-family: "SBB", ...` and use `font-weight: bold` or CSS class `sbb-text--bold`.
- Replace `font-family: "SBBWeb Light", ...` with `font-family: "SBB", ...` and use `font-weight: 300`.
- Replace CSS variable `--sbb-typo-type-face-sbb-roman` with `--sbb-typo-font-family` and use `font-weight: normal` (potentially not necessary as `normal` is the default).
- Replace CSS variable `--sbb-typo-type-face-sbb-bold` with `--sbb-typo-font-family` and use `font-weight: bold`.
- Replace CSS variable `--sbb-typo-type-face-sbb-light` with `--sbb-typo-font-family` and use `font-weight: 300`.
No description provided.
The text was updated successfully, but these errors were encountered: