Skip to content

fix(web): add dark mode overrides for markstream-vue code/table surface tokens#639

Merged
sheepbox8646 merged 1 commit into
memohai:mainfrom
qqqqqf-q:fix/markstream-dark-mode-v2
Jun 15, 2026
Merged

fix(web): add dark mode overrides for markstream-vue code/table surface tokens#639
sheepbox8646 merged 1 commit into
memohai:mainfrom
qqqqqf-q:fix/markstream-dark-mode-v2

Conversation

@qqqqqf-q

Copy link
Copy Markdown
Collaborator

Summary

  • --code-bg, --code-border, --table-header-bg, --inline-code-bg are set to hardcoded light-surface OKLCH values inside .markstream-vue {} (light mode only)
  • In dark mode, these remain as light gray backgrounds, making code blocks and table headers look broken
  • Add .dark .markstream-vue {} block to flip each token to a matching dark-surface equivalent

Changes

apps/web/src/style.css — 8 lines added, no other files touched

…ce tokens

Light-mode hardcoded values (oklch 0.935–0.948) are applied globally,
causing code blocks and table headers to render as light gray on dark
backgrounds. Add .dark .markstream-vue {} block to flip --code-bg,
--code-border, --table-header-bg, and --inline-code-bg to matching
dark-surface equivalents.
@sheepbox8646 sheepbox8646 merged commit 50db3b6 into memohai:main Jun 15, 2026
13 checks passed
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.

2 participants