Skip to content

Commit

Permalink
Merge pull request #1128 from ds-wizard/hotfix/4.5.2
Browse files Browse the repository at this point in the history
Hotfix 4.5.2
  • Loading branch information
janslifka committed Apr 8, 2024
2 parents a0a2842 + f49a37c commit 4c8f596
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,14 @@ getIllustrationsColor config =

isCustomTheme : LookAndFeelConfig -> Bool
isCustomTheme config =
config.primaryColor /= Nothing || config.illustrationsColor /= Nothing
let
isDefaultPrimaryColor =
getPrimaryColor config == defaultPrimaryColor

isDefaultIllustrationsColor =
getIllustrationsColor config == defaultIllustrationsColor
in
not (isDefaultPrimaryColor && isDefaultIllustrationsColor)


getTheme : LookAndFeelConfig -> Theme
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "engine-frontend",
"version": "4.5.1",
"version": "4.5.2",
"repository": "https://github.com/ds-wizard/engine-frontend",
"license": "Apache-2.0",
"scripts": {
Expand Down

0 comments on commit 4c8f596

Please sign in to comment.