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

@@ -98,7 +98,7 @@ const renderedHtml = computed(() => {
<style scoped>
.md-editor {
border: 1px solid hsl(20 8% 18%);
border: 1px solid hsl(var(--color-surface-light));
border-radius: 0.5rem;
overflow: hidden;
}
@@ -107,8 +107,8 @@ const renderedHtml = computed(() => {
display: flex;
align-items: center;
justify-content: space-between;
background: hsl(20 8% 6%);
border-bottom: 1px solid hsl(20 8% 14%);
background: hsl(var(--color-bg));
border-bottom: 1px solid hsl(var(--color-surface-light));
}
.md-tabs {
@@ -122,7 +122,7 @@ const renderedHtml = computed(() => {
padding: 0.5rem 0.875rem;
border: none;
background: none;
color: hsl(20 8% 50%);
color: hsl(var(--color-text-muted));
font-size: 0.8rem;
cursor: pointer;
transition: all 0.2s;
@@ -130,12 +130,12 @@ const renderedHtml = computed(() => {
.md-tab--active {
color: white;
background: hsl(20 8% 10%);
background: hsl(var(--color-surface));
}
.md-fullscreen {
padding: 0.5rem 0.75rem;
color: hsl(20 8% 40%);
color: hsl(var(--color-text-muted));
transition: color 0.2s;
}
.md-fullscreen:hover,
@@ -151,14 +151,14 @@ const renderedHtml = computed(() => {
}
.md-body--split .md-preview {
border-left: 1px solid hsl(20 8% 14%);
border-left: 1px solid hsl(var(--color-surface-light));
}
.md-body--fullscreen {
position: fixed;
inset: 0;
z-index: 50;
background: hsl(20 8% 4%);
background: hsl(var(--color-bg));
}
.md-body--fullscreen .md-textarea,
@@ -170,7 +170,7 @@ const renderedHtml = computed(() => {
width: 100%;
padding: 1rem;
border: none;
background: hsl(20 8% 4%);
background: hsl(var(--color-bg));
color: white;
font-family: var(--font-mono, monospace);
font-size: 0.85rem;
@@ -189,6 +189,6 @@ const renderedHtml = computed(() => {
min-height: 24rem;
max-height: 70vh;
overflow-y: auto;
background: hsl(20 8% 4%);
background: hsl(var(--color-bg));
}
</style>