7
0
forked from yvv/decision

Typo Plus Jakarta Sans + renommage libreDecision + mode démo prod + seed mandats

- Fonte : Nunito → Plus Jakarta Sans (moderne, ronde sans être toy)
- Logo : ğ(Decision) → libreDecision (libre italic/muted + Decision bold)
- Footer et watermark DocumentPreview mis à jour
- Mode démo : DEMO_MODE flag dans config.py + auth.py (profils rapides en prod)
- docker-compose : ENVIRONMENT=production explicite + DEMO_MODE=true par défaut
- Seed : +décision Licence G1 v0.4.0, +3 mandats (ComTech, Admin Forgerons, Modération)
  runner 7→10 étapes, import Mandate/MandateStep ajouté

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Yvv
2026-03-24 01:22:36 +01:00
parent feaf4de7e0
commit a8dc0dfb40
9 changed files with 388 additions and 56 deletions

View File

@@ -108,7 +108,7 @@ function isActive(to: string) {
<UIcon name="i-lucide-gavel" class="app-header__logo-icon" />
</span>
<span class="app-header__logo-text">
<span class="app-header__logo-g">ğ</span><span class="app-header__logo-paren">(</span><span class="app-header__logo-word">Decision</span><span class="app-header__logo-paren">)</span>
<span class="app-header__logo-libre">libre</span><span class="app-header__logo-decision">Decision</span>
</span>
</NuxtLink>
</div>
@@ -262,7 +262,7 @@ function isActive(to: string) {
<!-- Footer -->
<footer class="app-footer">
<span>ğ(Decision) v0.1.0</span>
<span>libreDecision v0.1.0</span>
<span class="app-footer__sep">·</span>
<span>Licence libre</span>
</footer>
@@ -361,24 +361,17 @@ function isActive(to: string) {
display: flex;
align-items: baseline;
gap: 0;
letter-spacing: -0.01em;
}
.app-header__logo-g {
font-size: 1.5rem;
font-weight: 800;
color: var(--mood-accent);
line-height: 1;
.app-header__logo-libre {
font-size: 1.0625rem;
font-weight: 400;
font-style: italic;
}
.app-header__logo-paren {
font-size: 1.125rem;
font-weight: 300;
color: var(--mood-text-muted);
opacity: 0.5;
}
.app-header__logo-word {
.app-header__logo-decision {
font-size: 1.125rem;
font-weight: 700;
color: var(--mood-text);

View File

@@ -1,5 +1,5 @@
/* ==========================================================================
ğ(Decision) — Mood / Ambiance System
libreDecision — Mood / Ambiance System
Palettes harmoniques variees, colores en lite, lumineux en dark.
========================================================================== */
@@ -144,7 +144,7 @@
}
/* ==========================================================================
Global design tokens — Nunito, rounded, borderless
Global design tokens — Plus Jakarta Sans, rounded, borderless
========================================================================== */
*,
@@ -154,12 +154,12 @@
}
html {
font-family: 'Nunito', system-ui, -apple-system, sans-serif;
font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
font-size: 16px;
}
body {
font-family: 'Nunito', system-ui, -apple-system, sans-serif;
font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
transition: background-color 0.3s ease, color 0.3s ease;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
@@ -234,7 +234,7 @@ input:focus, select:focus, textarea:focus {
:root [class*="u-button"],
:root [data-variant] {
border: none !important;
font-family: 'Nunito', system-ui, sans-serif !important;
font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
}
:root input,
@@ -244,5 +244,5 @@ input:focus, select:focus, textarea:focus {
:root [class*="USelect"],
:root [class*="UTextarea"] {
border: none !important;
font-family: 'Nunito', system-ui, sans-serif !important;
font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
}

View File

@@ -121,7 +121,7 @@ const today = new Date().toLocaleDateString('fr-FR', {
<!-- Footer -->
<div class="doc-preview__footer">
<div class="doc-preview__footer-main">
<span>ğ(Decision) · {{ document.title }} · v{{ document.version }}</span>
<span>libreDecision · {{ document.title }} · v{{ document.version }}</span>
</div>
<div v-if="mode === 'projected'" class="doc-preview__footer-note">
Projection non officielle texte simulé selon {{ changedCount }} vote{{ changedCount > 1 ? 's' : '' }} en cours au {{ today }}

View File

@@ -29,7 +29,7 @@ export default defineNuxtConfig({
link: [
{ rel: 'preconnect', href: 'https://fonts.googleapis.com' },
{ rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' },
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,700;1,800&display=swap' },
{ rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700&display=swap' },
{ rel: 'stylesheet', href: 'https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.css' },
],
script: [