Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
$link-color: #39729E;
$text-muted: #6a737b;

// Align light mode with the site's brand blue (theme-dark.scss $blue).
// This also clears the white-on-primary contrast failures on cosmo's
// #2780e3 (3.97:1): .btn-primary, .text-bg-primary badges, and Quarto's
// notebook-preview header, whose h6 Quarto dims to opacity .9 (axe
// color-contrast-b09c0e, -50505e). White on #447099 is 5.22:1; the faded
// h6 is 4.59:1.
$primary: #447099;

// Quarto's body-secondary mixin (blockquotes, captions, asides, header
// section numbers) defaults to theme-dim($body-color, 25%) = #6d7a86, only
// 4.39:1 on white — a WCAG AA 1.4.3 failure (axe color-contrast-7ed054).
Expand Down
Loading