From 5967babf3667d8f582f813771f8c7da18aacd7ed Mon Sep 17 00:00:00 2001 From: Muhammad Nauman Raza Date: Thu, 14 Mar 2024 18:40:05 +0000 Subject: [PATCH] chore: rename instances of HYPERNOVA to KAGAYAKI --- src/main.rs | 2 +- src/ui.rs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.rs b/src/main.rs index 07bc934..de142d9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -19,7 +19,7 @@ const PKGNAME: &str = env!("CARGO_PKG_NAME"); // Create a map of the Hypernova colorscheme lazy_static! { - static ref HYPERNOVA: HashMap<&'static str, (u8, u8, u8)> = vec![ + static ref KAGAYAKI: HashMap<&'static str, (u8, u8, u8)> = vec![ ("BLACK", (13, 13, 15)), ("DARK_GRAY", (21, 21, 23)), ("GRAY", (39, 39, 43)), diff --git a/src/ui.rs b/src/ui.rs index 02a3075..fd68ad3 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -3,7 +3,7 @@ use bevy::prelude::*; use bevy_egui::{egui, EguiContexts}; use crate::Player; -use crate::HYPERNOVA; +use crate::KAGAYAKI; // Define UI resources #[derive(Default, Resource)] @@ -50,10 +50,10 @@ pub fn render_ui( let ctx = contexts.ctx_mut(); - let purple = HYPERNOVA.get("PURPLE").unwrap(); + let purple = KAGAYAKI.get("PURPLE").unwrap(); let purple = egui::Color32::from_rgb(purple.0, purple.1, purple.2); - let black = HYPERNOVA.get("BLACK").unwrap(); + let black = KAGAYAKI.get("BLACK").unwrap(); let black = egui::Color32::from_rgb(black.0, black.1, black.2); egui::Window::new("Login")