Skip to content

Commit 8b5a3b8

Browse files
authored
Make text input colors more legible (#23744)
I had a hard time seeing text in the text inputs, so I changed the default dark theme to make it more legible. ## Before <img width="378" height="72" alt="Screenshot 2026-04-09 at 10 11 04 PM" src="https://github.com/user-attachments/assets/94c3a00c-93cb-4de5-9c19-b1993fd01e26" /> ## After <img width="378" height="72" alt="Screenshot 2026-04-09 at 10 09 05 PM" src="https://github.com/user-attachments/assets/f49a8e08-1bff-4487-8034-9a638254e554" />
1 parent f4a3183 commit 8b5a3b8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

crates/bevy_feathers/src/dark_theme.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,13 +99,13 @@ pub fn create_dark_theme() -> ThemeProps {
9999
(tokens::COLOR_PLANE_BG, palette::GRAY_1),
100100
// Text Input
101101
(tokens::TEXT_INPUT_BG, palette::GRAY_1),
102-
(tokens::TEXT_INPUT_TEXT, palette::LIGHT_GRAY_1),
102+
(tokens::TEXT_INPUT_TEXT, palette::WHITE),
103103
(
104104
tokens::TEXT_INPUT_TEXT_DISABLED,
105105
palette::WHITE.with_alpha(0.5),
106106
),
107-
(tokens::TEXT_INPUT_CURSOR, palette::ACCENT),
108-
(tokens::TEXT_INPUT_SELECTION, palette::GRAY_2),
107+
(tokens::TEXT_INPUT_CURSOR, palette::ACCENT.lighter(0.2)),
108+
(tokens::TEXT_INPUT_SELECTION, palette::ACCENT),
109109
]),
110110
}
111111
}

0 commit comments

Comments
 (0)