mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-24 17:37:22 +03:00
e6ed2e67de
Button colors are now determined by the color scheme, but for now all schemes are hardcoded to use the same "night" button colors. Read on for rationale... Previously, which button colors to use (dark/light) was specified inline while building the UI. Eventually we want to live in a world where color scheme determines: - panel colors - button colors - text colors The theme could already choose panel colors easily enough, but because the buttons and text were not determined by theme, choosing anything other than a black or dark grey panel color makes the buttons and text unreadable. This PR tackled the themeable "button colors" portion, but all themes continue to use the "night" colors for now, because using the actual "day" colors would still make the text unreadable. next up: themeable text! The one intentional regression is within the pregame tutorial, which has always been styled differently from the rest of the app. An expeditious hack has caused the prev/next/continue buttons to lose their visible hover state. I'll restore this upon completing the day theme work. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |