SPB Git

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

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 (Aug 26, 2026) parent 3ca31fc Browse files

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 .try:hover{background:var(--accent);border-color:var(--accent)} 248 .try:hover{background:var(--accent);border-color:var(--accent)}
249 .pg{border-width:1px;border-color:var(--hairline-strong);box-shadow:none;background:transparent} 249 .pg{border-width:1px;border-color:var(--hairline-strong);box-shadow:none;background:transparent}
250 .live-chip{border-width:1px;border-color:var(--hairline-strong);background:transparent} 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 </style> 257 </style>
252 <link rel="canonical" href="https://www.api-ka.com/"> 258 <link rel="canonical" href="https://www.api-ka.com/">
253 <link rel="alternate" hreflang="fr-ca" href="https://www.api-ka.com/"> 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 /* sections rythmées par des filets */ 289 /* sections rythmées par des filets */
290 section + section{border-top:1px solid var(--hairline)} 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 </style> 295 </style>
292 <link rel="canonical" href="https://www.api-ka.com/stats"> 296 <link rel="canonical" href="https://www.api-ka.com/stats">
293 <link rel="alternate" hreflang="fr-ca" href="https://www.api-ka.com/stats"> 297 <link rel="alternate" hreflang="fr-ca" href="https://www.api-ka.com/stats">
294 298
Menu

Theme