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

Change background after colour of checkbox #2806

Merged

Conversation

adi-unni
Copy link
Contributor

@adi-unni adi-unni commented Sep 18, 2023

What is the context of this PR?

Fixes Issue: #1800

Change affects the setting of the background colour for checkboxes when 'focussed' and 'checked' to stop reverting to original colour of background when error has been displayed. Original colour of background when in error, sets initial background to red instead of expected white for the inside of checkbox. Update removes any changes to background colour.

How to review

For all components thats use borderless checkboxes, e.g. example checkboxes without border/ example checkboxes with revealed radios, pass in an error class, and then test by clicking on checkboxes.
Check if background: whilst focussed remains white, whilst checked remains white, whilst unchecked remains white.

@adi-unni adi-unni added the Bug Something isn't working label Sep 18, 2023
@adi-unni adi-unni self-assigned this Sep 18, 2023
@netlify
Copy link

netlify bot commented Sep 18, 2023

Deploy Preview for ons-design-system-preview ready!

Name Link
🔨 Latest commit f679fc8
🔍 Latest deploy log https://app.netlify.com/sites/ons-design-system-preview/deploys/650ac89617db1800082b26bc
😎 Deploy Preview https://deploy-preview-2806--ons-design-system-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@adi-unni adi-unni linked an issue Sep 18, 2023 that may be closed by this pull request
Copy link
Contributor

@rmccar rmccar left a comment

Choose a reason for hiding this comment

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

Looks good 👍

Update prepend file to v2 (#2803)

Test signing commit

Test 2
@adi-unni adi-unni force-pushed the fix/1800/borderless-checkboxes-should-have-white-background branch from c060f88 to e11d15f Compare September 20, 2023 10:13
@alessioventuriniAND alessioventuriniAND changed the title Chang background after colour of checkbox Change background after colour of checkbox Sep 20, 2023
@adi-unni adi-unni merged commit b028cda into main Sep 20, 2023
@adi-unni adi-unni deleted the fix/1800/borderless-checkboxes-should-have-white-background branch September 20, 2023 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Borderless checkboxes should always have a white background
3 participants