Skip to content

Commit

Permalink
feat: update base colors
Browse files Browse the repository at this point in the history
* We now export Spacing and Border Radius as objects again.
* Switched to using asdf rather than nvm so we can use bun to run typescript files.
* Ad-hoc re-coloring of the Skeleton due to color changes and added a story for it to test

BREAKING CHANGE: All `--primary` variables are now removed, if you needed the value for our logo use `--brand-static` in all other cases use `--brand-primary` which is a light/dark aware purple “primary” color.
  • Loading branch information
SimeonC committed Nov 19, 2024
1 parent 28a1f00 commit 1bd81f0
Show file tree
Hide file tree
Showing 26 changed files with 1,222 additions and 617 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ jobs:
with:
node-version: ${{ steps.nvm.outputs.nvmrc }}

- uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install 🔧
run: npm ci

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
node-version: ${{ steps.nvm.outputs.nvmrc }}
cache: npm

- uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install and Build 🔧
run: |
npm ci
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ jobs:
node-version: ${{ steps.nvm.outputs.nvmrc }}
cache: npm

- uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install 🔧
run: npm ci --ignore-scripts

Expand All @@ -58,6 +62,10 @@ jobs:
node-version: ${{ needs.setup.outputs.nvmrc }}
cache: npm

- uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Restore npm installs and Lerna setup
run: npm ci

Expand All @@ -84,6 +92,10 @@ jobs:
node-version: ${{ needs.setup.outputs.nvmrc }}
cache: npm

- uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Restore npm installs and Lerna setup
run: npm ci

Expand Down Expand Up @@ -116,6 +128,10 @@ jobs:
with:
node-version: ${{ steps.nvm.outputs.nvmrc }}

- uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install 🔧
run: npm ci

Expand Down Expand Up @@ -147,6 +163,10 @@ jobs:
with:
node-version: ${{ steps.nvm.outputs.nvmrc }}

- uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install 🔧
run: npm ci

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ jobs:
node-version: ${{ steps.nvm.outputs.nvmrc }}
cache: npm

- uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install 🔧
run: npm ci

Expand Down
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
registry=https://registry.npmjs.org/
legacy-peer-deps=true
save-exact=true
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.16.1
v21.6.2
2 changes: 2 additions & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
nodejs 21.6.2
bun 1.1.33
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,15 @@ Next generation UI component library, view our docs at [tablekit.tablecheck.com]

## Installation

Install [ASDF](https://asdf-vm.com/) and it's nodejs and bun plugins.

```shell
asdf plugin add nodejs
asdf plugin add bun
```

```shell
nvm use
asdf current
npm ci
npm start
```
Expand Down
Loading

0 comments on commit 1bd81f0

Please sign in to comment.