Skip to content

Conversation

@Subhajit-das21
Copy link

Book pages were missing proper dark-mode styling for inline and block
code elements due to existing .edition2 code rules overriding the
theme styles.

This change adds scoped dark-mode styles for .edition2 .book code
and pre elements using existing design tokens, aligning Book pages
with Docs styling and restoring proper contrast in dark mode.

Fixes #2120

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.

CSS for code spans and blocks is not applied to Book

1 participant