Skip to content

FIX: make word emphasis readable on light themes#19

Open
syabro wants to merge 1 commit into
mattleong:mainfrom
syabro:fix/theme-aware-word-emphasis
Open

FIX: make word emphasis readable on light themes#19
syabro wants to merge 1 commit into
mattleong:mainfrom
syabro:fix/theme-aware-word-emphasis

Conversation

@syabro

@syabro syabro commented Jun 18, 2026

Copy link
Copy Markdown

Use lighter word-emphasis backgrounds to fix "black text on dark bg" when the configured Shiki theme is light, keeping the existing dark-theme colors unchanged. Add a regression test for the light-theme highlight colors.

Before:
image

after
image

Use lighter word-emphasis backgrounds when the configured Shiki theme is light, keep existing dark-theme background colors, and remove the forced bold style from word emphasis. Add and update regression tests for the rendered emphasis sequences.
@syabro syabro force-pushed the fix/theme-aware-word-emphasis branch from f3c5514 to bfa2cc1 Compare June 19, 2026 06:09
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.

1 participant