SPB Git

spb/trouve-ka Public

Trouve-KA — moteur de recherche web indépendant, Québec-first. Crawler distribué, index OpenSearch, ranking bilingue, galerie d'images. En prod : www.trouve-ka.com

Python 76.8% TypeScript 15.7% SQL 3.9% Shell 1.4% CSS 1.3% Dockerfile 0.7%
2.1 KB · 81 lines typescript
Raw Blame History
1/**2 * Trouve-KA — configuration Tailwind CSS (tokens « éditorial sharp » Groupe KA)3 * Author: Simon-Pierre Boucher4 * Contact: contact@spboucher.ai5 */67import type { Config } from "tailwindcss";89const config: Config = {10  content: [11    "./app/**/*.{ts,tsx}",12    "./components/**/*.{ts,tsx}",13    "./lib/**/*.{ts,tsx}",14  ],15  theme: {16    extend: {17      colors: {18        // Palette éditoriale partagée avec l'écosystème Groupe KA.19        paper: "#f5f3ee",20        surface: {21          DEFAULT: "#ffffff",22          2: "#faf9f5",23        },24        ink: {25          DEFAULT: "#141814",26          2: "#4d5551",27          3: "#8b928c",28        },29        line: "rgba(20, 24, 20, 0.14)",30        green: {31          DEFAULT: "#1c5c41",32          deep: "#123f2e",33        },34        lime: {35          DEFAULT: "#b9cfee",36          soft: "#e6eef9",37        },38        amber: {39          DEFAULT: "#e8a33d",40          soft: "#fdf3e2",41        },42        danger: {43          DEFAULT: "#b3423a",44          soft: "#fbe9e7",45        },46        // Palette de statut (réservée aux états — jamais utilisée comme47        // couleur de série; toujours accompagnée d'un libellé texte).48        status: {49          good: "#0ca30c",50          warning: "#fab219",51          serious: "#ec835a",52          critical: "#d03b3b",53        },54        // Bleu de visualisation (barres informatives, ex. redirections 3xx).55        viz: {56          blue: "#2a78d6",57        },58      },59      fontFamily: {60        display: ["var(--font-space-grotesk)", "system-ui", "sans-serif"],61        body: ["var(--font-inter)", "system-ui", "sans-serif"],62        sans: ["var(--font-inter)", "system-ui", "sans-serif"],63        mono: ["var(--font-jetbrains)", "ui-monospace", "monospace"],64      },65      borderRadius: {66        card: "10px",67        ctl: "6px",68      },69      boxShadow: {70        "off-hard": "6px 6px 0 #141814",71        "off-soft": "8px 8px 0 rgba(20, 24, 20, 0.08)",72        "off-btn": "4px 4px 0 rgba(20, 24, 20, 0.25)",73        "off-field": "3px 3px 0 rgba(20, 24, 20, 0.08)",74      },75    },76  },77  plugins: [],78};7980export default config;81