diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 35bc1a1..d688feb 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -31,6 +31,15 @@ jobs: - run: go run ./cmd/palette -check - run: go run ./cmd/mark -check - run: go run ./cmd/shots -check + - run: go run ./cmd/screens -check + # The screens' images are not in git: screens.json names the release that holds them, and + # the page serves them from screens/img. + - if: github.ref == 'refs/heads/main' && hashFiles('screens/screens.json') != '' + env: + GH_TOKEN: ${{ github.token }} + run: | + mkdir -p screens/img + gh release download "$(jq -r .tag screens/screens.json)" --repo "${{ github.repository }}" --pattern screens.tar.gz --output - | tar -xz -C screens/img - if: github.ref == 'refs/heads/main' uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0 with: diff --git a/README.md b/README.md index 7639034..bd3a0e8 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ through protanopia, deuteranopia or tritanopia, with every pair the palette is h |---|---| | `palette.toml` | `dist/`: `tokens.css` (every role as `--spin-*`), `starlight.css` (the website's `--sl-color-*`), `dashboard.css` (shadcn's HSL variables, light on `:root`, dark on `.dark`), `tokens.json`, and `perception.js` and `simulate.svg` for the preview | | spin's `dashboard/e2e/site.spec.ts` | `shots/`: the app as it is, screenshots spin's dashboard suite takes of its e2e stack, with the release and commit of the spin tree that took them (`task screenshots SHOTS=

spin
spinboxOne palette, one mark and one type for the site, the dashboard and everything else that draws Spinbox - each color checked here, and copied from here by each of them. This page is the laboratory; the product is at the website.

A quarter of the mark's height on every side, dashed above: no text or edge inside it.

spinThe mark, then spin in IBM Plex Mono 600, its cap height the mark's middle disk.

spinboxThe mark, then spinbox in IBM Plex Mono 600, its cap height the mark's middle disk.


spinbox
+ Every route, tab, dialog and menu of the dashboard, in both themes and at both widths, with what each draws that this palette does not have.
+