wgui: use dark mode
This commit is contained in:
@@ -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),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user