889-turn-off-season-themes #907
No reviewers
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked-waiting-for-further-changes
bug
bug-only-on-server-for-mobile-not-webpage
Bug-Report-After-Merge
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
further-changes-needed
future-problem-not-fixint-this-period
help wanted
invalid
last-week-issue-to-fix
library
low-priority
needs input
needs review
not-implemented.
project documentation
question
research
reviewed
Script
security
SQL
style
Team 1
Team 2
team leaders
test-creation
testing
topLevel
unassigned
Under-review
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K!907
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "889-turn-off-season-themes"
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?
Broke out the function to get curr month, now imported to settings/app. Added toggle button to settings for seasonal themes, added so settings for themes are now stored in browser while refreshing.
To test if themes work you could add "--card-color-bg: pink;" to "[data-theme='spring']" in theme.css.
The setting to toggle themes stay persistent during refreshes of the site, nice.
I also added "--card-color-bg: pink;" to "[data-theme='spring']" and when enabling the themes the color of the cards change. So it seems to be working fine.
A thing I was thinking about was if themes should be month based or date based? It would be nice if some themes were more holiday focused, such as Halloween and Midsommar. This is definitely out of scope for this PR but maybe a future issue? :)
@a24timsv wrote in #907 (comment):
Good addition, I approve of this additional feature! Should not be an issue to add more specific options in the function. 💯