Skip to content

Commit 1930ff8

Browse files
committed
fix(feedback): Improve feedback border color in dark-mode, and prevent auto-dark mode when a theme is picked
1 parent 5317793 commit 1930ff8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/feedback/src/core/createMainStyles.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const DEFAULT_DARK: InternalTheme = {
2727
accentBackground: PURPLE,
2828
successColor: '#2da98c',
2929
errorColor: '#f55459',
30-
border: '1.5px solid rgba(41, 35, 47, 0.5)',
30+
border: '1.5px solid rgba(180, 180, 180, 0.25)',
3131
boxShadow: '0px 4px 24px 0px rgba(43, 34, 51, 0.12)',
3232
outline: '1px auto var(--accent-background)',
3333
interactiveFilter: 'brightness(150%)',
@@ -66,6 +66,8 @@ export function createMainStyles({ colorScheme, themeDark, themeLight }: Feedbac
6666
font-family: var(--font-family);
6767
font-size: var(--font-size);
6868
69+
${colorScheme !== 'system' ? 'color-scheme: only light;' : ''}
70+
6971
${getThemedCssVariables(
7072
colorScheme === 'dark' ? { ...DEFAULT_DARK, ...themeDark } : { ...DEFAULT_LIGHT, ...themeLight },
7173
)}

0 commit comments

Comments
 (0)