chore: rename instances of HYPERNOVA to KAGAYAKI
This commit is contained in:
parent
1d779ab2fb
commit
1b26a85fba
2 changed files with 4 additions and 4 deletions
|
@ -19,7 +19,7 @@ const PKGNAME: &str = env!("CARGO_PKG_NAME");
|
||||||
|
|
||||||
// Create a map of the Hypernova colorscheme
|
// Create a map of the Hypernova colorscheme
|
||||||
lazy_static! {
|
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)),
|
("BLACK", (13, 13, 15)),
|
||||||
("DARK_GRAY", (21, 21, 23)),
|
("DARK_GRAY", (21, 21, 23)),
|
||||||
("GRAY", (39, 39, 43)),
|
("GRAY", (39, 39, 43)),
|
||||||
|
|
|
@ -3,7 +3,7 @@ use bevy::prelude::*;
|
||||||
use bevy_egui::{egui, EguiContexts};
|
use bevy_egui::{egui, EguiContexts};
|
||||||
|
|
||||||
use crate::Player;
|
use crate::Player;
|
||||||
use crate::HYPERNOVA;
|
use crate::KAGAYAKI;
|
||||||
|
|
||||||
// Define UI resources
|
// Define UI resources
|
||||||
#[derive(Default, Resource)]
|
#[derive(Default, Resource)]
|
||||||
|
@ -50,10 +50,10 @@ pub fn render_ui(
|
||||||
|
|
||||||
let ctx = contexts.ctx_mut();
|
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 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);
|
let black = egui::Color32::from_rgb(black.0, black.1, black.2);
|
||||||
|
|
||||||
egui::Window::new("Login")
|
egui::Window::new("Login")
|
||||||
|
|
Reference in a new issue