UNPKG

@sentry/react-native

Version:
40 lines (39 loc) 1.02 kB
/** * Get the theme for the feedback widget based on the current color scheme */ export declare function getTheme(): FeedbackFormTheme; export interface FeedbackFormTheme { /** * Background color for surfaces */ background: string; /** * Foreground color (i.e. text color) */ foreground: string; /** * Foreground color for accented elements */ accentForeground?: string; /** * Background color for accented elements */ accentBackground?: string; /** * Border color */ border?: string; /** * Color for feedback icon */ feedbackIcon?: string; /** * Color for Sentry logo */ sentryLogo?: string; } export declare const LightTheme: FeedbackFormTheme; export declare const DarkTheme: FeedbackFormTheme; /** @deprecated Use `FeedbackFormTheme` instead. */ export type FeedbackWidgetTheme = FeedbackFormTheme; //# sourceMappingURL=FeedbackForm.theme.d.ts.map