@letterstory/design 0.2.0 → 0.2.2
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 +6 -0
- package/package.json +1 -1
- package/themes.d.ts +3 -1
- package/themes.json +8 -0
package/PRINCIPLES.md
CHANGED
|
@@ -43,6 +43,12 @@
|
|
|
43
43
|
destructive-action confirmation; `confirm()` is an ESLint error). If the primitive you
|
|
44
44
|
need does not exist, add it there first, then use it. Cross-feature imports of another
|
|
45
45
|
feature's private module are an ESLint error.
|
|
46
|
+
Two visual rules every primitive and feature follows:
|
|
47
|
+
- **No sharp corners.** Inputs, buttons, cards, panels and popovers are rounded 4px or
|
|
48
|
+
6px (`rounded-sm` is 6px), never square.
|
|
49
|
+
- **Borders line up.** Dividers in side-by-side panes sit on the same line (match header
|
|
50
|
+
heights), and borders that meet join cleanly — no offset seams or stray stubs where
|
|
51
|
+
one pane's border runs past another's.
|
|
46
52
|
|
|
47
53
|
5. **Agentic coverage via API/CLI/MCP.** A customer's own agent (a long-running background
|
|
48
54
|
agent monitoring their account — e.g. "Hermes") must be able to watch accounts, activity,
|
package/package.json
CHANGED
package/themes.d.ts
CHANGED
|
@@ -72,7 +72,8 @@ export type PhantomBlogTheme =
|
|
|
72
72
|
| "relay"
|
|
73
73
|
| "riot"
|
|
74
74
|
| "circuit"
|
|
75
|
-
| "canvas"
|
|
75
|
+
| "canvas"
|
|
76
|
+
| "codex";
|
|
76
77
|
|
|
77
78
|
/** The classic-design front pages (Lettersprite `src/components/home`), one per theme. */
|
|
78
79
|
export type PhantomBlogHome =
|
|
@@ -83,6 +84,7 @@ export type PhantomBlogHome =
|
|
|
83
84
|
| "broadsheet"
|
|
84
85
|
| "canvas"
|
|
85
86
|
| "circuit"
|
|
87
|
+
| "codex"
|
|
86
88
|
| "column"
|
|
87
89
|
| "commons"
|
|
88
90
|
| "cover"
|
package/themes.json
CHANGED
|
@@ -541,6 +541,14 @@
|
|
|
541
541
|
"group": "brand",
|
|
542
542
|
"tags": ["saas", "product", "clean", "minimal", "cards", "modern"],
|
|
543
543
|
"home": "canvas"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"value": "codex",
|
|
547
|
+
"label": "Codex",
|
|
548
|
+
"hint": "every.to-style literary tech-essay blog: solid-black masthead with a pale sky-cyan Subscribe pill, cream paper, serif headlines and serif body copy throughout, no ads",
|
|
549
|
+
"group": "publication",
|
|
550
|
+
"tags": ["editorial", "serif", "essay", "tech", "literary", "minimal"],
|
|
551
|
+
"home": "codex"
|
|
544
552
|
}
|
|
545
553
|
]
|
|
546
554
|
}
|