From 40f8dc84e00f37d6e8961c60b8ff5a960034f7f2 Mon Sep 17 00:00:00 2001 From: Tobias Barsnes Date: Mon, 23 Sep 2024 09:43:29 +0200 Subject: [PATCH] fix(heading): make md heading work (#2485) fixes medium sized headings. --- .changeset/lemon-countries-smoke.md | 5 +++++ packages/css/baseline/typography.css | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/lemon-countries-smoke.md diff --git a/.changeset/lemon-countries-smoke.md b/.changeset/lemon-countries-smoke.md new file mode 100644 index 0000000000..6a846957e0 --- /dev/null +++ b/.changeset/lemon-countries-smoke.md @@ -0,0 +1,5 @@ +--- +"@digdir/designsystemet-css": patch +--- + +Heading: Fix `md` heading size diff --git a/packages/css/baseline/typography.css b/packages/css/baseline/typography.css index 72d3424bb1..aaa74e8d0a 100644 --- a/packages/css/baseline/typography.css +++ b/packages/css/baseline/typography.css @@ -42,7 +42,7 @@ font-weight: var(--ds-heading-md-font-weight); line-height: var(--ds-heading-md-line-height); - font-size: var (--ds-heading-md-font-size); + font-size: var(--ds-heading-md-font-size); letter-spacing: var(--ds-heading-md-letter-spacing); }