SPB Git forge

spb/api-ka

Public

API-KA — plateforme centrale : collecte quotidienne des 8 services KA, historisation append-only et API publique sur www.api-ka.com

48commits 1branches 0releases
5.9 MBsize
maindefault branch
19 days agolast push
Python 60.9% HTML 21% TypeScript 7.3% JavaScript 5.2% CSS 4.8% Shell 0.8%

web: boutons primaires lisibles — fond accent au lieu du fond encre

Le .btn-primary du socle v1 (fond encre + texte accent) était illisible
avec l accent indigo. Passage en fond accent / texte blanc pour
.btn-primary et .send (playground), hover accent-deep.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Simon-Pierre Boucher committed 29 days ago (Aug 26, 2026) parent 3ca31fc

2 changed files +10 −0

modified src/api/web/index.html +6 −0
@@ -248,6 +248,12 @@ section.alt{background:transparent;border-bottom:0}
248 248 .try:hover{background:var(--accent);border-color:var(--accent)}
249 249 .pg{border-width:1px;border-color:var(--hairline-strong);box-shadow:none;background:transparent}
250 250 .live-chip{border-width:1px;border-color:var(--hairline-strong);background:transparent}
251 +
252 +/* boutons : plus de fond encre (l'accent indigo y était illisible) */
253 +.btn-primary{background:var(--accent);color:var(--on-accent)}
254 +.btn-primary:hover{background:var(--accent-deep);color:#fff}
255 +.send{background:var(--accent);color:var(--on-accent)}
256 +.send:hover{background:var(--accent-deep);color:#fff}
251 257 </style>
252 258 <link rel="canonical" href="https://www.api-ka.com/">
253 259 <link rel="alternate" hreflang="fr-ca" href="https://www.api-ka.com/">
modified src/api/web/stats.html +4 −0
@@ -288,6 +288,10 @@ table.dt th{background:transparent;color:var(--ink-3);border-bottom:1.5px solid
288 288
289 289 /* sections rythmées par des filets */
290 290 section + section{border-top:1px solid var(--hairline)}
291 +
292 +/* boutons : plus de fond encre (l'accent indigo y était illisible) */
293 +.btn-primary{background:var(--accent);color:var(--on-accent)}
294 +.btn-primary:hover{background:var(--accent-deep);color:#fff}
291 295 </style>
292 296 <link rel="canonical" href="https://www.api-ka.com/stats">
293 297 <link rel="alternate" hreflang="fr-ca" href="https://www.api-ka.com/stats">
294 298