From 2a216906daf1e1f8477653cf038e3144c45dbbd8 Mon Sep 17 00:00:00 2001 From: th Date: Mon, 27 Apr 2026 09:33:24 +0200 Subject: [PATCH] apple theme --- public/index.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/index.php b/public/index.php index 89cbb54..400038d 100644 --- a/public/index.php +++ b/public/index.php @@ -1467,6 +1467,7 @@ if (str_starts_with($route, '/api/')) { paper: { label:'Bright Mind', vars:{ '--t-bg':'#f4f4f5','--t-surface':'#ffffff','--t-raised':'#e8e8eb','--t-border':'#d4d4d8','--t-dim':'#a1a1aa','--t-muted':'#71717a','--t-text':'#3f3f46','--t-bright':'#18181b','--t-accent':'#2563eb','--t-accent2':'#7c3aed','--t-danger':'#dc2626','--t-scanline':'rgba(0,0,0,0.05)','--t-overlay':'rgba(244,244,245,0.8)','--t-font-pixel':'"JetBrains Mono", monospace','--t-cover-gradient':'linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.75) 40%, rgba(255,255,255,0.3) 100%)' }}, sand: { label:'Sand', vars:{ '--t-bg':'#d6c5a3','--t-surface':'#e2d5b8','--t-raised':'#ede2c5','--t-border':'#a89572','--t-dim':'#8a7654','--t-muted':'#5d4f36','--t-text':'#3a3120','--t-bright':'#1a1408','--t-accent':'#b91c1c','--t-accent2':'#15803d','--t-danger':'#7c2d12','--t-scanline':'rgba(60,40,20,0.06)','--t-overlay':'rgba(60,50,30,0.75)','--t-font-pixel':'"Silkscreen", cursive','--t-cover-gradient':'linear-gradient(180deg, rgba(214,196,160,0.22) 0%, rgba(214,196,160,0.7) 62%, rgba(214,196,160,0.86) 100%)' }}, stone: { label:'Stone', vars:{ '--t-bg':'#94a3b8','--t-surface':'#a8b6c8','--t-raised':'#bcc7d5','--t-border':'#64748b','--t-dim':'#475569','--t-muted':'#334155','--t-text':'#1e293b','--t-bright':'#0f172a','--t-accent':'#1d4ed8','--t-accent2':'#7e22ce','--t-danger':'#991b1b','--t-scanline':'rgba(15,23,42,0.06)','--t-overlay':'rgba(50,60,80,0.75)','--t-font-pixel':'"Silkscreen", cursive','--t-cover-gradient':'linear-gradient(180deg, rgba(148,163,184,0.22) 0%, rgba(148,163,184,0.7) 62%, rgba(148,163,184,0.86) 100%)' }}, + apple: { label:'Apple Dark', vars:{ '--t-bg':'#000000','--t-surface':'#1c1c1e','--t-raised':'#2c2c2e','--t-border':'#3a3a3c','--t-dim':'#636366','--t-muted':'#8e8e93','--t-text':'#ebebf5','--t-bright':'#ffffff','--t-accent':'#0a84ff','--t-accent2':'#bf5af2','--t-danger':'#ff453a','--t-scanline':'rgba(255,255,255,0.02)','--t-overlay':'rgba(0,0,0,0.7)','--t-font-pixel':'-apple-system, "SF Pro Display", system-ui, sans-serif','--t-cover-gradient':'linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.72) 62%, rgba(0,0,0,0.88) 100%)' }}, }; window.applyTheme = function(name) { const t = themes[name] || themes.slate; @@ -1530,6 +1531,13 @@ if (str_starts_with($route, '/api/')) { padCard: 10, gapBoard: 17, shadowCard: 'none', shadowModal: 'none', shadowUi: 'none', liftCard: 2, blurOverlay: 5, animSpeed: 'normal' }, + 'Apple Dark': { theme: 'apple', + fontHeadline: 'sans', fontContent: 'sans', fontUi: 'sans', + radiusCard: 12, radiusButton: 8, radiusInput: 8, radiusModal: 14, radiusTag: 6, radiusImage: 10, + borderCard: 1, borderStyle: 'solid', barHeight: 2, + padCard: 14, gapBoard: 18, + shadowCard: 'soft', shadowModal: 'medium', shadowUi: 'soft', + liftCard: 2, blurOverlay: 12, animSpeed: 'normal' }, }; window.applyDesign = function(d) { const root = document.documentElement.style;