Why Tansy
diff --git a/apps/site/src/index.css b/apps/site/src/index.css
index 7cd33ec..f318b31 100644
--- a/apps/site/src/index.css
+++ b/apps/site/src/index.css
@@ -701,6 +701,114 @@
color: #82aaff;
}
+.tok-pkg {
+ color: #a5d6a7;
+ font-weight: 600;
+}
+
+/* ---------- Install ---------- */
+
+.install {
+ display: flex;
+ flex-direction: column;
+ gap: 2.5rem;
+ padding-block: 1rem 5rem;
+}
+
+.section-lede {
+ max-width: 40rem;
+ color: var(--ink-soft);
+ font-size: 1.0625rem;
+ line-height: 1.6;
+}
+
+.inline-code {
+ padding: 0.1em 0.4em;
+ border-radius: 0.3rem;
+ background: var(--surface-sunk);
+ font-family: var(--font-mono);
+ font-size: 0.9em;
+ color: var(--ink);
+ overflow-wrap: anywhere;
+}
+
+.install-grid {
+ display: grid;
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
+ gap: 2.5rem;
+ align-items: start;
+}
+
+.install-main {
+ display: flex;
+ flex-direction: column;
+ gap: 0.85rem;
+ min-width: 0;
+}
+
+.command-panel {
+ min-height: 0;
+}
+
+.install-main > .command-panel pre {
+ font-size: 0.8125rem;
+}
+
+.install-meta {
+ font-family: var(--font-mono);
+ font-size: 0.75rem;
+ color: var(--ink-muted);
+}
+
+.install-meta a {
+ color: var(--accent);
+ text-decoration: underline;
+ text-underline-offset: 0.2em;
+}
+
+.install-meta a:hover {
+ color: var(--accent-strong);
+}
+
+.install-alt {
+ display: grid;
+ gap: 0.6rem;
+ margin: 0.25rem 0 0;
+ padding: 0;
+ list-style: none;
+}
+
+.install-setup {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-start;
+ gap: 0.85rem;
+ min-width: 0;
+}
+
+.install-setup h3 {
+ font-size: 1.25rem;
+ font-weight: 700;
+ letter-spacing: -0.02em;
+}
+
+.install-setup-note {
+ color: var(--ink-soft);
+ font-size: 0.9375rem;
+ line-height: 1.6;
+}
+
+.install-panels {
+ display: grid;
+ gap: 0.6rem;
+ width: 100%;
+ min-width: 0;
+}
+
+.install-panels pre {
+ font-size: 0.75rem;
+}
+
/* ---------- Roadmap ---------- */
.roadmap {
@@ -837,7 +945,8 @@
}
.why-grid,
- .roadmap-grid {
+ .roadmap-grid,
+ .install-grid {
grid-template-columns: minmax(0, 1fr);
}
diff --git a/docs/ROADMAP.md b/docs/ROADMAP.md
index cf86af6..563c989 100644
--- a/docs/ROADMAP.md
+++ b/docs/ROADMAP.md
@@ -74,14 +74,23 @@ Done in v0.4.0:
Tailwind, plain React and Next.js apps (`npm run test:package`)
- [x] CI and tag-triggered publishing (Gitea Actions)
+Done in v0.4.1:
+
+- [x] The `openkhalix` npm organisation, and the first published releases
+ (0.4.0 and 0.4.1 on the `latest` tag)
+- [x] Public repository at `git.openkhalix.com/thekhalidsha/tansy-ui`, with
+ `repository` and `bugs` in `package.json` so the npm page links to the
+ source and its issue tracker
+
Still to do:
-- [ ] Create the `openkhalix` npm organisation and publish the first release.
- [ ] Serve the same components as a shadcn-compatible registry, so
`npx shadcn add
` copies a Tansy component into a project.
- [ ] Ship the palettes as a registry base item (tokens, fonts and CSS
variables in one install).
-- [ ] A public repository URL in `package.json` once the repo is public.
+- [ ] An npm automation token, so releasing is a tag push with no browser
+ step. Today `npm publish` needs web 2FA, which blocks unattended
+ releases.
## Phase 3: Where Tansy can lead