Skip to content

Commit

Permalink
Merge branch 'main' into feat/figma-workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
marionnegp authored Oct 17, 2024
2 parents f7b73bb + aea6a9f commit 837c2ad
Show file tree
Hide file tree
Showing 111 changed files with 16,709 additions and 13,777 deletions.
5 changes: 0 additions & 5 deletions .changeset/famous-hotels-admire.md

This file was deleted.

36 changes: 36 additions & 0 deletions .changeset/itchy-peas-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
"@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:
```
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');
}
```
17 changes: 0 additions & 17 deletions .changeset/kind-singers-count.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/pink-cameras-reflect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rhds/tokens": patch
---

Removed empty color theme tokens from \_variables.scss
22 changes: 0 additions & 22 deletions .changeset/rich-bags-deliver.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/tasty-flowers-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rhds/tokens": patch
---

Change the value for regular font weight token (`var(--rh-font-weight-heading-regular, 300)`) for headings from `300` to `400`
6 changes: 0 additions & 6 deletions .eslintignore

This file was deleted.

9 changes: 0 additions & 9 deletions .eslintrc.json

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
node-version-file: .nvmrc
cache: npm

# Set up GitHub Actions caching for Wireit.
- uses: google/wireit@setup-github-actions-caching/v1
- uses: google/wireit@setup-github-actions-caching/v2

- run: npm ci --prefer-offline
- run: npm run test
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
node-version-file: .nvmrc
cache: npm

- uses: google/wireit@setup-github-actions-caching/v1
- uses: google/wireit@setup-github-actions-caching/v2

- run: npm ci --prefer-offline
- run: npm test
26 changes: 19 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
node_modules
build
editor
js
json
css
scss
design

.DS_Store
.wireit

build/**/*

editor/**/*
js/**/*
json/**/*
css/**/*
scss/**/*
design/**/*
plugins/cjs
plugins/**/*.cjs
plugins/**/*.cjs.map
plugins/**/*.d.cts
plugins/**/*.js
plugins/**/*.js.map
plugins/**/*.d.ts
test/**/*.js
test/**/*.js.map
test/**/*.d.ts
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.12.1
v22.7.0
Loading

0 comments on commit 837c2ad

Please sign in to comment.