Skip to content

Commit 4c8f596

Browse files
authored
Merge pull request #1128 from ds-wizard/hotfix/4.5.2
Hotfix 4.5.2
2 parents a0a2842 + f49a37c commit 4c8f596

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

engine-shared/elm/Shared/Data/BootstrapConfig/LookAndFeelConfig.elm

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,14 @@ getIllustrationsColor config =
107107

108108
isCustomTheme : LookAndFeelConfig -> Bool
109109
isCustomTheme config =
110-
config.primaryColor /= Nothing || config.illustrationsColor /= Nothing
110+
let
111+
isDefaultPrimaryColor =
112+
getPrimaryColor config == defaultPrimaryColor
113+
114+
isDefaultIllustrationsColor =
115+
getIllustrationsColor config == defaultIllustrationsColor
116+
in
117+
not (isDefaultPrimaryColor && isDefaultIllustrationsColor)
111118

112119

113120
getTheme : LookAndFeelConfig -> Theme

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "engine-frontend",
3-
"version": "4.5.1",
3+
"version": "4.5.2",
44
"repository": "https://github.com/ds-wizard/engine-frontend",
55
"license": "Apache-2.0",
66
"scripts": {

0 commit comments

Comments
 (0)