Skip to content

Feature: Light mode #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 1, 2025
Merged

Feature: Light mode #11

merged 2 commits into from
Apr 1, 2025

Conversation

monofox
Copy link
Contributor

@monofox monofox commented Apr 1, 2025

This commit introduces the first light theme for
taskwarrior-web with the feature of an automatic
mode to switch between dark and light depending on
OS / Browser setting.

Variable TWK_THEME can be used in order to pre-define
a theme.

Currently only two themes are supported:

  1. taskwarrior-dark
  2. taskwarrior-light

By default, the theme is switching automatically.

Actually, a small compromise was required in order to make it possible. It was not possible yet to support the default themes as well. Maybe it would be required to override the standard dark/light themes in order to support all themes.

Closes #8

monofox added 2 commits April 1, 2025 06:29
This commit introduces the first light theme for
`taskwarrior-web` with the feature of an automatic
mode to switch between dark and light depending on
OS / Browser setting.

Variable TWK_THEME can be used in order to pre-define
a theme.

Currently only two themes are supported:
1. taskwarrior-dark
2. taskwarrior-light

By default, the theme is switching automatically.

Closes tmahmood#8
@tmahmood tmahmood merged commit 198e9e4 into tmahmood:main Apr 1, 2025
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Light theme
2 participants