Design : bords noirs des aplats jaunes en thème clair, encre noire pure, icônes carrées
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
e02d8f315a
commit
d72921ca5a
@@ -1,8 +1,8 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
||||
<rect width="512" height="512" fill="#14171A"/>
|
||||
<rect x="136" y="248" width="240" height="16" rx="4" fill="#EDEAE3"/>
|
||||
<rect x="154" y="190" width="32" height="132" rx="6" fill="#EDEAE3"/>
|
||||
<rect x="326" y="190" width="32" height="132" rx="6" fill="#EDEAE3"/>
|
||||
<rect x="192" y="212" width="20" height="88" rx="4" fill="#3FA06A"/>
|
||||
<rect x="300" y="212" width="20" height="88" rx="4" fill="#3FA06A"/>
|
||||
<rect width="512" height="512" fill="#000000"/>
|
||||
<rect x="128" y="242" width="256" height="28" fill="#F2F2EC"/>
|
||||
<rect x="150" y="180" width="40" height="152" fill="#F2F2EC"/>
|
||||
<rect x="322" y="180" width="40" height="152" fill="#F2F2EC"/>
|
||||
<rect x="196" y="206" width="26" height="100" fill="#FFD60A"/>
|
||||
<rect x="290" y="206" width="26" height="100" fill="#FFD60A"/>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 478 B After Width: | Height: | Size: 445 B |
+6
-6
@@ -1,8 +1,8 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
|
||||
<rect width="512" height="512" rx="96" fill="#14171A"/>
|
||||
<rect x="96" y="244" width="320" height="24" rx="6" fill="#EDEAE3"/>
|
||||
<rect x="120" y="164" width="44" height="184" rx="8" fill="#EDEAE3"/>
|
||||
<rect x="348" y="164" width="44" height="184" rx="8" fill="#EDEAE3"/>
|
||||
<rect x="172" y="196" width="28" height="120" rx="6" fill="#3FA06A"/>
|
||||
<rect x="312" y="196" width="28" height="120" rx="6" fill="#3FA06A"/>
|
||||
<rect width="512" height="512" fill="#000000"/>
|
||||
<rect x="80" y="236" width="352" height="40" fill="#F2F2EC"/>
|
||||
<rect x="112" y="144" width="56" height="224" fill="#F2F2EC"/>
|
||||
<rect x="344" y="144" width="56" height="224" fill="#F2F2EC"/>
|
||||
<rect x="176" y="184" width="36" height="144" fill="#FFD60A"/>
|
||||
<rect x="300" y="184" width="36" height="144" fill="#FFD60A"/>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 487 B After Width: | Height: | Size: 444 B |
@@ -7,8 +7,8 @@
|
||||
"scope": "./",
|
||||
"display": "standalone",
|
||||
"orientation": "portrait",
|
||||
"background_color": "#14171A",
|
||||
"theme_color": "#14171A",
|
||||
"background_color": "#000000",
|
||||
"theme_color": "#000000",
|
||||
"icons": [
|
||||
{ "src": "icons/icon.svg", "sizes": "any", "type": "image/svg+xml", "purpose": "any" },
|
||||
{ "src": "icons/icon-maskable.svg", "sizes": "any", "type": "image/svg+xml", "purpose": "maskable" }
|
||||
|
||||
+1
-4
@@ -71,10 +71,7 @@ h1:focus { outline: none; }
|
||||
display: inline-block; background: var(--signal); color: var(--on-signal);
|
||||
padding: 4px var(--space-2); margin: var(--space-6) 0 var(--space-3);
|
||||
}
|
||||
:root[data-theme="light"] .tape, :root[data-theme="light"] .badge--signal { outline: 2px solid var(--ink); }
|
||||
@media (prefers-color-scheme: light) {
|
||||
:root:not([data-theme="dark"]) .tape, :root:not([data-theme="dark"]) .badge--signal { outline: 2px solid var(--ink); }
|
||||
}
|
||||
.tape { box-shadow: 0 0 0 2px var(--signal-edge); }
|
||||
.tape__hint { color: var(--on-signal); font-family: var(--font-body); font-size: var(--fs-sm); text-transform: none; letter-spacing: 0; font-weight: 400; }
|
||||
.tape__hint::before { content: " · "; }
|
||||
.section-head { display: flex; align-items: baseline; flex-wrap: wrap; }
|
||||
|
||||
@@ -11,9 +11,9 @@
|
||||
}
|
||||
.btn:active { background: var(--ink); color: var(--bg); }
|
||||
.btn[disabled], .btn[aria-disabled="true"] { border-style: dashed; color: var(--muted); cursor: not-allowed; }
|
||||
.btn--primary { background: var(--signal); color: var(--on-signal); border-color: var(--signal); }
|
||||
.btn--primary { background: var(--signal); color: var(--on-signal); border-color: var(--signal-edge); }
|
||||
.btn--primary:active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
|
||||
.btn--ghost { border-color: var(--rule-soft); }
|
||||
.btn--ghost { border-color: var(--muted); }
|
||||
.btn--danger { border-style: double; border-width: 6px; }
|
||||
.btn--danger::before { content: "✕"; }
|
||||
.btn--block { display: flex; width: 100%; }
|
||||
@@ -23,7 +23,7 @@
|
||||
.btn-stack { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
|
||||
|
||||
.back {
|
||||
display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 var(--space-3) 0 0;
|
||||
display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0 var(--space-3) 0 0;
|
||||
border: 0; background: none; color: var(--ink);
|
||||
}
|
||||
|
||||
@@ -133,7 +133,7 @@ a.row:active .row__meta { color: inherit; }
|
||||
.chip--secondary { border-style: dashed; color: var(--muted); border-color: var(--muted); }
|
||||
.tag { display: inline-block; border: 2px solid currentColor; padding: 0 4px; margin-right: var(--space-2); }
|
||||
.badge { display: inline-grid; place-items: center; min-width: 32px; height: 32px; padding: 0 4px; border: 2px solid var(--ink); }
|
||||
.badge--signal { background: var(--signal); color: var(--on-signal); border-color: var(--signal); }
|
||||
.badge--signal { background: var(--signal); color: var(--on-signal); border-color: var(--signal-edge); }
|
||||
.mini-label { display: block; color: var(--muted); margin: var(--space-4) 0 var(--space-2); }
|
||||
|
||||
/* ---- champs ----------------------------------------------------------------- */
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
--signal: #FFD60A; /* jaune ruban : 14,9 sur bg */
|
||||
--on-signal: #000000; /* 14,9 sur signal */
|
||||
--meter: #FFD60A; /* remplissage des jauges (XP, semaine) */
|
||||
--signal-edge: #FFD60A; /* bord d'un aplat signal : invisible sur noir, noir sur clair */
|
||||
--focus: #FFD60A;
|
||||
|
||||
/* Couleur d'une séance (donnée du programme, setAccent) : seulement sur sa
|
||||
@@ -58,6 +59,7 @@
|
||||
--sunk: #E4E4DD;
|
||||
--rule-soft: #8F8F8F;
|
||||
--meter: #000000; /* le jaune sur blanc ferait 1,3:1 : la jauge passe au noir */
|
||||
--signal-edge: #000000; /* et un aplat jaune reçoit un bord noir */
|
||||
--focus: #000000;
|
||||
}
|
||||
}
|
||||
@@ -69,5 +71,6 @@
|
||||
--sunk: #E4E4DD;
|
||||
--rule-soft: #8F8F8F;
|
||||
--meter: #000000;
|
||||
--signal-edge: #000000;
|
||||
--focus: #000000;
|
||||
}
|
||||
|
||||
+1
-1
@@ -15,7 +15,7 @@ export function contrastRatio(a, b) {
|
||||
return (hi + 0.05) / (lo + 0.05);
|
||||
}
|
||||
|
||||
export const INK_DARK = "#0E1113";
|
||||
export const INK_DARK = "#000000";
|
||||
export const INK_LIGHT = "#FFFFFF";
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user