-
Notifications
You must be signed in to change notification settings - Fork 21
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
feat: Added support for name colors #131
feat: Added support for name colors #131
Conversation
} | ||
|
||
Color? _parseNameColor(String colorString) { | ||
// 3 digits shade - Ex: yellow200 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ishanvaghani We don't need shades for all colors. The material color shades provided in black and white colors are good enough.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it will be add-on to define color shades. If you think it's unnecessary i will remove it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think only a small fraction of people might use it, but it could add unnecessary complexity for those new to Mirai. Initially, we should keep things simple and consider adding it later if the need comes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed shades from colors except black and white
case MiraiColors.amberAccent: | ||
return Colors.amberAccent[shadeInt]; | ||
case MiraiColors.black: | ||
switch (shadeInt) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @ishanvaghani
Description
Related Issues
Closes #123
Type of Change