Repository navigation
design: dark by default with light toggle, brand colours and fonts - #15
Merged
Merged
Conversation
Follows gobinath.com docs/DESIGN.md §3 for subdomains: - appearance 'dark' and <html class="dark"> so it is dark without JS; light only when chosen - black / off-white / yellow tokens replace emerald and purple gradients - Archivo, Newsreader, JetBrains Mono via Fontsource; drop Inter and Dancing Script - yellow links underlines, focus ring, <mark>, reduced-motion support, theme-color sync 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.
Brings notes.gobinath.com in line with the subdomain rules in gobinath.com
docs/DESIGN.md§3 (see gobinathm/gobinath.com#29).Theme
appearance: 'dark': dark for every visitor by default, whatever their system setting; the existing toggle switches to light and is remembered.<html class="dark">, so the site is dark without JavaScript too. A tiny head script removes it before paint only when the visitor chose light (no flash).theme-colorfollows the theme (#0b0b0a/#f7f6f0).Colour: black / off-white / yellow tokens replace the old emerald + purple mesh gradients. Yellow is text only on dark; on light, brand text is ink with yellow markers and underlines. Gradient-clipped titles are now solid text. White-on-yellow buttons now use ink text.
Type: Archivo (headings), Newsreader (body), JetBrains Mono (code and uppercase labels), self-hosted through Fontsource. VitePress's bundled Inter is dropped (
vitepress/theme-without-fonts) and the Dancing Script footer font is removed.Also: yellow focus ring,
<mark>highlight,prefers-reduced-motion, yellow logo.Not changed: vendor colours on cert badges (AWS orange, Azure blue, GCP blue), status colours (warning/danger), the PDF export styles, and the standalone HTML cheatsheets in
public/cheatsheets/.pnpm run docs:buildpasses. Checked dark, light and no-JS rendering in Chrome.🤖 Generated with Claude Code