From 10545687d3d6d4f4a4d73ecde72731f3630cc85b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 15 Nov 2024 08:07:18 +0000 Subject: [PATCH] chore: prepare release --- .changeset/itchy-peas-report.md | 36 -------------- .changeset/pink-cameras-reflect.md | 5 -- .changeset/tasty-flowers-greet.md | 5 -- CHANGELOG.md | 77 ++++++++++++++++++++++++++++++ package.json | 2 +- 5 files changed, 78 insertions(+), 47 deletions(-) delete mode 100644 .changeset/itchy-peas-report.md delete mode 100644 .changeset/pink-cameras-reflect.md delete mode 100644 .changeset/tasty-flowers-greet.md diff --git a/.changeset/itchy-peas-report.md b/.changeset/itchy-peas-report.md deleted file mode 100644 index 876457d..0000000 --- a/.changeset/itchy-peas-report.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -"@rhds/tokens": patch ---- - -- Added language specific font-family tokens. Example: `--rh-font-family-lang-he: 'Noto Sans Hebrew';` -- Removes language fonts from `--rh-font-family-body-text` and `--rh-font-family-heading` - -Before: -```css -body { - font-family: var(--rh-font-family-body-text, RedHatText, "Red Hat Text", "Noto Sans Arabic", "Noto Sans Hebrew", "Noto Sans JP", "Noto Sans KR", "Noto Sans Malayalam", "Noto Sans SC", "Noto Sans TC", "Noto Sans Thai", Helvetica, Arial, sans-serif); -} - -:is(h1,h2,h3,h4,h5,h6) { - font-family: var(--rh-font-family-heading, RedHatDisplay, "Red Hat Display", "Noto Sans Arabic", "Noto Sans Hebrew", "Noto Sans JP", "Noto Sans KR", "Noto Sans Malayalam", "Noto Sans SC", "Noto Sans TC", "Noto Sans Thai", Helvetica, Arial, sans-serif); -} -``` - -After: -```css -body { - font-family: var(--rh-font-family-body-text, RedHatText, "Red Hat Text"); -} - -:is(h1,h2,h3,h4,h5,h6) { - font-family: var(--rh-font-family-heading, RedHatDisplay, "Red Hat Display"); -} - -[lang="he"] { - font-family: var(--rh-font-family-lang-he: "Noto Sans Hebrew"); -} - -[lang="zh-CN"] { - font-family: var(--rh-font-family-lang-zh-cn: 'Noto Sans SC'); -} -``` diff --git a/.changeset/pink-cameras-reflect.md b/.changeset/pink-cameras-reflect.md deleted file mode 100644 index 7aa2121..0000000 --- a/.changeset/pink-cameras-reflect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@rhds/tokens": patch ---- - -Removed empty color theme tokens from `_variables.scss` diff --git a/.changeset/tasty-flowers-greet.md b/.changeset/tasty-flowers-greet.md deleted file mode 100644 index b8919ab..0000000 --- a/.changeset/tasty-flowers-greet.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@rhds/tokens": patch ---- - -Change the value for regular font weight token (`var(--rh-font-weight-heading-regular, 300)`) for headings from `300` to `400` diff --git a/CHANGELOG.md b/CHANGELOG.md index ae790ab..5f19ae8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,82 @@ # @rhds/tokens +## 2.1.1 + +### Patch Changes + +- 75e4dda: - Added language specific font-family tokens. Example: `--rh-font-family-lang-he: 'Noto Sans Hebrew';` + + - Removes language fonts from `--rh-font-family-body-text` and `--rh-font-family-heading` + + Before: + + ```css + body { + font-family: var( + --rh-font-family-body-text, + RedHatText, + "Red Hat Text", + "Noto Sans Arabic", + "Noto Sans Hebrew", + "Noto Sans JP", + "Noto Sans KR", + "Noto Sans Malayalam", + "Noto Sans SC", + "Noto Sans TC", + "Noto Sans Thai", + Helvetica, + Arial, + sans-serif + ); + } + + :is(h1, h2, h3, h4, h5, h6) { + font-family: var( + --rh-font-family-heading, + RedHatDisplay, + "Red Hat Display", + "Noto Sans Arabic", + "Noto Sans Hebrew", + "Noto Sans JP", + "Noto Sans KR", + "Noto Sans Malayalam", + "Noto Sans SC", + "Noto Sans TC", + "Noto Sans Thai", + Helvetica, + Arial, + sans-serif + ); + } + ``` + + After: + + ```css + body { + font-family: var(--rh-font-family-body-text, RedHatText, "Red Hat Text"); + } + + :is(h1, h2, h3, h4, h5, h6) { + font-family: var( + --rh-font-family-heading, + RedHatDisplay, + "Red Hat Display" + ); + } + + [lang="he"] { + font-family: var(--rh-font-family-lang-he: "Noto Sans Hebrew"); + } + + [lang="zh-CN"] { + font-family: var(--rh-font-family-lang-zh-cn: "Noto Sans SC"); + } + ``` + +- f4f68be: Removed empty color theme tokens from `_variables.scss` +- aea6a9f: Change the value for regular font weight token (`var(--rh-font-weight-heading-regular, 300)`) for headings from `300` to `400` + ## 2.1.0 ### Minor Changes diff --git a/package.json b/package.json index 51408ab..3da582e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rhds/tokens", - "version": "2.1.0", + "version": "2.1.1", "description": "Red Hat Design System Tokens", "scripts": { "build": "wireit",