Adding new themes per issue #37 #41
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
Pending
question
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Public/ditdashdot!41
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "DEV"
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?
Added 7 themes and removed 1 to provide more options for users to customize their dashboards.
Removed Theme:
Added Themes:
Also changed around the way that themes are handled to be more dynamic and reduce duplicate configurations in multiple files.
Pull Request Overview
This PR implements a comprehensive theme system refactor for DitDashDot, replacing the previous hardcoded theme handling with a dynamic configuration approach and expanding theme options from 5 to 8 themes.
themeConfig.jsmodule with helper functionsReviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
@ -214,7 +225,15 @@ const Dashboard = () => {);This nested ternary operator is difficult to read. Consider extracting the background image logic into a separate variable or using a more readable conditional structure.
The fallback boxShadow value should use the theme's cardShadow property instead of a hardcoded value to maintain consistency with the theme system.
@ -0,0 +197,4 @@background: theme.backgroundColor,color: theme.color};};The function uses inconsistent property names. The serviceColors objects use 'background' and 'color' properties, while the default return uses 'background' but should match the theme property naming convention which uses 'backgroundColor'.