SPB Git forge

spb/rent-ka

Public
8commits 1branches 0releases
7.4 MBsize
maindefault branch
19 days agolast push
Python 68.8% TypeScript 18.6% CSS 8.7% JavaScript 3.3% HTML 0.6%
2.4 KB · 82 lines typescript
Raw Blame History
1// -----------------------------------------------------------------------------2// Author: Simon-Pierre Boucher3// Contact: contact@spboucher.ai4// Project: Groupe Ka / Ka Maps (Rent-Ka integration)5// kamaps/theme.ts: Rent-Ka Maps theme — cobalt / off-white / ink identity.6// Premium price pills: off-white with ink text (the map breathes), COBALT is7// reserved for brand moments (below market, selection, active controls).8// -----------------------------------------------------------------------------9import type { KaMapTheme } from "@groupe-ka/ka-maps";1011const INK = "#141814";12const COBALT = "#2456e6";13const OFFWHITE = "#fffdf8";14const WHITE = "#ffffff";1516export const louKaMapTheme: KaMapTheme = {17  id: "rent-ka",18  productName: "Rent-Ka Maps",19  accent: COBALT,20  onAccent: WHITE,21  fontFamily:22    '"Inter", system-ui, -apple-system, "Segoe UI", sans-serif',23  markers: {24    // Rent: off-white pill, ink text — readable without crushing the map.25    // Selection/hover: solid ink (white text), the absolute anchor.26    sale: {27      background: OFFWHITE,28      text: INK,29      halo: "rgba(20, 24, 20, 0.30)",30      selectedBackground: INK,31      selectedText: WHITE,32    },33    rent: {34      background: OFFWHITE,35      text: INK,36      halo: "rgba(20, 24, 20, 0.30)",37      selectedBackground: INK,38      selectedText: WHITE,39    },40    // "Below market": Rent-Ka cobalt — THE deal signal.41    highlight: {42      background: COBALT,43      text: WHITE,44      halo: "rgba(255, 255, 255, 0.55)",45      selectedBackground: INK,46      selectedText: WHITE,47    },48  },49  cluster: {50    background: OFFWHITE,51    text: INK,52    border: COBALT,53    valueText: "#1738a8",54    valueHalo: "rgba(255, 253, 248, 0.92)",55  },56  // Rent-Ka cartography: neutral, refined basemap — very pale grey,57  // desaturated blue water, subtle green parks, well-defined buildings.58  // Prices remain the dominant element of the map.59  basemapOverrides: {60    light: {61      background: "#f7f8fa",62      residential: "#f0f1f4",63      water: "#c9d8ef",64      waterway: "#bfd0ea",65      park: "#dce8d8",66      wood: "#d0e0ca",67      building: "#e6e8ee",68      buildingOutline: "#d0d3dd",69      road: "#ffffff",70      roadCasing: "#dcdee6",71      motorway: "#f4ede2",72      boundary: "#a9adbd",73      label: "#3e4560",74      labelHalo: "rgba(247,248,250,0.92)",75      cityLabel: "#0b1330",76      roadLabel: "#8a90a5",77      waterLabel: "#5c74a8",78    },79  },80  supportsDark: false,81};82