Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: prepare release #145

Merged
merged 1 commit into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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