Skip to content

Commit

Permalink
chore: add ESM build to icon fonts and refactor the icon docs page
Browse files Browse the repository at this point in the history
  • Loading branch information
balzss committed Oct 18, 2024
1 parent 047c3be commit 8634e63
Show file tree
Hide file tree
Showing 26 changed files with 1,099 additions and 936 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install Node 22
uses: actions/setup-node@v4
with:
node-version: '22'
- run: npm ci && npm run bootstrap
- name: Set build directory and deployment path based on branch
id: set-build-dir
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Node 22
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Npm install and bootstrap
run: npm ci && npm run bootstrap
if: github.event.action != 'closed' # don't run install and bootstrap unnecessarily when pr is closed
Expand Down
2 changes: 1 addition & 1 deletion docs/patterns/UsingIcons.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type: example

### Line vs Solid

The default choice for iconography is the `Line` version. However, when an icon appears on a dark or colored background, the `Solid` version should be used.
The default choice for icons are the `Line` version. However, when an icon appears on a dark or colored background, the `Solid` version should be used.

```js
---
Expand Down
Loading

0 comments on commit 8634e63

Please sign in to comment.