1
0
forked from EHV/librodrome

Palette dynamique dans BookPlayer et admin

- 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

@@ -83,10 +83,10 @@ async function save() {
.yaml-textarea {
width: 100%;
padding: 1rem;
border: 1px solid hsl(20 8% 18%);
border: 1px solid hsl(var(--color-surface-light));
border-radius: 0.5rem;
background: hsl(20 8% 4%);
color: hsl(36 80% 76%);
background: hsl(var(--color-bg));
color: hsl(var(--color-accent));
font-family: var(--font-mono, monospace);
font-size: 0.85rem;
line-height: 1.7;
@@ -96,6 +96,6 @@ async function save() {
.yaml-textarea:focus {
outline: none;
border-color: hsl(12 76% 48% / 0.5);
border-color: hsl(var(--color-primary) / 0.5);
}
</style>

View File

@@ -84,14 +84,14 @@ const sections = computed(() => {
flex-direction: column;
padding: 1rem;
border-radius: 0.5rem;
border: 1px solid hsl(20 8% 14%);
background: hsl(20 8% 6%);
border: 1px solid hsl(var(--color-surface-light));
background: hsl(var(--color-bg));
text-decoration: none;
transition: all 0.2s;
}
.page-card:hover {
border-color: hsl(12 76% 48% / 0.3);
background: hsl(20 8% 8%);
border-color: hsl(var(--color-primary) / 0.3);
background: hsl(var(--color-surface));
}
</style>