docs(theme): reminder to sync icon and GUI color-schemes

This commit is contained in:
Rudxain 2024-10-29 19:10:25 -04:00
commit cb83e84789
No known key found for this signature in database
GPG key ID: 0DAC837DDEF8E96C

View file

@ -381,6 +381,7 @@ impl Application for UadGui {
impl UadGui {
pub fn start() -> iced::Result {
let logo: &[u8] = match *OS_COLOR_SCHEME {
// remember to keep `Default` in sync with `src/core/theme`
dark_light::Mode::Dark | dark_light::Mode::Default => {
include_bytes!("../../resources/assets/logo-dark.png")
}