@letterstory/design 0.2.11 → 0.2.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/PRINCIPLES.md +11 -0
- package/package.json +1 -1
- package/styled.d.ts +1 -0
- package/styled.js +2 -0
- package/tailwind-v3.cjs +1 -0
- package/tailwind-v4.css +1 -0
- package/tokens.css +2 -0
- package/tokens.json +2 -0
package/PRINCIPLES.md
CHANGED
|
@@ -108,3 +108,14 @@ count (`docs/architecture/plan-strategies.md`); the code keeps the names Plan an
|
|
|
108
108
|
finder reads only the patterns, the check reads when it is not a mistake (`lib/recipes/known-issues.ts`). Technical problems a rule can decide (broken or missing
|
|
109
109
|
structured data, link previews) are rules (`lib/site/observations/`). A "Z is broken" row belongs
|
|
110
110
|
in Fix's known issues, never in the Plan.
|
|
111
|
+
|
|
112
|
+
## UI copy
|
|
113
|
+
|
|
114
|
+
Headlines, labels, buttons, nav items and data only (Kaya, 2026-11-09: explainer copy makes people ask "can I just
|
|
115
|
+
give this to my Claude?"). No subtitle under a heading, no helper paragraph, no "what this does" blurb, no option
|
|
116
|
+
description, no tooltip that restates its control. Where a line is truly needed (an empty state, an error the user
|
|
117
|
+
recovers from), one plain sentence, ideally under 8 words. No AI tells: "seamlessly", "effortlessly", "powerful",
|
|
118
|
+
"unlock", "leverage", "supercharge", "in just a few clicks", "Whether you're…", em-dash asides, lists of three
|
|
119
|
+
adjectives, "AI-powered". Model-written text shown in the UI follows the same rule: keep the field for agents, and
|
|
120
|
+
either keep it off the page or tighten its prompt. The words themselves are decided once in
|
|
121
|
+
`docs/architecture/copy-pass.md`.
|
package/package.json
CHANGED
package/styled.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export interface Palette {
|
|
|
19
19
|
readonly "pr-merged": string;
|
|
20
20
|
readonly "pr-open": string;
|
|
21
21
|
readonly "pr-closed": string;
|
|
22
|
+
readonly "pr-phantom": string;
|
|
22
23
|
readonly "failure-ours": string;
|
|
23
24
|
readonly "failure-agent": string;
|
|
24
25
|
readonly "failure-setup": string;
|
package/styled.js
CHANGED
|
@@ -25,6 +25,7 @@ export const tokens = {
|
|
|
25
25
|
"pr-merged": "#205f9f",
|
|
26
26
|
"pr-open": "#3fabdc",
|
|
27
27
|
"pr-closed": "#d5d4d1",
|
|
28
|
+
"pr-phantom": "#7b5ea7",
|
|
28
29
|
"failure-ours": "#bc4945",
|
|
29
30
|
"failure-agent": "#285e9f",
|
|
30
31
|
"failure-setup": "#0f9b89",
|
|
@@ -81,6 +82,7 @@ export const tokens = {
|
|
|
81
82
|
"pr-merged": "#519fdd",
|
|
82
83
|
"pr-open": "#0e6a9b",
|
|
83
84
|
"pr-closed": "#363533",
|
|
85
|
+
"pr-phantom": "#a48ad6",
|
|
84
86
|
"failure-ours": "#c74a4d",
|
|
85
87
|
"failure-agent": "#4284c5",
|
|
86
88
|
"failure-setup": "#32a88e",
|
package/tailwind-v3.cjs
CHANGED
|
@@ -27,6 +27,7 @@ module.exports = {
|
|
|
27
27
|
"pr-merged": "var(--pr-merged)",
|
|
28
28
|
"pr-open": "var(--pr-open)",
|
|
29
29
|
"pr-closed": "var(--pr-closed)",
|
|
30
|
+
"pr-phantom": "var(--pr-phantom)",
|
|
30
31
|
"failure-ours": "var(--failure-ours)",
|
|
31
32
|
"failure-agent": "var(--failure-agent)",
|
|
32
33
|
"failure-setup": "var(--failure-setup)",
|
package/tailwind-v4.css
CHANGED
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
--color-pr-merged: var(--pr-merged);
|
|
35
35
|
--color-pr-open: var(--pr-open);
|
|
36
36
|
--color-pr-closed: var(--pr-closed);
|
|
37
|
+
--color-pr-phantom: var(--pr-phantom);
|
|
37
38
|
--color-failure-ours: var(--failure-ours);
|
|
38
39
|
--color-failure-agent: var(--failure-agent);
|
|
39
40
|
--color-failure-setup: var(--failure-setup);
|
package/tokens.css
CHANGED
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
--pr-merged: #205f9f;
|
|
46
46
|
--pr-open: #3fabdc;
|
|
47
47
|
--pr-closed: #d5d4d1;
|
|
48
|
+
--pr-phantom: #7b5ea7;
|
|
48
49
|
--failure-ours: #bc4945;
|
|
49
50
|
--failure-agent: #285e9f;
|
|
50
51
|
--failure-setup: #0f9b89;
|
|
@@ -96,6 +97,7 @@
|
|
|
96
97
|
--pr-merged: #519fdd;
|
|
97
98
|
--pr-open: #0e6a9b;
|
|
98
99
|
--pr-closed: #363533;
|
|
100
|
+
--pr-phantom: #a48ad6;
|
|
99
101
|
--failure-ours: #c74a4d;
|
|
100
102
|
--failure-agent: #4284c5;
|
|
101
103
|
--failure-setup: #32a88e;
|
package/tokens.json
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"pr-merged": "#205f9f",
|
|
20
20
|
"pr-open": "#3fabdc",
|
|
21
21
|
"pr-closed": "#d5d4d1",
|
|
22
|
+
"pr-phantom": "#7b5ea7",
|
|
22
23
|
"failure-ours": "#bc4945",
|
|
23
24
|
"failure-agent": "#285e9f",
|
|
24
25
|
"failure-setup": "#0f9b89",
|
|
@@ -62,6 +63,7 @@
|
|
|
62
63
|
"pr-merged": "#519fdd",
|
|
63
64
|
"pr-open": "#0e6a9b",
|
|
64
65
|
"pr-closed": "#363533",
|
|
66
|
+
"pr-phantom": "#a48ad6",
|
|
65
67
|
"failure-ours": "#c74a4d",
|
|
66
68
|
"failure-agent": "#4284c5",
|
|
67
69
|
"failure-setup": "#32a88e",
|