-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
fix(feedback): Fix cases where the outline of inputs were wrong #18647
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -71,7 +71,7 @@ export function createMainStyles({ | |
| font-family: var(--font-family); | ||
| font-size: var(--font-size); | ||
|
|
||
| ${colorScheme !== 'system' ? 'color-scheme: only light;' : ''} | ||
| ${colorScheme !== 'system' ? `color-scheme: only ${colorScheme};` : ''} | ||
|
|
||
| ${getThemedCssVariables( | ||
| colorScheme === 'dark' ? { ...DEFAULT_DARK, ...themeDark } : { ...DEFAULT_LIGHT, ...themeLight }, | ||
|
|
@@ -83,12 +83,13 @@ ${ | |
| ? ` | ||
| @media (prefers-color-scheme: dark) { | ||
| :host { | ||
| color-scheme: only dark; | ||
|
|
||
| ${getThemedCssVariables({ ...DEFAULT_DARK, ...themeDark })} | ||
| } | ||
| }` | ||
| : '' | ||
| } | ||
| } | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix PR missing automated regression test (Bugbot Rules)Per the review rules: when reviewing a |
||
| `; | ||
|
|
||
| if (styleNonce) { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was an extra closing brace doing nothing good nor bad.
I spotted it in the output though, we don't need it.