fix(voice): scope dark: variants away from inverse-theme call window

This commit is contained in:
Tanmay Deep Sharma
2026-06-03 15:43:53 +05:30
parent a7ca818ae2
commit 8287d3a216
+4 -1
View File
@@ -20,7 +20,10 @@ const defaultSansFonts = [
];
const tailwindConfig = {
darkMode: 'class',
// `dark:` applies under any `.dark` ancestor, but a nested `.light` boundary
// opts a subtree back out (so descendant `dark:` utilities don't leak into the
// call window when it renders in the inverse/light theme under `body.dark`).
darkMode: ['variant', '&:where(.dark, .dark *):not(:where(.light, .light *))'],
content: [
'./enterprise/app/views/**/*.erb',
'./app/javascript/widget/**/*.vue',