diff --git a/app/javascript/dashboard/assets/scss/_next-colors.scss b/app/javascript/dashboard/assets/scss/_next-colors.scss index 784edce6c..67eeaeb3f 100644 --- a/app/javascript/dashboard/assets/scss/_next-colors.scss +++ b/app/javascript/dashboard/assets/scss/_next-colors.scss @@ -1,7 +1,11 @@ // scss-lint:disable PropertySortOrder @layer base { // NEXT COLORS START - :root { + // `.light` mirrors `:root` so any subtree can be forced back to the light + // palette even when an ancestor (e.g. `body.dark`) sets the dark tokens — + // used to render the call window in the opposite theme of the product. + :root, + .light { // slate --slate-1: 252 252 253; --slate-2: 249 249 251; diff --git a/app/javascript/dashboard/components-next/call/FloatingCallWidget.vue b/app/javascript/dashboard/components-next/call/FloatingCallWidget.vue index 86d9e979c..c48486011 100644 --- a/app/javascript/dashboard/components-next/call/FloatingCallWidget.vue +++ b/app/javascript/dashboard/components-next/call/FloatingCallWidget.vue @@ -1,5 +1,5 @@