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(core): checkbox component "invalid" state styling #231

Merged
merged 1 commit into from
Jan 27, 2021

Conversation

josokinas
Copy link
Contributor

Purpose

Styling for Checkbox "invalid" state is not right.

Approach

Fix styling to apply correct "invalid" colors for [checked] and [indeterminate] indicators, also outline.

Testing

On Storybook using "night" mode.

Risks

N/A

@josokinas josokinas added this to the 1.0.0 milestone Jan 26, 2021
@josokinas josokinas requested a review from rabelloo January 26, 2021 16:51
@josokinas josokinas self-assigned this Jan 26, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Jan 26, 2021

🎊 PR Preview 772e9f3 has been successfully built and deployed to https://onfido-castor-preview-pr-231.surge.sh

🕐 Build time: 125.188s

🤖 By surge-preview

@josokinas josokinas force-pushed the fix/checkbox-invalid-styling branch from c49437c to 772e9f3 Compare January 26, 2021 17:12
@josokinas josokinas changed the title fix: checkbox component "invalid" state styling fix(core): checkbox component "invalid" state styling Jan 26, 2021
Copy link
Contributor

@rabelloo rabelloo left a comment

Choose a reason for hiding this comment

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

Code looks good but our tokens might be incorrect.

The preview looks different than the design.
Slightly different red colors, should be the same.

Screenshot 2021-01-26 at 17 19 23

@josokinas
Copy link
Contributor Author

Code looks good but our tokens might be incorrect.

Checked with @Subcide, everything is fine. Design will be adjusted to reflect such state with having a border, where originally it did not.

@josokinas josokinas merged commit caf3578 into main Jan 27, 2021
@josokinas josokinas deleted the fix/checkbox-invalid-styling branch January 27, 2021 08:29
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.

2 participants