slides: use light code block theme for projection contrast#17385
Merged
slides: use light code block theme for projection contrast#17385
Conversation
…ibility Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update code color scheme for better visibility
slides: use light code block theme for projection contrast
Feb 21, 2026
Copilot stopped work on behalf of
pelikhan due to an error
February 21, 2026 04:22
Copilot stopped work on behalf of
pelikhan due to an error
February 21, 2026 04:23
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the slide theme’s code block styling to a light GitHub-like palette to improve readability/contrast when presenting on projectors.
Changes:
- Switch
section pre(code blocks) to a light background with dark foreground text and matching border color. - Ensure
section pre codeinherits the parent text color for consistent rendering on the new background. - Add scoped Highlight.js token color overrides to approximate GitHub Light syntax colors inside code blocks.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
docs/slides/gh-aw-theme.cssto use a lighter color scheme for code blocks:section prebackground from dark#0d1117to light#f6f8fa(GitHub light gray)section preborder from#21262dto#d0d7decolor: #1c2128(dark near-black) tosection prefor text contrastcolor: #1c2128tosection code(inline code)color: inherittosection pre codeso pre-block code inherits the light themebackground:#f6f8faandcolor:#1c2128in compiled CSS)💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.