Skip to content

Fix the docs dark theme colors#5

Merged
MikeAlhayek merged 2 commits into
mainfrom
ma/fix-theme
Jun 15, 2026
Merged

Fix the docs dark theme colors#5
MikeAlhayek merged 2 commits into
mainfrom
ma/fix-theme

Conversation

@MikeAlhayek

Copy link
Copy Markdown
Member

This pull request improves the dark mode styling for documentation by enhancing readability and ensuring consistent appearance for tables, cards, code blocks, and other components. The changes are applied across both docs/docs/css/custom.css and docs/src/css/custom.css to ensure a unified dark mode experience.

Dark mode styling improvements:

  • Added specific styles for tables in dark mode, including text color, background color, and border color adjustments for better readability and visual consistency. [1] [2]
  • Improved the appearance of table headers, striped rows, and bordered tables in dark mode for clarity and contrast. [1] [2]

General readability and component enhancements:

  • Set readable text color for main elements (e.g., body, .main-wrapper, .theme-doc-root, and article) and ensured cards, example blocks, and standalone components inherit appropriate background and border colors in dark mode.
  • Enhanced code block and highlight contrast in dark mode for better code visibility.
  • Adjusted header and sub-header colors in dark mode to maintain sufficient contrast and visual hierarchy.

MikeAlhayek and others added 2 commits June 14, 2026 22:09
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…d, table-bordered)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@MikeAlhayek MikeAlhayek merged commit 838b441 into main Jun 15, 2026
4 checks passed
@MikeAlhayek MikeAlhayek deleted the ma/fix-theme branch June 15, 2026 05:16
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