Skip to content

Commit

Permalink
chore: prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 8, 2024
1 parent f4f68be commit 896a300
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 42 deletions.
36 changes: 0 additions & 36 deletions .changeset/itchy-peas-report.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/pink-cameras-reflect.md

This file was deleted.

42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,47 @@
# @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:

```
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:

```
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

## 2.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rhds/tokens",
"version": "2.1.0",
"version": "2.1.1",
"description": "Red Hat Design System Tokens",
"scripts": {
"build": "wireit",
Expand Down

0 comments on commit 896a300

Please sign in to comment.