mirror of
https://github.com/zvx-echo6/navi.git
synced 2026-05-20 14:44:51 +02:00
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:
parent
04e15bf3dc
commit
b25d6e575d
2 changed files with 16 additions and 16 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
/**
|
/**
|
||||||
* Tactical Theme for Navi
|
* Ranger Theme for Navi
|
||||||
*
|
*
|
||||||
* Military topographic map meets NVG-compatible night display. Dark olive/charcoal
|
* Military topographic map meets NVG-compatible night display. Dark olive/charcoal
|
||||||
* base with muted sage greens for text — readable but low-signature. Subdued amber
|
* base with muted sage greens for text — readable but low-signature. Subdued amber
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
* Map flavor colors - protomaps-themes-base schema
|
* Map flavor colors - protomaps-themes-base schema
|
||||||
* All 73 flat keys + pois + landcover nested objects
|
* All 73 flat keys + pois + landcover nested objects
|
||||||
*/
|
*/
|
||||||
const tacticalColors = {
|
const rangerColors = {
|
||||||
// Background & earth - dark olive
|
// Background & earth - dark olive
|
||||||
background: "#0a0e0a",
|
background: "#0a0e0a",
|
||||||
earth: "#0d110d",
|
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-sans": "'Inter', system-ui, -apple-system, sans-serif",
|
||||||
"--font-mono": "'JetBrains Mono', ui-monospace, monospace",
|
"--font-mono": "'JetBrains Mono', ui-monospace, monospace",
|
||||||
"--font-heading": "'Inter', system-ui, -apple-system, sans-serif",
|
"--font-heading": "'Inter', system-ui, -apple-system, sans-serif",
|
||||||
|
|
@ -175,7 +175,7 @@ const tacticalUI = {
|
||||||
/**
|
/**
|
||||||
* Overlay configuration - prominent contours, subdued everything else
|
* Overlay configuration - prominent contours, subdued everything else
|
||||||
*/
|
*/
|
||||||
const tacticalOverlay = {
|
const rangerOverlay = {
|
||||||
hillshade: {
|
hillshade: {
|
||||||
exaggeration: 0.5,
|
exaggeration: 0.5,
|
||||||
illuminationDirection: 315,
|
illuminationDirection: 315,
|
||||||
|
|
@ -301,7 +301,7 @@ const tacticalOverlay = {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
const tacticalSatellite = {
|
const rangerSatellite = {
|
||||||
opacity: 0.75,
|
opacity: 0.75,
|
||||||
brightnessMin: 0.0,
|
brightnessMin: 0.0,
|
||||||
brightnessMax: 0.35,
|
brightnessMax: 0.35,
|
||||||
|
|
@ -310,16 +310,16 @@ const tacticalSatellite = {
|
||||||
hueRotate: 0,
|
hueRotate: 0,
|
||||||
}
|
}
|
||||||
|
|
||||||
const tacticalTheme = {
|
const rangerTheme = {
|
||||||
id: "tactical",
|
id: "ranger",
|
||||||
name: "Tactical",
|
name: "Ranger",
|
||||||
dark: true,
|
dark: true,
|
||||||
swatch: ["#0d110d", "#c89030", "#a0b090"],
|
swatch: ["#0d110d", "#c89030", "#a0b090"],
|
||||||
fontImports: [],
|
fontImports: [],
|
||||||
colors: tacticalColors,
|
colors: rangerColors,
|
||||||
satellite: tacticalSatellite,
|
satellite: rangerSatellite,
|
||||||
overlay: tacticalOverlay,
|
overlay: rangerOverlay,
|
||||||
ui: tacticalUI,
|
ui: rangerUI,
|
||||||
}
|
}
|
||||||
|
|
||||||
export default tacticalTheme
|
export default rangerTheme
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
import cleanTheme from './clean.js'
|
import cleanTheme from './clean.js'
|
||||||
import cyberpunkTheme from './cyberpunk.js'
|
import cyberpunkTheme from './cyberpunk.js'
|
||||||
import tacticalTheme from './tactical.js'
|
import rangerTheme from './ranger.js'
|
||||||
|
|
||||||
// ═══════════════════════════════════════════════════════════════════════════
|
// ═══════════════════════════════════════════════════════════════════════════
|
||||||
// UI CSS CUSTOM PROPERTIES
|
// UI CSS CUSTOM PROPERTIES
|
||||||
|
|
@ -491,7 +491,7 @@ const themes = {
|
||||||
fontImports: [],
|
fontImports: [],
|
||||||
},
|
},
|
||||||
cyberpunk: cyberpunkTheme,
|
cyberpunk: cyberpunkTheme,
|
||||||
tactical: tacticalTheme,
|
ranger: rangerTheme,
|
||||||
// Custom themes go here. Example:
|
// Custom themes go here. Example:
|
||||||
// 'midnight': {
|
// 'midnight': {
|
||||||
// id: 'midnight',
|
// id: 'midnight',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue