From 0862d208b60866c36f0dce20fa22544b98b48e5a Mon Sep 17 00:00:00 2001 From: Robbert Broersma Date: Mon, 4 Oct 2021 17:42:30 +0200 Subject: [PATCH] feat: `font-weight` design token for document component --- components/document/bem.scss | 3 +-- components/document/block.tokens.json | 6 ++++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/components/document/bem.scss b/components/document/bem.scss index e2ce3f6f0ab..c7b2fd80570 100644 --- a/components/document/bem.scss +++ b/components/document/bem.scss @@ -9,7 +9,6 @@ color: var(--utrecht-document-color, inherit); font-family: var(--utrecht-document-font-family, inherit); font-size: var(--utrecht-document-font-size, inherit); - -moz-osx-font-smoothing: auto; - -webkit-font-smoothing: auto; + font-weight: var(--utrecht-document-font-weight, inherit); line-height: var(--utrecht-document-line-height, inherit); } diff --git a/components/document/block.tokens.json b/components/document/block.tokens.json index 4ccdd168ad7..ef4793fc652 100644 --- a/components/document/block.tokens.json +++ b/components/document/block.tokens.json @@ -25,6 +25,12 @@ "inherits": true } }, + "font-weight": { + "css": { + "syntax": "", + "inherits": true + } + }, "line-height": { "css": { "syntax": "",