Skip to content

feature/dev 1879 improve contrast on certain elements #1899

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

stanley2058
Copy link
Contributor

Improve contrast of UI elements:

  • Default theme now has higher contrast linenumber & code comments.
    The link buttons in the navbar, last changed at, and the action button on the top right are now more visible in dark mode.
  • Fix an issue where the theme name would not be visible when hovering under dark mode.

Before:
Screenshot_20250321_115308

After:
Screenshot_20250321_115243

The color of active line is also updated:
(Before)
image
(After)
image

Signed-off-by: stanley2058 <stanley2058@yahoo.com.tw>
Signed-off-by: stanley2058 <stanley2058@yahoo.com.tw>
@stanley2058 stanley2058 linked an issue Mar 21, 2025 that may be closed by this pull request
Copy link
Member

@jackycute jackycute left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks much better now!

@jackycute jackycute requested review from Yukaii and Copilot April 18, 2025 02:56
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request improves the contrast of UI elements, particularly enhancing dark mode readability by adding the one-dark.css file and making various theme adjustments.

  • Adds one-dark.css to the webpack build for updated dark mode support
  • Improves contrast for key UI components such as link buttons and theme names
Files not reviewed (3)
  • public/css/codemirror-extend/one-dark.css: Language not supported
  • public/css/extra.css: Language not supported
  • public/css/index.css: Language not supported

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.

Contrast is at certain parts too low
2 participants