We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d439d5 commit 5c2682fCopy full SHA for 5c2682f
packages/feedback/src/widget/Main.css.ts
@@ -56,7 +56,7 @@ export function createMainStyles(
56
font-family: var(--font-family);
57
font-size: var(--font-size);
58
59
- ${getThemedCssVariables(themes.light)}
+ ${getThemedCssVariables(colorScheme === 'dark' ? themes.dark : themes.light)}
60
}
61
62
${
@@ -66,13 +66,7 @@ ${
66
:host {
67
${getThemedCssVariables(themes.dark)}
68
69
-}
70
-`
71
- : `
72
-:host-context([data-sentry-feedback-colorscheme="dark"]) {
73
- ${getThemedCssVariables(themes.dark)}
74
75
+}` : ''}
76
}`;
77
78
return style;
0 commit comments