Skip to content

Wire up custom.css for Documenter muted color palette + Inter font - #6

Merged
AronT-TLV merged 1 commit into
mainfrom
docs/muted-color-palette
Aug 5, 2026
Merged

Wire up custom.css for Documenter muted color palette + Inter font#6
AronT-TLV merged 1 commit into
mainfrom
docs/muted-color-palette

Conversation

@AronT-TLV

Copy link
Copy Markdown
Member

Summary

  • Calculus never had the assets = ["assets/custom.css"] mechanism Linear_Algebra and Math_Foundations already had — missed during its original setup. Adds both the docs/make.jl wiring and the file itself.
  • Sourced from the new canonical location: math_tech_study/project_resources/docs-assets/custom.css.
  • Muted color: Documenter's saturated default link color (#2e63b8) and docstring chevron (#2E63BD) replaced with the same muted blue-gray family chosen for the Franklin main site.
  • Font: Lato → Inter for body/UI text, chosen after live comparison against Lato (Documenter's native default), Roboto, and Raleway (used on the Franklin main site).
  • Verified live via LiveServer on this repo specifically (first time this asset has ever run here) — docstring rendering, code monospace, math all unaffected.

Part of the FourM website domain takeover plan (math_tech_study/_research/fourm-website-domain-takeover-workplan.md), Phase 6 (Documenter sub-site theme).

Test plan

  • typos clean
  • Local docs/make.jl build succeeds
  • Verified live via LiveServer — color, font, docstring/code rendering all confirmed correct
  • CI passes on this PR

Calculus never had the assets=["assets/custom.css"] mechanism that
Linear_Algebra and Math_Foundations already had -- missed during
Calculus's original setup. Adds both the make.jl wiring and the file
itself, sourced from the new canonical location
(math_tech_study/project_resources/docs-assets/custom.css).

Replaces Documenter's saturated default link/chevron blue
(#2e63b8/#2E63BD) with the same muted blue-gray family chosen for the
Franklin main site, and switches body/UI text from Lato to Inter
(chosen after live comparison against Lato, Roboto, and Raleway).
Verified live: docstring rendering, code monospace, and math all
unaffected.
@AronT-TLV
AronT-TLV merged commit 0864afe into main Aug 5, 2026
5 checks passed
@AronT-TLV
AronT-TLV deleted the docs/muted-color-palette branch August 5, 2026 12:53
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