Apply CorvidLabs design system to the docs#287
Closed
0xLeif wants to merge 1 commit into
Closed
Conversation
Vendor the brand standard (tokens.css, theme.js, theme-toggle, crow marks, favicon) into site/public/brand and build the docs + examples + shared chrome on it: - Import brand tokens.css globally; alias the site's legacy variable layer onto the brand tokens so every component themes for free in light + dark. Square corners, no purple. - Schibsted Grotesk + Spline Sans Mono via Google Fonts. - Standard sun/moon theme toggle in the header (prefers-color-scheme + pre-paint, no flash); crow head mark inline (currentColor); favicon -> /brand/favicon.svg. - Switch Shiki to the css-variables theme and map --astro-code-token-* onto the brand --code-* syntax palette so spec/code blocks follow light/dark and stay on-brand. - prefers-reduced-motion guards, focus-visible, AA contrast both modes. Marketing landing + language gallery (moving to the hub) left untouched. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
There was a problem hiding this comment.
✅ Corvin says...
_
<(^\ .oO(Caw! ^v^)
|/(\
\(\\
" "\\
"Caw! Found a shiny new spec!"
CI Summary
| Check | Status |
|---|---|
| Validate action.yml | ✅ Passed |
| Dependency Audit | ✅ Passed |
| Code Coverage | ✅ Passed |
| Format Check | ✅ Passed |
| Docs Site | ✅ Passed |
| Spec Validation | ✅ Passed |
| Tests (build, test, clippy) | ✅ Passed |
| VS Code Extension | ✅ Passed |
📋 Spec Validation Details
✅ SpecSync: Passed
| Metric | Value |
|---|---|
| Specs checked | 58 |
| Passed | 58 |
| Errors | 0 |
| Warnings | 0 |
| File coverage | 100% (74/74) |
| LOC coverage | 100% (33727/33727) |
Generated by specsync · Run specsync check --format github to reproduce
Powered by corvid-pet
Contributor
Author
|
Superseded by the single-site consolidation: docs are migrating into corvidlabs-site (the only site updated going forward); this site will be redirected/retired. Closing per the new strategy. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Themes the spec-sync docs site to the CorvidLabs design-system standard. The site was off-brand (no design tokens, no light/dark, sky-blue accent). This vendors the brand standard and rebuilds the docs (11 pages) + examples (3) + shared chrome on it. The marketing landing and language gallery are being moved to the corvidlabs-site hub, so they were left untouched beyond the shared header/footer.
site/public/brand/viasync-to.sh(design-system v1.1.0):tokens.css,theme.js,theme-toggle.html, crow marks,favicon.svg.tokens.cssloaded globally; the site's legacy variable layer (--bg,--text,--accent,--drift…) is aliased onto brand tokens, so every existing component themes for free in light + dark. Square corners, no purple.prefers-color-schemewith the standard sun/moon toggle in the header, pre-paint snippet for no-flash,?theme=override for QA. Never a "THEME" text button.currentColorin the header; favicon →/brand/favicon.svg.css-variablestheme and mapped--astro-code-token-*onto the brand--code-*palette, so all.spec.md/YAML/CLI code blocks follow light/dark and stay on-brand (teal keywords, green strings, amber numbers, muted comments — no blue/purple defaults).prefers-reduced-motionguards on all transitions/animations,focus-visiblerings on the sheen accent, WCAG AA in both modes, responsive (mobile keeps the toggle, hides GitHub/Install).Test Plan
bun run buildpasses (34 pages)bun run lint(astro check): 0 errors / 0 warnings / 0 hintsNeeds review
index.astro) + language gallery (LanguageCard,languages/[slug]) still carry the old amber#fbbf24accent onSpecCodeDiff/language tags. Intentionally left for the hub migration — flagging so it isn't mistaken for a miss.🤖 Generated with Claude Code