diff --git a/packages/feedback/src/core/createMainStyles.ts b/packages/feedback/src/core/createMainStyles.ts index 9eb5bd4dc2ab..ca5f138cb960 100644 --- a/packages/feedback/src/core/createMainStyles.ts +++ b/packages/feedback/src/core/createMainStyles.ts @@ -1,7 +1,7 @@ +import type { FeedbackInternalOptions } from '@sentry/types'; import { DOCUMENT } from '../constants'; -import type { FeedbackTheme, FeedbackThemes } from '../types'; -function getThemedCssVariables(theme: FeedbackTheme): string { +function getThemedCssVariables(theme: FeedbackInternalOptions['themeLight']): string { return ` --background: ${theme.background}; --background-hover: ${theme.backgroundHover}; @@ -39,7 +39,10 @@ function getThemedCssVariables(theme: FeedbackTheme): string { /** * Creates