Retire le thème d'exemple : Orbe seul thème livré
Some checks are pending
CI / windows (push) Waiting to run
Some checks are pending
CI / windows (push) Waiting to run
This commit is contained in:
parent
96ffadc89f
commit
ae54bbd8e9
3 changed files with 1 additions and 42 deletions
|
|
@ -12,7 +12,7 @@ const games: Game[] = []
|
||||||
|
|
||||||
async function themes(): Promise<ThemeEntry[]> {
|
async function themes(): Promise<ThemeEntry[]> {
|
||||||
const out: ThemeEntry[] = []
|
const out: ThemeEntry[] = []
|
||||||
for (const id of ['orbe', 'papier']) {
|
for (const id of ['orbe']) {
|
||||||
const base = `./themes/${id}/`
|
const base = `./themes/${id}/`
|
||||||
try {
|
try {
|
||||||
const c = validateTheme(await (await fetch(base + 'theme.json')).json(), id)
|
const c = validateTheme(await (await fetch(base + 'theme.json')).json(), id)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
/* Papier : fond légèrement texturé par un dégradé, titres en italique. */
|
|
||||||
body { background-image: radial-gradient(circle at 20% 0%, #fffaf0 0, transparent 60%); }
|
|
||||||
.title, .hero-title { font-style: italic; font-weight: 700; }
|
|
||||||
.kicker { font-family: var(--font-mono); font-size: 13px; color: var(--accent); letter-spacing: .08em; }
|
|
||||||
.btn { font-weight: 700; }
|
|
||||||
.row-item { border-bottom: 1px dashed var(--line); }
|
|
||||||
|
|
@ -1,35 +0,0 @@
|
||||||
{
|
|
||||||
"id": "papier",
|
|
||||||
"name": "Papier",
|
|
||||||
"author": "Exemple",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"description": "Thème d'exemple : clair, couleurs de papier, polices système, bibliothèque en liste.",
|
|
||||||
"vars": {
|
|
||||||
"--bg": "#f3efe6",
|
|
||||||
"--surface": "#fbf8f1",
|
|
||||||
"--surface-2": "#ebe5d8",
|
|
||||||
"--text": "#22201c",
|
|
||||||
"--muted": "#7a7468",
|
|
||||||
"--line": "#d9d1c0",
|
|
||||||
"--accent": "#c2410c",
|
|
||||||
"--on-accent": "#fffaf2",
|
|
||||||
"--danger": "#b91c1c",
|
|
||||||
"--font-sans": "Georgia, 'Times New Roman', serif",
|
|
||||||
"--font-mono": "Consolas, 'Courier New', monospace",
|
|
||||||
"--radius-s": "10px",
|
|
||||||
"--radius-m": "14px",
|
|
||||||
"--radius-l": "22px",
|
|
||||||
"--shadow-card": "0 10px 24px rgba(60, 45, 20, .16)",
|
|
||||||
"--focus-ring": "0 0 0 3px #c2410c",
|
|
||||||
"--focus-scale": "1.03",
|
|
||||||
"--dur-fast": "120ms",
|
|
||||||
"--dur-med": "220ms",
|
|
||||||
"--dur-slow": "400ms",
|
|
||||||
"--ease": "ease-out"
|
|
||||||
},
|
|
||||||
"css": "theme.css",
|
|
||||||
"layout": { "library": "list" },
|
|
||||||
"background": { "type": "none" },
|
|
||||||
"splash": { "type": "logo", "duration": 900 },
|
|
||||||
"sounds": {}
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue