From 2cf23b7ea7b1662c260b74ee61a42a19dd955e8b Mon Sep 17 00:00:00 2001 From: NightKev <34855794+DayKev@users.noreply.github.com> Date: Sun, 7 Sep 2025 10:58:40 -0700 Subject: [PATCH] [Misc] Fix console log colors --- src/constants/colors.ts | 4 +++- src/phase-manager.ts | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/constants/colors.ts b/src/constants/colors.ts index e4d740addff..717c5fa5f0d 100644 --- a/src/constants/colors.ts +++ b/src/constants/colors.ts @@ -5,8 +5,10 @@ */ // Colors used in prod +/** Color used for "Start Phase " logs */ export const PHASE_START_COLOR = "green" as const; -export const MOVE_COLOR = "RebeccaPurple" as const; +/** Color used for logs in `MovePhase` */ +export const MOVE_COLOR = "orchid" as const; // Colors used for testing code export const NEW_TURN_COLOR = "#ffad00ff" as const; diff --git a/src/phase-manager.ts b/src/phase-manager.ts index 68b7d74293b..2185de559ae 100644 --- a/src/phase-manager.ts +++ b/src/phase-manager.ts @@ -1,3 +1,4 @@ +import { PHASE_START_COLOR } from "#app/constants/colors"; import { globalScene } from "#app/global-scene"; import type { Phase } from "#app/phase"; import { type PhasePriorityQueue, PostSummonPhasePriorityQueue } from "#data/phase-priority-queue"; @@ -392,7 +393,7 @@ export class PhaseManager { * Helper method to start and log the current phase. */ private startCurrentPhase(): void { - console.log(`%cStart Phase ${this.currentPhase.phaseName}`, "color:${PHASE_START_COLOR};"); + console.log(`%cStart Phase ${this.currentPhase.phaseName}`, `color:${PHASE_START_COLOR};`); this.currentPhase.start(); }