Add a light theme that follows Windows
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 65/100
Hướng nghiên cứu
Start in ui/style.css, where the colour variables are defined at the top, and find the hard-coded colours such as #131316 and #17171a in the rules. Add a @media (prefers-color-scheme: light) block that redefines the variables and set color-scheme: light dark on :root, then check the main window and all four dialogs. Done when Hidely follows the Windows theme, body and placeholder text reach 4.5:1 contrast in both themes, the dark theme looks unchanged, and the pull request includes screenshots.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hidely is dark only. It should follow the Windows light or dark setting.
What to do
All colours are CSS variables at the top of ui/style.css (--shell, --pane, --text, --line, --fill, --ok, --hidden, --warn and so on).
- Add an
@media (prefers-color-scheme: light)block that redefines those variables, and setcolor-scheme: light darkon:root. - Find the few colours written directly in rules (for example the dialog background
#131316and the table header#17171a) and turn them into variables so they switch too. - The window is see-through. Check the light version over both a dark and a bright desktop background.
Requirements
- Body text and placeholder text must reach a contrast ratio of at least 4.5:1 in both themes.
- The five window statuses must stay distinguishable. They already use different icons and words, so colour is not the only signal; keep it that way.
- The dark theme must look the same as it does today.
Done when
Switching Windows between light and dark (Settings, Personalisation, Colours) switches Hidely, and both look right in the main window and all four dialogs. Screenshots of both in the pull request, please.
- Ngôn ngữ chính
- Rust
- Star
- 7
- Fork
- 1
- Merge trung bình
- 6 giờ 34 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của CodingRule/Hidely
-
accessibility help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
CodingRule/Hidely#15 ·
-
compatibility help wanted testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
CodingRule/Hidely#14 ·
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
CodingRule/Hidely#13 ·
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
CodingRule/Hidely#12 ·
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
CodingRule/Hidely#3 ·
Tất cả issue của CodingRule/Hidely
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 2 ngày
-
autofixer: follow-up
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
tursodatabase/turso#12531 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug help wanted ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
userFRM/egui-charts#4292 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
CHANGELOG.md out of dateĐang mởIssue-Bug Need-Review
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
PowerShell/DSC#1832 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày