mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-07 02:03:55 -05:00
[PR #1605] [MERGED] fix(site/community): restore spotlight quote visibility in dark mode #9216
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/harvard-edge/cs249r_book/pull/1605
Author: @farhan523
Created: 4/30/2026
Status: ✅ Merged
Merged: 4/30/2026
Merged by: @profvjreddi
Base:
dev← Head:fix/community-spotlight-dark-mode📝 Commits (2)
85bbfbefix(site/community): restore spotlight quote visibility in dark mode30e5527Merge branch 'dev' into fix/community-spotlight-dark-mode📊 Changes
1 file changed (+24 additions, -6 deletions)
View changed files
📝
site/community/community.css(+24 -6)📄 Description
Summary
blockquotewith a near-white background and a dark muted text color. On the community Spotlight cards in dark mode this rendered the quotes as faint text on a stray light rectangle (see Before).background/padding/border/border-radiuson.spotlight-quote, plus explicitcolor: #e5e7eb !importantdark-mode overrides keyed on both.quarto-darkand[data-bs-theme="dark"](matches the pattern already used by other community elements incommunity.css).Before
After
Test plan
quarto preview siteand open/community/in dark mode — both spotlight quotes render legibly with no white rectangle behind them.blockquote(e.g. textbook chapters) are unaffected (rules are scoped to.spotlight-quote).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.