Skip to content

Commit

Permalink
refactor: ♻️ Added ThemeSlice to make it more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
rickkoekkoek committed Dec 5, 2023
1 parent cd68af8 commit 1650403
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tdd/theme.puml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ class CurrentTheme{

}

CurrentTheme --> Redux: Stored In
class ThemeSlice{
+theme : 'light' | 'dark'
}
CurrentTheme --> ThemeSlice: Retrieves
ThemeSlice --> Redux: Stored In
ColorConfig --> ColorMap: Builds off
ColorConfig --> CurrentTheme: Retrieves
@enduml

0 comments on commit 1650403

Please sign in to comment.