Skip to Content

V19 fix viin brand web

Killed 294m merged
PR
#695
PR Author
Roy Le
Committer
Roy Le
Commit
2f05f2bc258a
Branch
19.0
Age
Up-time
Commit message
[FIX] viin_brand_web: a stock website keeps the AA teal; test the customized and stock palettes

293b3ad told a customized website by $o-color-palette-name != 'base-1'. By the time
frontend_primary.scss compiles, website's secondary_variables.scss has renamed the active palette
'user-palette' on every website, the stock one included: every website counted as customized and
a stock website's login and portal would have shown base-1's aubergine instead of the AA teal (the
existing frontend primary test compiles exactly that bundle on a database with website). The
selected palette is $o-original-color-palette-name.

New test: on the first website, the stock palette compiles --primary to the AA teal; after the
editor's own customization call (o-color-1 navy, CC1 secondary button white, no border) the same
website compiles --primary to its navy and the secondary button border to its own white, not the
brand purple (toaxe 14.0 -> 19.0).