mirror of
https://github.com/harvard-edge/cs249r_book.git
synced 2026-05-11 08:59:07 -05:00
[PR #1682] fix(slides): readable section-list tables on tinyml pages #10229
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/1682
Author: @farhan523
Created: 5/5/2026
Status: 🔄 Open
Base:
dev← Head:fix/slides-tinyml-dark-mode-tables📝 Commits (1)
9f51eddfix(slides): readable section-list tables on tinyml pages in dark mode📊 Changes
1 file changed (+51 additions, -0 deletions)
View changed files
📝
slides/assets/styles/dark-mode.scss(+51 -0)📄 Description
Summary
.module-cardhardcodedbackground: #ffffffwhile dark-mode.scss colored all<td>light gray, making row text invisible ontinyml-fundamentals.html(and the othertinyml-*pages that share the component)..module-card(background, headings, description, companion pill),.section-list(th/td color, borders, hover, sec-title, no-material), and.section-header-sm..badge-slides,.badge-reading, and.badge-colabswatches so the Slides/Reading/Colab pills keep adequate contrast on the dark card.Before:

After:

Test plan
tinyml-fundamentals.htmlin dark mode and confirm every row of every section-list is readable.tinyml-applications.html,tinyml-deploying.html,tinyml-mlops.htmlfor the same components.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.