Skip to content

Commit 23fc2d8

Browse files
committed
fix darkmode firefox
1 parent 7c1a824 commit 23fc2d8

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

packages/feedback/src/widget/Main.css.ts

+2-8
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export function createMainStyles(
5656
font-family: var(--font-family);
5757
font-size: var(--font-size);
5858
59-
${getThemedCssVariables(themes.light)}
59+
${getThemedCssVariables(colorScheme === 'dark' ? themes.dark : themes.light)}
6060
}
6161
6262
${
@@ -66,13 +66,7 @@ ${
6666
:host {
6767
${getThemedCssVariables(themes.dark)}
6868
}
69-
}
70-
`
71-
: `
72-
:host-context([data-sentry-feedback-colorscheme="dark"]) {
73-
${getThemedCssVariables(themes.dark)}
74-
}
75-
`
69+
}` : ''}
7670
}`;
7771

7872
return style;

0 commit comments

Comments
 (0)