Palette dynamique dans BookPlayer et admin
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

- BookPlayer : toutes les couleurs HSL en dur remplacées par variables CSS palette
- Admin (sidebar, formulaires, pages, book, songs, messages, media, login) : idem
- L'ambiance graphique suit maintenant la palette active partout

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Yvv
2026-03-14 16:41:23 +01:00
parent 9caf11c8ab
commit 8f548afb17
19 changed files with 170 additions and 170 deletions

View File

@@ -163,7 +163,7 @@ async function save() {
align-items: flex-start;
gap: 0.75rem;
padding: 0.75rem 0.5rem;
border-bottom: 1px solid hsl(20 8% 10%);
border-bottom: 1px solid hsl(var(--color-surface));
transition: background 0.15s;
}
@@ -172,13 +172,13 @@ async function save() {
}
.song-row--over {
border-top: 2px solid hsl(12 76% 48%);
border-top: 2px solid hsl(var(--color-primary));
}
.drag-handle {
cursor: grab;
padding: 0.25rem;
color: hsl(20 8% 35%);
color: hsl(var(--color-text-muted));
flex-shrink: 0;
margin-top: 0.25rem;
}
@@ -190,7 +190,7 @@ async function save() {
.song-num {
font-family: var(--font-mono, monospace);
font-size: 0.8rem;
color: hsl(20 8% 40%);
color: hsl(var(--color-text-muted));
width: 1.25rem;
text-align: right;
flex-shrink: 0;
@@ -200,8 +200,8 @@ async function save() {
.admin-input {
padding: 0.375rem 0.5rem;
border-radius: 0.375rem;
border: 1px solid hsl(20 8% 18%);
background: hsl(20 8% 6%);
border: 1px solid hsl(var(--color-surface-light));
background: hsl(var(--color-bg));
color: white;
font-size: 0.8rem;
width: 100%;
@@ -209,7 +209,7 @@ async function save() {
.admin-input:focus {
outline: none;
border-color: hsl(12 76% 48% / 0.5);
border-color: hsl(var(--color-primary) / 0.5);
}
.lyrics-textarea {
@@ -240,16 +240,16 @@ async function save() {
margin-top: 1rem;
padding: 0.5rem 1rem;
border-radius: 0.5rem;
border: 1px dashed hsl(20 8% 25%);
border: 1px dashed hsl(var(--color-surface-light));
background: none;
color: hsl(20 8% 55%);
color: hsl(var(--color-text-muted));
font-size: 0.85rem;
cursor: pointer;
transition: all 0.15s;
}
.add-btn:hover {
border-color: hsl(12 76% 48% / 0.5);
color: hsl(12 76% 68%);
border-color: hsl(var(--color-primary) / 0.5);
color: hsl(var(--color-primary));
}
</style>