feat: grade forecast

This commit is contained in:
2026-06-13 21:22:50 +09:30
parent 14a322a128
commit 62a3d56bed
6 changed files with 536 additions and 243 deletions
@@ -105,6 +105,10 @@ function syncThemeFromPage(target: HTMLElement) {
target.style.setProperty("--bsplus-analytics-accent", palette.accent);
target.style.setProperty("--bsplus-analytics-accent-subtle", palette.accentSubtle);
target.style.setProperty(
"--bsplus-analytics-forecast",
`color-mix(in srgb, ${palette.accent} 72%, ${target.classList.contains("dark") ? "#f8fafc" : "#64748b"})`,
);
target.style.setProperty("--better-main", palette.accent);
target.style.setProperty("--bsplus-theme-btn-primary-bg", palette.accent);
target.style.setProperty("--bsplus-theme-btn-primary-color", palette.onAccent);