-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Typography): match medium heading font size in Sbanken theme (#4039)
The css variable `--font-size-medium` is markedly larger in Sbanken than in DNB theme. Since this variable is mainly used for "larger" text, we have decided to make it match across themes. * `--font-size-medium` now the same size in Sbanken as in DNB `1.25rem` (this also fixes some unusually large text in Sbanken input components) * added new size for Sbanken `--sb-font-size-medium--plus` to be used by `h4` headings. ### Adjustments * `<Dialog>` for Sbanken now has title sizes that match Figma design * `<ProgressIndicator>` for Sbanken countdown text slightly decreased * `.dnb-lead` and `.dnb-h--medium` with `<small>` correctly adjusts to one size lower. * Sbanken headings with `<small>` correctly adjusts to one size lower.
- Loading branch information
Showing
31 changed files
with
64 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-184 Bytes
(98%)
..._snapshots__/autocomplete-for-sbanken-have-to-match-custom-input-width.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-847 Bytes
(94%)
...age_snapshots__/autocomplete-for-sbanken-have-to-match-different-sizes.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-1.52 KB
(95%)
...ots__/dialog-for-sbanken-have-to-match-the-cookie-concent-confirmation.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-640 Bytes
(98%)
..._snapshots__/dialog-for-sbanken-have-to-match-the-custom-dialog-window.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.8 KB
(92%)
..._snapshots__/dialog-for-sbanken-have-to-match-the-default-confirmation.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.1 KB
(98%)
...snapshots__/dialog-for-sbanken-have-to-match-the-default-dialog-window.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.87 KB
(88%)
...e_snapshots__/dialog-for-sbanken-have-to-match-the-delete-confirmation.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-1.3 KB
(94%)
...ge_snapshots__/dialog-for-sbanken-have-to-match-the-dialog-help-window.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-475 Bytes
(97%)
...ialog-for-sbanken-have-to-match-the-dialog-window-using-custom-trigger.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.13 KB
(88%)
...apshots__/dialog-for-sbanken-have-to-match-the-logged-out-confirmation.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-7.29 KB
(67%)
...dialog-for-sbanken-scrollable-content-have-to-match-scrolled-to-bottom.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-12 KB
(49%)
...__/dialog-for-sbanken-scrollable-content-have-to-match-scrolled-to-top.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-971 Bytes
(99%)
...image_snapshots__/input-for-sbanken-have-to-match-text-align-with-icon.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-344 Bytes
(95%)
...ots__/progressindicator-for-sbanken-have-to-match-customized-countdown.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.03 KB
(93%)
...ts__/heading-for-eiendom-have-to-match-the-additional-heading-examples.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.99 KB
(89%)
...ts__/heading-for-sbanken-have-to-match-the-additional-heading-examples.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+2.07 KB
(100%)
...__image_snapshots__/heading-for-sbanken-matches-all-sizes-and-variants.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.12 KB
(92%)
...apshots__/heading-for-ui-have-to-match-the-additional-heading-examples.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-5.76 KB
(82%)
...ading-mobile-for-sbanken-have-to-match-the-additional-heading-examples.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-11 KB
(89%)
..._snapshots__/heading-mobile-for-sbanken-matches-all-sizes-and-variants.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.25 KB
(98%)
..._image_snapshots__/paragraph-for-sbanken-matches-all-sizes-and-weights.snap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters