refactor(themes): rename Tactical → Ranger

Pure rename, no functional changes.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Matt 2026-05-01 22:29:11 +00:00
commit b25d6e575d
2 changed files with 16 additions and 16 deletions

View file

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

View file

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