From 010b9b7e65dfd3481c7ad5ef2d7dfa56dcde2b49 Mon Sep 17 00:00:00 2001 From: Nate Levin Date: Fri, 6 Jan 2023 20:50:30 +1300 Subject: [PATCH] Change text color to light_gray --- src/db/mod.rs | 1 + src/ui/style.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/db/mod.rs b/src/db/mod.rs index 99de0b2e..b7dd326a 100644 --- a/src/db/mod.rs +++ b/src/db/mod.rs @@ -110,6 +110,7 @@ fn upgrade(db: &Connection, mut version: u16) -> Result<(), Error> { apply_sql!(db, version, 6, "schema6.sql"); apply_sql!(db, version, 7, "schema7.sql"); apply_sql!(db, version, 8, "schema8.sql"); + apply_sql!(db, version, 9, "schema9.sql"); tracing::info!("Database is at version {}", version); Ok(()) } diff --git a/src/ui/style.rs b/src/ui/style.rs index ea51b8bf..c90ec958 100644 --- a/src/ui/style.rs +++ b/src/ui/style.rs @@ -18,7 +18,7 @@ pub(super) fn dark_mode_visuals() -> Visuals { // Foreground colors window_stroke: Stroke::new(1.0, Color32::from_rgb(0x37, 0x96, 0x83)), // DONE - override_text_color: None, + override_text_color: Some(Color32::LIGHT_GRAY), warn_fg_color: Color32::from_rgb(255, 143, 0), // orange error_fg_color: Color32::from_rgb(255, 0, 0), // red hyperlink_color: Color32::from_rgb(0x73, 0x95, 0xae), // DONE