Identité Kanbante : sidebar charbon, accent vert, icônes ligne, bouton thème en Administration (#54, #55) #56

Merged
bruno merged 8 commits from identite-verte-54-55 into main 2026-10-28 23:13:35 -04:00
Showing only changes of commit 6602a070be - Show all commits
+4 -2
View File
@@ -16,8 +16,10 @@ def test_admin_accordion_closes(client, fake_gitea):
def test_theme_toggle_present_and_versioned(client, fake_gitea):
page = client.get("/")
assert 'id="theme-toggle"' in page.text
assert "Mode clair" in page.text
assert "/static/js/nav.js?v=" in page.text
# #55 : le bouton n'est plus dans l'en-tête applicatif.
head = page.text.split("header-actions", 1)[1].split("</header>", 1)[0]
assert 'id="theme-toggle"' not in head
def test_theme_js_contract(client, fake_gitea):
@@ -32,6 +34,6 @@ def test_light_theme_tokens(client, fake_gitea):
assert 'html[data-theme="light"]' in css
assert "--bg: #f2f2f0;" in css
assert "--surface: #ffffff;" in css
assert "--accent-2: #a92e63;" in css
assert "--accent-2: #0f766e;" in css
assert 'html[data-theme="light"] .draco-bar' in css
assert 'html[data-theme="light"] .card-menu' in css