AadityaBansal01 / AadityaBansal01/smart-timetable

Add dark mode toggle

未關閉
#4 5 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement hacktoberfest
主要語言
JavaScript
星號
1
分支
4
PR 合併指標
30 天內沒有已合併 PR

描述

## Description
The timetable UI currently only supports a light theme. Adding a dark/light mode toggle will allow users to switch themes, improving accessibility and overall user experience.

## Steps to Implement
1. Add a toggle button in the UI (e.g., in the header or settings panel).
2. Apply dark mode styles to all components (backgrounds, text, buttons, tables, etc.).
3. Store user preference (e.g., using localStorage or React context) to remember the selected theme.

## Expected Behavior
- Users can switch between light and dark themes seamlessly.
- All UI elements adapt correctly to the selected theme.

貢獻指南

開啟貢獻指南

研究方向

尋找主要的 UI 元件,它們可能位於頁首或設定面板中,以新增切換按鈕。使用 React context 或 localStorage 管理主題狀態。透過檢查現有的 CSS 或樣式函式庫,為所有元件套用深色模式樣式。確認主題能夠持續保存,且所有 UI 元素都能正確適應。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
react
領域
accessibility, frontend
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
描述清楚
新手友好度
65/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。