wgui: use dark mode

This commit is contained in:
Aleksander
2025-09-20 13:32:07 +02:00
parent 0f82fb4144
commit aadf11590e
8 changed files with 23 additions and 7 deletions

View File

@@ -6,12 +6,14 @@ use std::{
use crate::{assets::AssetProvider, drawing, i18n::I18n};
pub struct Defaults {
pub dark_mode: bool,
pub text_color: drawing::Color,
}
impl Default for Defaults {
fn default() -> Self {
Self {
dark_mode: true,
text_color: drawing::Color::new(0.0, 0.0, 0.0, 1.0),
}
}