Add a light theme that follows Windows
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 65/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Rust
- Estrellas
- 7
- Forks
- 1
- Merge medio
- 6 h 34 min
- PR fusionados (30 d)
- 2
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de CodingRule/Hidely
-
accessibility help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
CodingRule/Hidely#15 ·
-
compatibility help wanted testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
CodingRule/Hidely#14 ·
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
CodingRule/Hidely#13 ·
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
CodingRule/Hidely#12 ·
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
CodingRule/Hidely#3 ·
Todos los issues de CodingRule/Hidely
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 2 días
-
autofixer: follow-up
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
tursodatabase/turso#12531 ·
Los mantenedores suelen responder en 1 día
-
bug help wanted ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
userFRM/egui-charts#4292 ·
Los mantenedores suelen responder en 1 día
-
CHANGELOG.md out of dateAbiertoIssue-Bug Need-Review
Dificultad 1/5 1-3 horas Aptitud para principiantes 85/100
PowerShell/DSC#1832 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día