mirror of
https://github.com/BreizhHardware/Site-comptage-heure.git
synced 2026-05-09 08:15:31 +02:00
[PR #24] [MERGED] feat: Add theme selector to header #82
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
BreizhHardware/Site-comptage-heure#82
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/BreizhHardware/Site-comptage-heure/pull/24
Author: @BreizhHardware
Created: 11/20/2025
Status: ✅ Merged
Merged: 11/20/2025
Merged by: @BreizhHardware
Base:
dev← Head:feat/auto-theme📝 Commits (1)
73ddaf3feat: Add theme selector to header📊 Changes
2 files changed (+78 additions, -18 deletions)
View changed files
📝
components/Header.tsx(+22 -18)➕
components/mode-toggle.tsx(+56 -0)📄 Description
This pull request introduces a new theme mode toggle feature to the application's header, allowing users to switch between light, dark, and system themes. The main change is the addition of the
ModeTogglecomponent and its integration into theHeader.New Theme Toggle Feature:
ModeTogglecomponent incomponents/mode-toggle.tsxthat provides a popover menu for switching between light, dark, and system themes using thenext-themeslibrary.ModeTogglecomponent into theHeaderso it appears alongside user session information. [1] [2] [3]Closes #20
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.