SPB Git

Repository Public

theme.ts 2.2 KB 78 lines typescript

1// -----------------------------------------------------------------------------2// Author: Simon-Pierre Boucher3// Contact: contact@spboucher.ai4// Project: Groupe Ka / Ka Maps (Lou-Ka integration)5// kamaps/theme.ts : thème Lou-Ka Maps — identité officielle Lou-Ka6// (marine #0B1330 / bleu vif #2258FF / orange #FF6A00) appliquée à Ka Maps.7// -----------------------------------------------------------------------------8import type { KaMapTheme } from "@groupe-ka/ka-maps";910const NAVY = "#0b1330";11const BLUE = "#2258ff";12const ORANGE = "#ff6a00";13const WHITE = "#ffffff";1415export const louKaMapTheme: KaMapTheme = {16  id: "lou-ka",17  productName: "Lou-Ka Maps",18  accent: BLUE,19  onAccent: WHITE,20  fontFamily:21    '"Inter", system-ui, -apple-system, "Segoe UI", sans-serif',22  markers: {23    // Prix : pastille bleu marine, texte BLANC — contraste maximal sur fond clair.24    // L'orange n'apparaît qu'à la sélection (le moment de marque).25    sale: {26      background: NAVY,27      text: WHITE,28      halo: "rgba(255,255,255,0.45)",29      selectedBackground: ORANGE,30      selectedText: WHITE,31    },32    rent: {33      background: NAVY,34      text: WHITE,35      halo: "rgba(255,255,255,0.45)",36      selectedBackground: ORANGE,37      selectedText: WHITE,38    },39    highlight: {40      background: BLUE,41      text: WHITE,42      halo: "rgba(255,255,255,0.45)",43      selectedBackground: ORANGE,44      selectedText: WHITE,45    },46  },47  cluster: {48    background: NAVY,49    text: WHITE,50    border: ORANGE,51  },52  // Cartographie Lou-Ka : fond neutre et raffiné — gris très pâle,53  // eau bleu désaturé, parcs verts subtils, bâtiments bien définis.54  // Les prix restent l'élément dominant de la carte.55  basemapOverrides: {56    light: {57      background: "#f7f8fa",58      residential: "#f0f1f4",59      water: "#c9d8ef",60      waterway: "#bfd0ea",61      park: "#dce8d8",62      wood: "#d0e0ca",63      building: "#e6e8ee",64      buildingOutline: "#d0d3dd",65      road: "#ffffff",66      roadCasing: "#dcdee6",67      motorway: "#f4ede2",68      boundary: "#a9adbd",69      label: "#3e4560",70      labelHalo: "rgba(247,248,250,0.92)",71      cityLabel: "#0b1330",72      roadLabel: "#8a90a5",73      waterLabel: "#5c74a8",74    },75  },76  supportsDark: false,77};78
Files 7e29e36e77f56b030d27452ba8c7ee8cc0061d8b
Menu

Theme