UI: light/dark switch in the header (operator request)
The design system already renders light when the browser prefers it; this adds the same ☀ button Gandalf has (lt.theme.toggle). The choice is remembered per browser (localStorage) and synced across tabs; until it is used, the browser's preference still decides. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
51afe4b69f
commit
c04227a763
2 files changed
+9
-1
No files matched your search
@@ -145,6 +145,7 @@ def test_needs_attention_page(store):
|
||||
assert 'Loki: <strong>blind</strong>' in html and 'HTTP 500' in html
|
||||
assert 'On the timeline only' in html and 'monitor-01 slow' in html # unexplained symptom
|
||||
assert 'Last 7 days' in html and 'storage-01 oom' in html
|
||||
assert 'id="lt-theme-btn"' in html and 'lt.theme.toggle()' in html # light/dark switch
|
||||
|
||||
|
||||
def test_incident_and_known_pages(store):
|
||||
|
||||
Reference in new issue
Block a user