Repository navigation
[Dashboard] Add the theme Berry (light and dark) - #303
Open
LarsLaskowski wants to merge 29 commits into
Open
LarsLaskowski wants to merge 29 commits into
LarsLaskowski wants to merge 29 commits into
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018g33ATFM6e98ugjueHDRBE
|
LarsLaskowski
marked this pull request as ready for review
November 30, 2026 21:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Pull Request
📖 Description
Adds the dashboard theme "Berry" (id
berry, light and dark), the third choice in the theme selection after Clear and Console. It uses one raspberry accent colour for all chrome, strongly rounded cards without a visible border in light mode, pill-shaped controls, inset tiles for the Pi-hole section and network interfaces, and load gauges drawn as full rings with the same scale and thresholds as the half circle. Status colours stay reserved for values, bars and gauge arcs. The canvas widgets get two new drawing properties (--gauge-shape,--spark-dot-size) with fallbacks to Clear's drawing, and every theme now declares--card-borderand--pill-tint. Berry's light--ok-inkis#166534instead of the issue's#15803d, because the issue's value reaches only 3.79:1 on the Pi-hole status pill.🎫 Issues
Closes #220
💬 Reviewer Notes
Only dashboard assets (
internal/web/assets:style.css,gauge.js,chart.js,theme-init.js), their tests, the area document and the README change. No API, config key, collector or packaging file is touched, andapp.jsandindex.htmlare unchanged. Smoke test: open the dashboard, choose Berry in "Customize dashboard" and switch light/dark; the page should restyle and redraw the gauges as rings and the sparklines without a reload. Decision records: docs/decisions/0044-berry-one-accent-status-colours-for-values.md, docs/decisions/0045-berry-light-ok-ink-darker-for-pill-contrast.md, and an extension of docs/decisions/0038-dashboard-mode-and-theme-as-token-overrides.md.📑 Test Plan
TestThemeRegistry_HasBerry_AC1TestStyleCSS_BerryPalette_AC2,TestStyleCSS_SharedNewTokens_AC2TestStyleCSS_BerryAccent_AC3TestStyleCSS_BerryStatusColours_AC4TestStyleCSS_BerryCards_AC5TestStyleCSS_BerryHeadings_AC6TestGaugeJS_Ring_AC7TestChartJS_BerrySparkline_AC8TestStyleCSS_BerryTiles_AC9TestGaugeJS_ShapePerDraw_AC10,TestAppJS_ThemeSwitchRedraws_AC10TestStyleCSS_BerryContrast_AC11TestStyleCSS_BerryRulesScoped_AC12TestAssets_NoBerryMarkup_AC13TestStyleCSS_BerryChrome_AC14The ring, sparkline dot and Updates card (also in the "Not checked yet" state at 320 px) were checked in headless Chrome; the screenshots are in the README.
✅ Checklist
.squad/stack.md, and the Analyzer gate reports no diagnostic in a changed file..squad/stack.mdpasses (new or changed production code with the branch conditions its report records, line coverage overall).README.md,ARCHITECTURE.md) and the area document of every changed behavior to reflect my changes..squad/stack.mdprescribes (none added).⏭ Next Steps
None.