Skip to content

update radio border color #53

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

Merged
merged 6 commits into from
Sep 3, 2024
Merged

update radio border color #53

merged 6 commits into from
Sep 3, 2024

Conversation

bethshook
Copy link
Contributor

No description provided.

@@ -26,7 +26,7 @@ export const StyledInput = styled.input<{isDisabled?: boolean}>`
color: ${colors.palette.pale};
width: 2rem;
height: 2rem;
border: 1px solid currentColor;
border: 1px solid #767676;
Copy link
Member

Choose a reason for hiding this comment

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

Is this value from UX? Like is this going to match new Figma stuff?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

victoria requested it here. I think she's maybe referring to the browser default since I don't see us using that color anywhere.

@vcstax do you think we'll use this color elsewhere? if so I can add it to the theme palette. if not maybe we want to use a gray that's already in there?

Copy link

Choose a reason for hiding this comment

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

@bethshook @jivey I'm getting a hex of #767676 on the activity picker checkboxes in both Chrome and Edge, but it's possible those are the browser defaults. I assumed that color would be a simpler choice since it's already in use, but I didn't realize the boxes were left unstyled.

The original Figma designs use #6F6F6F. It's ideal to have production match, but I'm fine to use a different grey if that one's not in use — it just needs to be dark enough. It looks like a few greys are being used. Do you have a hex for the grey you're referencing or a link to your theme palette?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@vcstax here is the palette. we can add #767676 or just use neutralThin. If we want we could also apply the same to checkboxes so we don't rely on browser defaults.

Copy link

Choose a reason for hiding this comment

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

@bethshook If #767676 isn't already being used, it doesn't need to be added. Since neutralThin (#6F6F6F) from the Figma designs is already being used elsewhere in production, it should be used for the update.

Ideally, the checkboxes would use this color as well since it matches the design and browser defaults may vary. That seems super low/no priority, though. We just need the radio border color update for accessibility.

@bethshook bethshook merged commit 7742fab into main Sep 3, 2024
2 checks passed
@bethshook bethshook deleted the radio-contrast branch September 3, 2024 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants