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

Add color utils #37

Merged
merged 6 commits into from
May 1, 2023
Merged

Add color utils #37

merged 6 commits into from
May 1, 2023

Conversation

meretamal
Copy link
Owner

Description

Currently, in every style file I was mixing manually each color to get a lighter or darker version of it, which can lead to errors if the wrong percentage is provided.

This pull request aims to add four color utilities: light, lighter, dark and darker, to be able to combine colors with black and white, and use them across components.

Requirements

None.

Additional changes

I also changes some files from .tsx to .ts, because they were not actually using tsx.

@meretamal meretamal self-assigned this May 1, 2023
@netlify
Copy link

netlify bot commented May 1, 2023

Deploy Preview for delicate-rolypoly-ac40db ready!

Name Link
🔨 Latest commit 2332b03
🔍 Latest deploy log https://app.netlify.com/sites/delicate-rolypoly-ac40db/deploys/64503ebeceb26c000851085e
😎 Deploy Preview https://deploy-preview-37--delicate-rolypoly-ac40db.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 settings.

@meretamal meretamal merged commit bbbe7c6 into main May 1, 2023
@meretamal meretamal deleted the refactor/color-mix branch May 1, 2023 22:37
@meretamal meretamal added improvement General improvements to the project style CSS or style related issues or additions labels May 5, 2023
@meretamal meretamal mentioned this pull request May 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement General improvements to the project style CSS or style related issues or additions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant