-
Notifications
You must be signed in to change notification settings - Fork 2
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
fix: update component colors #197
Conversation
size-limit report 📦
|
src/label/Label.tsx
Outdated
color: ${theme.labelColors.blue}; | ||
border: 1px solid ${theme.labelColors.blue}; | ||
color: var(--ac-global-color-blue-900); | ||
border: 1px solid var(--ac-global-color-blue-900); | ||
} | ||
&.ac-label--orange { | ||
color: ${theme.labelColors.orange}; | ||
border: 1px solid ${theme.labelColors.orange}; | ||
color: var(--ac-global-color-orange-900); | ||
border: 1px solid var(--ac-global-color-orange-900); | ||
} | ||
&.ac-label--green { | ||
color: ${theme.labelColors.green}; | ||
border: 1px solid ${theme.labelColors.green}; | ||
color: var(--ac-global-color-green-900); | ||
border: 1px solid var(--ac-global-color-green-900); | ||
} | ||
&.ac-label--red { | ||
color: ${theme.labelColors.red}; | ||
border: 1px solid ${theme.labelColors.red}; | ||
color: var(--ac-global-color-red-900); | ||
border: 1px solid var(--ac-global-color-red-900); | ||
} | ||
&.ac-label--purple { | ||
color: ${theme.labelColors.purple}; | ||
border: 1px solid ${theme.labelColors.purple}; | ||
color: var(--ac-global-color-purple-900); | ||
border: 1px solid var(--ac-global-color-purple-900); | ||
} | ||
&.ac-label--gray { | ||
color: ${theme.labelColors.gray}; | ||
border: 1px solid ${theme.labelColors.gray}; |
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.
Let's leave these alone and just deprecate them entirely later
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.
yep - makes sense. reverted
src/textfield/TextArea.tsx
Outdated
@@ -51,7 +51,7 @@ function TextArea(props: TextAreaProps, ref: RefObject<TextFieldRef>) { | |||
// overflow: hidden in Firefox https://bugzilla.mozilla.org/show_bug.cgi?id=1787062 | |||
const isFirefox = 'MozAppearance' in input.style; | |||
if (!isFirefox) { | |||
input.style.overflow = 'hidden'; |
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.
I'm not sure we should do this. See comment above
changes a few component colors to transition better in light/dark mode