chore: replace em dashes with hyphens, add no-em-dash rule to CLAUDE.md
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
import type { Config } from "tailwindcss";
|
||||
|
||||
/*
|
||||
* Tokens are shared with site/ and adminsite/ — same names, same values, in
|
||||
* Tokens are shared with site/ and adminsite/ - same names, same values, in
|
||||
* app/globals.css. Nothing here may hold a hex value: if a colour needs to
|
||||
* change it changes in globals.css, in all three apps, in one commit.
|
||||
*
|
||||
* The colours keep this app's own names rather than site/'s. site/ says ink
|
||||
* and rule because it is a document; this is a console, so it says
|
||||
* text-primary and border, and every screen already reads that way. Same
|
||||
* colours, honest names on both sides — the aliasing adminsite/ does for
|
||||
* colours, honest names on both sides - the aliasing adminsite/ does for
|
||||
* licence state, one level further.
|
||||
*
|
||||
* `<alpha-value>` is what makes bg-danger/10 and border-accent/50 compile.
|
||||
@@ -39,16 +39,16 @@ const config: Config = {
|
||||
danger: withAlpha("--down-rgb"),
|
||||
"danger-hover": withAlpha("--down-hover-rgb"),
|
||||
// The floor beneath the ground: install one-liners, key blobs,
|
||||
// run logs — surfaces showing machine output, not interface.
|
||||
// run logs - surfaces showing machine output, not interface.
|
||||
well: withAlpha("--well-rgb"),
|
||||
// Attention that is not yet failure — an unsaved workflow, a
|
||||
// Attention that is not yet failure - an unsaved workflow, a
|
||||
// step about to run. Same amber as warning, because it is the
|
||||
// same signal at a different distance.
|
||||
signal: withAlpha("--pend-rgb"),
|
||||
"signal-ink": withAlpha("--accent-ink-rgb"),
|
||||
// Shell identity on step chips. Reusing the semantic pair is
|
||||
// safe here because the chip is labelled "bash" or "pwsh" in
|
||||
// text — the colour is recognition, never the whole message.
|
||||
// text - the colour is recognition, never the whole message.
|
||||
bash: withAlpha("--up-rgb"),
|
||||
pwsh: withAlpha("--accent-rgb"),
|
||||
},
|
||||
@@ -61,7 +61,7 @@ const config: Config = {
|
||||
* steps are collapsed rather than the ~140 rounded-lg/md/xl classes
|
||||
* across the app being rewritten: every one of them meant "a panel
|
||||
* corner", and this is where that decision now lives. rounded-full
|
||||
* is untouched — status dots and pills still need it.
|
||||
* is untouched - status dots and pills still need it.
|
||||
*/
|
||||
borderRadius: {
|
||||
sm: "3px",
|
||||
|
||||
Reference in New Issue
Block a user