Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Pages

# Checks the palette, the mark and the screenshots against their sources on every push and pull request, and
# publishes main to GitHub Pages: preview.html with dist/, logos/, fonts/ and assets/ beside it.
# publishes main to GitHub Pages: index.html with dist/, logos/, fonts/ and assets/ beside it.

on:
push:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The colors, type, layout and mark of Spin, written once, checked, and made into
place that draws Spin reads: the website (Starlight), the dashboard (Tailwind, shadcn's
variables) and anything else (`dist/tokens.json`).

**[See it](https://spin-stack.github.io/brand/preview.html)**: `preview.html` is the laboratory.
**[See it](https://spin-stack.github.io/brand/)**: `index.html` is the laboratory.
It draws the site's landing and a docs page, the dashboard's workspaces with their states, a
dialog and a toast; the app as it is, in screenshots spin's own suite takes; the mark's guide -
sizes, clear space, the lockup, the grounds it goes on and what it is not; the palette by what
Expand All @@ -20,7 +20,7 @@ through protanopia, deuteranopia or tritanopia, with every pair the palette is h
```
task # palette and mark: check, and write dist/ and logos/
task report # every pair, its contrast or its distance in each view
task preview # http://127.0.0.1:4330/preview.html
task preview # http://127.0.0.1:4330/
task check # what CI runs: fails on a pair below its floor, or a stale dist/ or logos/
```

Expand Down
2 changes: 1 addition & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ tasks:
- go run ./cmd/shots -spin {{.SPIN}} -from {{.SHOTS}}

preview:
desc: Serve preview.html - the site, the dashboard and a phone's width in the palette, in either mode and through each deficiency - at http://127.0.0.1:4330/preview.html
desc: Serve index.html, the laboratory - the site, the dashboard and a phone's width in the palette, in either mode and through each deficiency - at http://127.0.0.1:4330/
cmds:
- python3 -m http.server 4330 --bind 127.0.0.1

Expand Down
Loading
Loading