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

Change background to make code listing more legible in dark mode. #3738

Merged
merged 2 commits into from
Jan 22, 2025

Conversation

dwelsch-esi
Copy link
Contributor

No description provided.

@dwelsch-esi
Copy link
Contributor Author

Screen shot attached. Color can be changed in the CSS file by changing the --aimet-code-grey-dark variable.
Screen Shot 2025-01-22 at 10 14 05 AM

quic-hitameht
quic-hitameht previously approved these changes Jan 22, 2025
@dwelsch-esi
Copy link
Contributor Author

Added a fix so that the "Out:" label in code output contrasts in dark mode:
Screen Shot 2025-01-22 at 10 41 59 AM

@@ -42,6 +43,10 @@ li.toctree-l2 [for^="toctree-checkbox-"] {
padding-top: 10px;
}

body[data-theme="dark"] .script-output::before {
Copy link
Contributor

Choose a reason for hiding this comment

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

can you share screenshot of before and after of code output for dark mode?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

"Before" screenshot below. "Output:" is illegible because it's black-on-black.
Screen Shot 2025-01-22 at 10 53 49 AM

@quic-hitameht quic-hitameht merged commit 2f8dfa6 into quic:develop Jan 22, 2025
4 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.

3 participants