From ab1259eb206906c28c6a29ae175358e5d02876c2 Mon Sep 17 00:00:00 2001 From: 4aiman Date: Tue, 27 Oct 2026 14:09:04 +0300 Subject: [PATCH] brouter-web: directional slope coloring (warm uphill / cool downhill to navy), signed grade --- .../brouter-web/baldav-custom.js | 528 ++++++++++++++++++ 1 file changed, 528 insertions(+) create mode 100644 tools/brouter-web-staging/brouter-web/baldav-custom.js diff --git a/tools/brouter-web-staging/brouter-web/baldav-custom.js b/tools/brouter-web-staging/brouter-web/baldav-custom.js new file mode 100644 index 0000000..2d2786e --- /dev/null +++ b/tools/brouter-web-staging/brouter-web/baldav-custom.js @@ -0,0 +1,528 @@ +(function () { + var LS_DARK = "baldav_bw_dark"; + function isDark() { try { return localStorage.getItem(LS_DARK) === "1"; } catch (e) { return false; } } + + // Inject the dark rules as a