From b25d6e575d0e53737cabd5eb370b680a192f746a Mon Sep 17 00:00:00 2001 From: Matt Date: Fri, 1 May 2026 22:29:11 +0000 Subject: [PATCH] =?UTF-8?q?refactor(themes):=20rename=20Tactical=20?= =?UTF-8?q?=E2=86=92=20Ranger?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pure rename, no functional changes. Co-Authored-By: Claude Opus 4.5 --- src/themes/{tactical.js => ranger.js} | 28 +++++++++++++-------------- src/themes/registry.js | 4 ++-- 2 files changed, 16 insertions(+), 16 deletions(-) rename src/themes/{tactical.js => ranger.js} (92%) diff --git a/src/themes/tactical.js b/src/themes/ranger.js similarity index 92% rename from src/themes/tactical.js rename to src/themes/ranger.js index bdae37f..5ae8ca6 100644 --- a/src/themes/tactical.js +++ b/src/themes/ranger.js @@ -1,5 +1,5 @@ /** - * Tactical Theme for Navi + * Ranger Theme for Navi * * Military topographic map meets NVG-compatible night display. Dark olive/charcoal * base with muted sage greens for text — readable but low-signature. Subdued amber @@ -18,7 +18,7 @@ * Map flavor colors - protomaps-themes-base schema * All 73 flat keys + pois + landcover nested objects */ -const tacticalColors = { +const rangerColors = { // Background & earth - dark olive background: "#0a0e0a", earth: "#0d110d", @@ -134,9 +134,9 @@ const tacticalColors = { } /** - * UI CSS custom properties - tactical field display + * UI CSS custom properties - ranger field display */ -const tacticalUI = { +const rangerUI = { "--font-sans": "'Inter', system-ui, -apple-system, sans-serif", "--font-mono": "'JetBrains Mono', ui-monospace, monospace", "--font-heading": "'Inter', system-ui, -apple-system, sans-serif", @@ -175,7 +175,7 @@ const tacticalUI = { /** * Overlay configuration - prominent contours, subdued everything else */ -const tacticalOverlay = { +const rangerOverlay = { hillshade: { exaggeration: 0.5, illuminationDirection: 315, @@ -301,7 +301,7 @@ const tacticalOverlay = { }, } -const tacticalSatellite = { +const rangerSatellite = { opacity: 0.75, brightnessMin: 0.0, brightnessMax: 0.35, @@ -310,16 +310,16 @@ const tacticalSatellite = { hueRotate: 0, } -const tacticalTheme = { - id: "tactical", - name: "Tactical", +const rangerTheme = { + id: "ranger", + name: "Ranger", dark: true, swatch: ["#0d110d", "#c89030", "#a0b090"], fontImports: [], - colors: tacticalColors, - satellite: tacticalSatellite, - overlay: tacticalOverlay, - ui: tacticalUI, + colors: rangerColors, + satellite: rangerSatellite, + overlay: rangerOverlay, + ui: rangerUI, } -export default tacticalTheme +export default rangerTheme diff --git a/src/themes/registry.js b/src/themes/registry.js index b617285..a3c1165 100644 --- a/src/themes/registry.js +++ b/src/themes/registry.js @@ -18,7 +18,7 @@ import cleanTheme from './clean.js' import cyberpunkTheme from './cyberpunk.js' -import tacticalTheme from './tactical.js' +import rangerTheme from './ranger.js' // ═══════════════════════════════════════════════════════════════════════════ // UI CSS CUSTOM PROPERTIES @@ -491,7 +491,7 @@ const themes = { fontImports: [], }, cyberpunk: cyberpunkTheme, - tactical: tacticalTheme, + ranger: rangerTheme, // Custom themes go here. Example: // 'midnight': { // id: 'midnight',