Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix lever color in switch component #517

Merged
merged 1 commit into from
Feb 29, 2024
Merged

Conversation

yahiakala
Copy link
Contributor

@yahiakala yahiakala commented Feb 29, 2024

The switch component wasn't incorporating the transparency correctly. As a result, the bar behind the switch was turning white when checked.

I just changed one line:

background-color: rgba(var(--color), .5);

To:

background-color: rgba(var(--color) / .5);

All the other changes (to the yaml files) were done by the Anvil Editor.

Copy link
Collaborator

@s-cork s-cork left a comment

Choose a reason for hiding this comment

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

Lgtm

@s-cork s-cork merged commit f550e03 into anvilistas:main Feb 29, 2024
2 checks passed
@s-cork
Copy link
Collaborator

s-cork commented Feb 29, 2024

Oops forgot to request a change log item. Could you add one @yahiakala and pr that

s-cork added a commit that referenced this pull request Mar 1, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants