Skip to content

docs(book): soften dark-mode SVG fill colors across cute and compiler diagrams - #1640

Merged
nihalpasham merged 1 commit into
NVIDIA:mainfrom
nihalpasham:docs/book-dark-mode-palette
Oct 25, 2026
Merged

nihalpasham merged 1 commit into
NVIDIA:mainfrom
nihalpasham:docs/book-dark-mode-palette

Conversation

@nihalpasham

Copy link
Copy Markdown
Collaborator

Summary

  • Lighten and desaturate the @media (prefers-color-scheme: dark) filler colors across the dual-theme SVGs in cuda-oxide-book/ so amber, purple, teal, coral, and neutral containers render as subtle muted slate tones instead of heavy dark brown/indigo fills.
  • Lift the dark-mode canvas and inner .k-box pill backgrounds so nested pills remain clearly readable against container fills.
  • Replace two hardcoded #5c5c5c text fills in zipped-divide-and-slice.svg and host-device-tma-type-agreement.svg with the theme-aware .ts class.

Test plan

  • just -f cuda-oxide/Justfile book builds with zero warnings
  • Verified rendered dark-mode diagrams in the local book preview

… diagrams

Signed-off-by: nihalpasham <nihalp@nvidia.com>
@nihalpasham
nihalpasham merged commit 9df9e7c into NVIDIA:main Oct 25, 2026
66 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant