-
Notifications
You must be signed in to change notification settings - Fork 2
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
[TITAN-363] - UI Adjustments #78
Conversation
padding: 1rem; | ||
min-width: 115px; |
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.
This just makes all CTA buttons a standard width rather than depending on the text
@@ -1,4 +1,5 @@ | |||
.component { | |||
color: var(--wpe--main--color); | |||
background-color: var(--wpe--main--background-color); | |||
min-height: 100vh; |
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.
Footer snaps to bottom with this property on the main content wrapper
blue: 'blue', | ||
purple: 'purple', | ||
charcoal: 'black', | ||
red: 'red', |
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.
Can be extended for others that are not CSS colours, here it is charcoal
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.
Description
This change fixes up some outstanding UI issues that we have identified:
charcoal
variant wasn't showing a black swatch because that is not a native colour in CSS. So I created aVARIANT_MAP
const that the user can extend to map variants to CSS colours.Testing
npm run dev
and test the changes listed above in various browsers