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

Add Black (OLED) editor theme preset #67871

Merged
merged 1 commit into from
Nov 28, 2022

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Oct 25, 2022

This preset uses a fully black background to reduce power usage on OLED displays, leading to increased battery life on laptops with OLED displays.

This preset is also useful for late night sessions, as OLED displays have a near-infinite contrast ratio.

This also adds a Draw Extra Borders editor setting which draws borders around some interactive nodes. This setting is required for good usability of a theme with a fully black background.

Visibility of disabled text (including unselected tab names) has been slightly increased for better accessibility, regardless of the editor theme preset in use.

This closes godotengine/godot-proposals#3368.

Preview

Edit (not shown on the screenshot): Visibility of "disabled" text (such as unselected tab names) has been slightly increased. This applies to any theme preset, not just Black (OLED).

2022-10-25_17 23 15

@Calinou Calinou force-pushed the editor-theme-add-oled-preset branch from 9f7c54d to 3b84ae4 Compare October 25, 2022 15:25
@Calinou Calinou added this to the 4.0 milestone Oct 25, 2022
@Calinou Calinou force-pushed the editor-theme-add-oled-preset branch 2 times, most recently from fe8b6ba to 26e7772 Compare October 25, 2022 17:37
@Calinou Calinou requested a review from a team as a code owner October 25, 2022 17:37
This preset uses a fully black background to reduce power usage on OLED
displays, leading to increased battery life on laptops with OLED displays.

This preset is also useful for late night sessions, as OLED displays
have a near-infinite contrast ratio.

This also adds a Draw Extra Borders editor setting which draws borders
around some interactive nodes. This setting is required for good
usability of a theme with a fully black background.

Visibility of disabled text (including unselected tab names) has been
slightly increased for better accessibility, regardless of the editor
theme preset in use.
@Calinou Calinou force-pushed the editor-theme-add-oled-preset branch from 26e7772 to f613db0 Compare October 25, 2022 23:24
@akien-mga akien-mga merged commit 2fadc12 into godotengine:master Nov 28, 2022
@akien-mga
Copy link
Member

Thanks!

@Calinou Calinou deleted the editor-theme-add-oled-preset branch November 28, 2022 09:53
@caimantilla
Copy link
Contributor

Are there any plans to back-port this preset to 3.x?

@Calinou
Copy link
Member Author

Calinou commented Dec 6, 2022

Are there any plans to back-port this preset to 3.x?

Adding a new built-in preset would break existing editor settings (as the Custom preset would be moved by one slot), so probably not. The Draw Extra Borders editor setting is also nontrivial to backport.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add an OLED-friendly dark theme preset to the editor
4 participants