Repository navigation
rowkit.dev 2.0: VitePress docs with the brand, and a landing page in both themes - #34
Merged
Merged
Conversation
…mes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, lighter icons. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Step 2 of rowkit.dev 2.0 (design/briefs/site.md, option B). The docs leave the desktop metaphor: no Explorer or Finder windows, taskbar, Dock, Start menu, Spotlight or own folder tree. What is left is VitePress's layout — nav bar, sidebar, content, outline, search, 404 — light and dark. - The brand: vermilion links, active item and outline marker, the logo (light and dark) instead of a title, a 15px sidebar; the code in VitePress's own highlighting. - «Examples in Windows 98 | Modern»: the rowkit theme the live examples are drawn in, in the nav bar from 1280px, above the content where the nav bar is full, in the phone menu. VitePress's dark mode turns the modern examples dark too. The site still starts in modern. - A demo sits on its theme's own surface (Windows 98's grey, modern's white or dark) in VitePress's frame, as its own stacking context so a table's frame and sticky header stay under the nav bar. - Nav: Guide, Components, Patterns, Themes, Storybook and a «1.0 beta» menu (changelog, roadmap, npm); Decisions stay in the sidebar. - The home page is VitePress's hero until the landing (step 3) replaces it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
rowkit.dev's home page as Figma Site v2 draws it, at 1440 and 390, in Windows 98, modern light and modern dark: the hero with the install command and the live Users table, «One set of components. Any look.» (one form in Windows 98, modern and a defineTheme() theme), eight live component previews and what comes next, «Built like a professional tool» with the numbers, a data table page in code, «Before you install», «Start in a minute», and the footer. The page is drawn by the site's rowkit theme; the switch over the table redraws the whole site. Its own values — paper and night under the page, vermilion on the modern accents, the code colours — are in landing.css. Vermilion as small text is #c8361c: the brand's #d63a1f is 4.48:1 on paper. Axe finds nothing in any of the three looks; no horizontal scroll at 375 or 1440. The old desktop shell's leftover assets go. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Lighthouse over six pages, phone and desktop: Accessibility and SEO 100 everywhere. What it and the browser found on the way: - Code blocks are GitHub's high-contrast light and default dark: the plain github-light has red, green and orange at 3.2–4.3:1 on VitePress's #f6f6f7, github-dark's comments 3.8:1. Inline code is brand-2 (brand-1 is 4.3:1 on its grey), the language label text-2. - The «Your theme» panel and the theme builder hand their <style> the CSS as innerHTML. As a text child the server escaped its quotes and every load reported a hydration mismatch. - The examples' switch joins the nav bar from 1360px: at 1280 the bar ran 6px short and cut «Modern» off. Below 1360 it sits above the page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The site's old shell icons stay deleted: main redrew them with a lighter line, but nothing on the new site uses them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
rowkit.dev 2.0, as
design/briefs/site.mdand Figma «Site v2» describe it: a product site instead of an operating-system costume. The site still opens in modern; Windows 98 is a switch away, or?theme=win98.Docs: VitePress's default theme with the brand on it
The landing page
At 1440 and 390, in Windows 98, modern light and modern dark. The sections, top to bottom:
defineTheme()theme, with the code that makes the third.Every number on the page is the repository's own:
pnpm size;Where it departs from Figma is written in the brief:
#c8361c. The brand's own is 4.48:1 on paper.columnsare objects. That is whatDataTabletakes; Figma has strings.Checks
Lighthouse on the home page, Introduction, Installation, Button, DataTable and Themes, phone and desktop:
Best Practices is 96 only because the Vercel Analytics script 404s when served locally.
Axe finds nothing on the landing page in any of the three looks.
No horizontal scroll at 375 and 1440.
Lint,
prettier --checkon tracked files,pnpm typecheckand the docs build all pass.Fixed on the way:
github-light-high-contrastandgithub-dark-default.<style>its CSS asinnerHTML. As a text child, the server escaped its quotes and every page load logged a hydration mismatch.No changeset: only
docs/anddesign/change. Main is merged in; the old shell icons main redrew in #32 stay deleted, since nothing on the new site uses them.🤖 Generated with Claude Code