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

Changed dark theme slightly to make code more readable in some cases #2960

Merged
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions docs/reST/themes/classic/static/pygame.css_t
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,11 @@ dt code {
color: {{ theme_dark_codecomment }};
}

.dark-theme .highlight .nf,
.dark-theme .highlight .fm {
color: {{ theme_dark_functiondefinecolor }};
}

MyreMylar marked this conversation as resolved.
Show resolved Hide resolved
code.download span.pre {
font-family: inherit;
font-weight: normal;
Expand Down Expand Up @@ -637,17 +642,17 @@ div.body h6 {
line-height: 130%;
}

div.body h1 {
div.body h1 {
font-size: 1.5em; color: {{ theme_h1color }};
}
.dark-theme div.body h1 {
.dark-theme div.body h1 {
color: {{ theme_dark_h1color }};
}
div.body h2 {
div.body h2 {
font-size: 1.4em;
color: {{ theme_h2color }};
}
.dark-theme div.body h2 {
.dark-theme div.body h2 {
color: {{ theme_dark_h2color }};
}
div.body h3 { font-size: 1.3em; }
Expand Down
1 change: 1 addition & 0 deletions docs/reST/themes/classic/theme.conf
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ dark_notebgcolor = #555349
dark_notebordercolor = #6e6b5e
dark_cautionbgcolor = rgb(255 25 25 / 30%)
dark_cautionbordercolor = rgb(255 60 60)
dark_functiondefinecolor = #50b0fa
MyreMylar marked this conversation as resolved.
Show resolved Hide resolved

relbarbgcolor = #6aee28
relbartextcolor = #000000
Expand Down