Skip to content

Commit

Permalink
HZC-5514: remove backup font (#514)
Browse files Browse the repository at this point in the history
* remove backup font

* fix tests

* fix tests

* TEST: node 18

* TEST: node 18

* TEST: node 18
  • Loading branch information
fantkolja authored Sep 18, 2023
1 parent 67b20de commit ddd3509
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ runs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- uses: pnpm/action-setup@v2
name: Install pnpm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/actions/install
- run: pnpm run build-storybook
- run: pnpm run test:visual
- run: export NODE_OPTIONS=--openssl-legacy-provider && pnpm run test:visual

- name: Archive screenshots
if: ${{ failure() }}
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,14 @@ cd packages/ui
pnpm run generate-screenshots
```

In case you see an error in the console `error:0308010C:digital envelope routines`

try to run first

```shell
export NODE_OPTIONS=--openssl-legacy-provider
```

### Run all checks at once

```
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions packages/ui/styles/constants/_typography.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// @todo: remove 'Roboto' after we release New Brand. It's only for backward compatibility here
$fontFamilyHeading: 'Roboto', 'PP Telegraf', 'Helvetica', 'Arial', sans-serif !default;
$fontFamilyHeading: 'PP Telegraf', 'Helvetica', 'Arial', sans-serif !default;
$fontWeightHeadingRegular: 400 !default;
$fontWeightHeadingBold: 500 !default;
$fontFamilyText: 'Open Sans', 'Helvetica', 'Arial', sans-serif !default;
Expand Down

0 comments on commit ddd3509

Please sign in to comment.