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

Update utils.py #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

CryptoLuigi
Copy link

This adds a more customization to the profile cards. User can set 3 colors.

This adds a more customization to the profile cards. User can set 3 colors.
@shahriyardx
Copy link
Owner

shahriyardx commented Oct 15, 2022

Instead of naming the variables color1 2/3 its better to give them a name that helps us understand what that color will be used for, isnt it ?

@CryptoLuigi
Copy link
Author

I agree why not. Btw I have more customization I will commit tmrw for you to look at.

@shahriyardx
Copy link
Owner

Also rather than taking every color as arguments we can use **kwargs to simplify the function. So people only pass what they want and if not passed we use the default.

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