-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(Typography): added css variables needed for heading theming (#2348
) ## Summary Theming the typography requires us to add some more css variables. In particular, headings need some more granularity. Since there's no common css class for headings we have to generate a class/tag namespace that covers alle of typography. --------- Co-authored-by: Tobias Høegh <[email protected]>
- Loading branch information
1 parent
5f5ff8e
commit 224d8b2
Showing
38 changed files
with
510 additions
and
287 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
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
Binary file modified
BIN
+1.94 KB
(130%)
...__image_snapshots__/anchor-for-sbanken-have-to-match-anchor-in-heading.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
+274 Bytes
(100%)
...age_snapshots__/anchor-for-sbanken-have-to-match-anchor-with-icon-node.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 Bytes
(100%)
...age_snapshots__/anchor-for-sbanken-have-to-match-anchor-with-paragraph.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
+264 Bytes
(100%)
.../__image_snapshots__/anchor-for-ui-have-to-match-anchor-with-icon-node.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.64 KB
(120%)
...-target-blank-for-sbanken-have-to-match-blank-target-anchor-in-heading.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
Binary file modified
BIN
+3.74 KB
(120%)
...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 added
BIN
+88.7 KB
...__image_snapshots__/heading-for-eiendom-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
+8.4 KB
(130%)
...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
+731 Bytes
(100%)
...shots__/heading-for-sbanken-have-to-match-the-default-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.94 KB
(110%)
...__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
+3.77 KB
(120%)
...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
+9.87 KB
(110%)
..._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.
Binary file modified
BIN
+9.48 KB
(100%)
...ots__/typography-for-sbanken-have-to-match-all-the-typography-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.
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
11 changes: 11 additions & 0 deletions
11
packages/dnb-eufemia/src/elements/typography/style/themes/dnb-typography-theme-eiendom.scss
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
@use '../typography-mixins.scss' as typography; | ||
|
||
@include typography.typographySelectors() { | ||
--typography-h-xx-large-weight: var(--font-weight-regular); | ||
--typography-h-x-large-weight: var(--font-weight-regular); | ||
--typography-h-large-weight: var(--font-weight-regular); | ||
--typography-h-medium-weight: var(--font-weight-regular); | ||
--typography-h-basis-weight: var(--font-weight-regular); | ||
--typography-h-small-weight: var(--font-weight-regular); | ||
--typography-h-x-small-weight: var(--font-weight-regular); | ||
} |
Oops, something went wrong.
224d8b2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
eufemia – ./
eufemia-eufemia.vercel.app
eufemia-dnb-design-system-portal.vercel.app
eufemia-git-main-eufemia.vercel.app