Skip to content
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

Support dark mode #5

Closed
wants to merge 2 commits into from
Closed

Support dark mode #5

wants to merge 2 commits into from

Conversation

kurtmckee
Copy link

@kurtmckee kurtmckee commented Feb 28, 2023

This PR introduces the following changes:

  • Add support for dark mode.

    This change does not require separate light and dark versions of the UDL. This is accomplished by making the style backgrounds transparent. In addition, the foreground for default text is transparent so TOML keys render neatly.

  • Update the light screenshot and add a dark screenshot.

The results can be viewed by browsing the GitHub repo at this branch's current commit.

Fixes #4

This is accomplished using the new `colorStyle` attribute
to make the background style transparent.

Foreground transparency is also enabled for the default style,
which allows TOML keys to be readable in light and dark modes.

Fixes #4
Images were captured using Courier New, size 14.
The dark screenshot was captured using the Monokai theme.
@kurtmckee kurtmckee closed this Jun 14, 2023
@kurtmckee kurtmckee deleted the support-dark-mode-issue-4 branch June 14, 2023 13:51
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.

Dark mode support
1 participant