-
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
hc bRanD reFrEsH #94
hc bRanD reFrEsH #94
Conversation
jackyzha0
commented
Nov 15, 2020
- made some colours more consistent
- hc theme yeet
Visit the preview URL for this PR (updated for commit 7214026): https://nwplus-ubc--pr94-hc-brand-refresh-vwubfyq4.web.app (expires Sun, 22 Nov 2020 03:25:20 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 |
src/components/Sidebar.js
Outdated
|
||
${p => | ||
p.theme.custom_imgs === 'hc' && | ||
css` |
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.
why do we need this?
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.
HC logo is more rectangle than square, so just fixing width and padding to make it look nicer
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.
You can't do that without the css
import?
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.
how else should i do the conditional css bit?
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.
does this not work
${p =>
p.theme.custom_imgs === 'hc' &&
`
width: 120px;
margin: 30px 0 0px 60px;
`}
`
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.
lemme try that
|
||
${p => | ||
p.theme.custom_imgs === 'hc' && | ||
css` |
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.
same thing here?
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 file already imports css so i think it should be fine lol