Skip to content
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

Merged
merged 4 commits into from
Mar 14, 2024
Merged

fix: update component colors #197

merged 4 commits into from
Mar 14, 2024

Conversation

kryskirkland
Copy link
Collaborator

changes a few component colors to transition better in light/dark mode

  • lightens nav list
  • changes hard coded labels

Copy link

github-actions bot commented Mar 14, 2024

size-limit report 📦

Path Size
dist/components.cjs.production.min.js 195.32 KB (0%)
dist/components.esm.js 142.25 KB (+0.01% 🔺)

Comment on lines 74 to 95
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};
Copy link
Collaborator

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep - makes sense. reverted

@@ -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';
Copy link
Collaborator

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

@mikeldking mikeldking merged commit fd148cb into main Mar 14, 2024
6 checks passed
@mikeldking mikeldking deleted the update-more-colors branch March 14, 2024 19:15
@github-actions github-actions bot locked and limited conversation to collaborators Mar 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants