-
Notifications
You must be signed in to change notification settings - Fork 1
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
implement SelectorInput #18
Conversation
@@ -0,0 +1,10 @@ | |||
export const BACKGROUND = '#2f5e5a'; |
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.
Do we already have / plan to have a global palette? I believe the same colours will used in other components (like Round Name, Pearl Thread etc)
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.
If we have time for that, I'd also reorganise the palette a bit into colors and their semantic assignments. That's if we really have a fixed (minimal number of colors) color palette, which is generally a good thing.
Smth. like
const WHITE = '#fff' // is not recommended btw
export const GENERIC_TEXT = WHITE // only semantic constants are exported, pure colors can't be used without a meaningful UX role.
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 easier to implement components in this way and later extract same colors to color palette.
const WHITE = '#fff' // is not recommended btw
Agree, I prefer smth like BRAND_PRIMARY
, BRAND_ACCENT
etc.
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 easier to implement components in this way and later extract same colors to color palette.
Sure, let's just maybe create a task/issue for that?
Concerning white, it's just that pure white is not recommended as such, it's too "technical" a color — shades of white, warm or cool, should be preferred.
BRAND_PRIMARY
and such would be semantic names.
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.
let's just maybe create a task/issue for that?
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.
👍
Closes #10