Skip to content

Commit

Permalink
chore: prepare release (#145)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Nov 15, 2024
1 parent de45318 commit e0457ab
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 47 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.

5 changes: 0 additions & 5 deletions .changeset/tasty-flowers-greet.md

This file was deleted.

77 changes: 77 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
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 e0457ab

Please sign in to comment.