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

[WIP]: added new ui component checkbox #34

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

yskyba13
Copy link

@yskyba13 yskyba13 commented Oct 11, 2022

Related Ticket(s)
ACORN-939 Checkbox(link)
Proposed Changes
added new UI component checkbox

Checklist
Updated ticket in Jira
Screenshots/Screen Recording
image
image
image

@yskyba13 yskyba13 self-assigned this Oct 11, 2022
position: 'relative',
cursor: 'pointer',
transition: `200ms`,
boxSizing: 'border-box',
border: `2px solid ${theme.COLOR.gray3}`,
border: `2px solid ${disabled ? 'blue' : 'red'}`,
Copy link
Contributor

Choose a reason for hiding this comment

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

We need to pull the color codes from the new theme instead of hardcoding them.

Copy link
Author

Choose a reason for hiding this comment

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

fixed it please check

[`${Input}:focus + &`]: {
borderColor: theme.COLOR.brandMain,
border: `2px solid #5B9EF8`,
Copy link
Contributor

Choose a reason for hiding this comment

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

Please check for hardcoded color name

Copy link
Author

Choose a reason for hiding this comment

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

fixed it please check

},

[`${Input}:checked:focus + &`]: {
borderColor: theme.COLOR.gray5,
border: `2px solid #5B9EF8`,
Copy link
Contributor

Choose a reason for hiding this comment

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

Please check for hardcoded color name

Copy link
Author

Choose a reason for hiding this comment

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

fixed it please check

left: '5px',
right: '5px',
bottom: '5px',
border: '115px solid #ffea00'
Copy link
Contributor

Choose a reason for hiding this comment

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

Please check for hardcoded color name

Copy link

@lbrekhov lbrekhov Oct 17, 2022

Choose a reason for hiding this comment

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

Hey, what you mean here?
To extract into a variable?

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.

4 participants