Files
cs249r_book/shared/styles/BRAND.md
Vijay Janapa Reddi 98f45a5ae4 fix(docs): repair internal links for corpus build artifact and book SCSS
- interviews/README: stop linking gitignored vault/corpus.json; note vault build
- shared/styles/BRAND: point to style-vol1/2 instead of nonexistent style.scss
2026-04-26 11:27:40 -04:00

3.4 KiB

Brand colours and where they live

Single source of truth: shared/styles/_brand.scss. Theme files in themes/ consume those tokens and expose semantic variables ($accent, $accent-dark, $callout-*) that the rest of the SCSS layer uses.

If you change the brand palette, update _brand.scss first, then verify the non-SCSS sites listed below.

Palette

Token Value Used for
$brand-crimson #A51C30 Volume I, Harvard SEAS, MLSys ecosystem accent
$brand-crimson-dark #E85D75 Volume I dark-mode accent
$brand-eth-blue #1F407A Volume II
$brand-eth-blue-dark #6B9FD4 Volume II dark-mode accent

Hardcoded references the SCSS tokens cannot reach

These files cannot @import SCSS variables and so duplicate the colour values. When rebranding, grep for the hex code and update each:

HTML config (<meta name="theme-color">)

Hand-written CSS (not SCSS)

Inline CSS in .qmd

Subsite SCSS that still hardcodes colors

These are pre-existing hardcoded copies (kept verbatim to avoid breaking independent subsite builds; future cleanup should refactor each to @import from this brand layer):

Other surfaces