chore: rename instances of HYPERNOVA to KAGAYAKI

This commit is contained in:
Muhammad Nauman Raza 2024-03-14 18:40:05 +00:00
parent 9ead80df5a
commit 5967babf36
No known key found for this signature in database
GPG key ID: 31BC90D626D2DBBE
2 changed files with 4 additions and 4 deletions

View file

@ -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)),

View file

@ -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")