-
Notifications
You must be signed in to change notification settings - Fork 55
Styled governance banner and inner card container. #2575
Conversation
* Style vCOW swap cards. * Style vCOW swap cards. (#2565) * Add governance card banner. (#2566) * Add governance card banner. * Governance banner update styles. * Make question icon use dynamic dark/light mode colors. * Center content properly cross devices. * Dummy values. * Disable unused vars * Cleanup obsolete color
|
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.
For me, ready to merge.
.stop1 { stop-color: ${({ theme }) => theme.white}} | ||
.stop2 { stop-color: ${({ theme }) => theme.white}; stop-opacity: 0.8;} | ||
.stop3 { stop-color: ${({ theme }) => theme.white}; stop-opacity: 0;} | ||
.stop1 { |
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.
In principle, this banner seems too general to be in the Claim page. Maybe should be a component or something?
Since you are using it also in the profile.
Normally, if a component is defined in a page, is because is too specific for being in the components
dir.
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.
Yes, agreed. Had the exact same thoughts. When working on it, I initially thought I could get away with simply re-using the same Component. But quickly realized I need more generic Card
components, including a prop to define 'banner' like features. I plan to tackle this outside this PR and will create a ticket specifically for this.
Yeah let's merge this asap |
Looks nice! |
Summary