Feat v0.6.13 responsive spacing
Some checks failed
CI/CD / detect-changes (pull_request) Successful in 4s
CI/CD / test-frontend (pull_request) Successful in 6s
CI/CD / build-and-deploy (pull_request) Has been cancelled
CI/CD / test-sqlite (pull_request) Has been cancelled
CI/CD / test-go-pg (pull_request) Has been cancelled
Some checks failed
CI/CD / detect-changes (pull_request) Successful in 4s
CI/CD / test-frontend (pull_request) Successful in 6s
CI/CD / build-and-deploy (pull_request) Has been cancelled
CI/CD / test-sqlite (pull_request) Has been cancelled
CI/CD / test-go-pg (pull_request) Has been cancelled
Add spacing token scale (--sp-1 through --sp-12, 4px grid) and tablet breakpoint (max-width: 1024px). Migrate all kernel CSS and 12 in-tree extension packages from hardcoded padding/margin/gap to design tokens. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -75,16 +75,13 @@ See CHANGELOG.md.
|
||||
| Kernel CSS contract | `docs/EXTENSION-CSS.md` — stable public classes (`.sw-btn--*`, `.sw-input`, `.sw-field`, `.sw-dialog`, `.sw-toast`, `.sw-menu`, `.sw-tabs`, etc.) and all CSS variables. Everything else internal. |
|
||||
| Migrate in-tree packages | `data-ext="{{.Surface}}"` on extension mount. All 12 packages prefixed to `.ext-{slug}-*`. CSS + JS updated in lockstep. |
|
||||
|
||||
### v0.6.13 — Responsive & Spacing
|
||||
### v0.6.13 — Responsive & Spacing ✅
|
||||
|
||||
Fill the gaps between mobile and desktop.
|
||||
|
||||
| Step | Description |
|
||||
|------|-------------|
|
||||
| Tablet breakpoint | Add `@media (min-width: 769px) and (max-width: 1024px)` rules. Secondary workspace pane: `360px` (from `480px`). Admin nav collapses to icon-only at this breakpoint. Settings nav: `180px`. |
|
||||
| Spacing scale | Define spacing tokens in `variables.css`: `--space-1: 4px` through `--space-8: 64px` (4px base, doubling). Migrate hardcoded padding/margin values to tokens. Priority: surfaces that users see on every session (sidebar, topbar, admin content areas). |
|
||||
| Font-size scale | Define `--text-xs: 0.75rem` through `--text-xl: 1.25rem` (5 stops). Migrate all font-size declarations. Remove `em`-based sizes (user-picker) and bare `px` sizes. |
|
||||
| Secondary pane responsive | `workspace-secondary.open` width uses `clamp(320px, 35vw, 560px)` instead of fixed `480px`. |
|
||||
Shipped. Spacing token scale (`--sp-1` through `--sp-12`, 4px grid) in
|
||||
`variables.css`. Tablet breakpoint (`max-width: 1024px`) in layout, surfaces,
|
||||
login. All kernel CSS and 12 in-tree packages migrated to spacing tokens.
|
||||
`EXTENSION-CSS.md` updated with spacing table and breakpoint guide.
|
||||
Font-size scale deferred to v0.6.14. See CHANGELOG.md.
|
||||
|
||||
### v0.6.14 — Visual Polish
|
||||
|
||||
@@ -123,7 +120,7 @@ v0.6.11 CSS Deduplication ✅ SHIPPED
|
||||
↓
|
||||
v0.6.12 Extension CSS Isolation ✅ SHIPPED
|
||||
↓
|
||||
v0.6.13 Responsive & Spacing ← Spacing tokens need stable class names to attach to
|
||||
v0.6.13 Responsive & Spacing ✅ SHIPPED
|
||||
↓
|
||||
v0.6.14 Visual Polish ← Final visual pass after structure is locked
|
||||
↓
|
||||
|
||||
Reference in New Issue
Block a user