feat: per-theme accent + Activity WhatsApp(en)/GitHub cards, softer icon borders
- theme: store accent separately for light/dark (theme-core/controls) - en contacts: WhatsApp card instead of VK (wa.me link) - Activity: add GitHub card (logo webp) in both locales - mp-card__image border uses --line to match card (less contrast)
This commit is contained in:
1 parent
302855efcf
commit
97ea48bc6f
25 files changed
+235
-47
No files matched your search
+4
-3
@@ -20,9 +20,10 @@ function apply(patch) {
|
||||
if (state.radius) root.dataset.radius = state.radius;
|
||||
if (state.font) root.dataset.font = state.font;
|
||||
|
||||
root.style.setProperty("--theme-h", String(state.h));
|
||||
root.style.setProperty("--theme-s", String(state.s));
|
||||
root.style.setProperty("--theme-l", String(state.l));
|
||||
const labAcc = state[state.mode] || state.light || { h: 210, s: 90, l: 40 };
|
||||
root.style.setProperty("--theme-h", String(labAcc.h));
|
||||
root.style.setProperty("--theme-s", String(labAcc.s));
|
||||
root.style.setProperty("--theme-l", String(labAcc.l));
|
||||
|
||||
ensureThemeFontLoaded(state.font);
|
||||
syncButtons();
|
||||
|
||||
Reference in new issue
Block a user