-
Notifications
You must be signed in to change notification settings - Fork 8
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
[BT-151] AppHeader #42
Conversation
…icture example. Added prop to Example component to make background dark
…ow anchor tags and router's link components can be used for AppNav
…extra brackets in calculaing value in styles
.exampleContainer--dark { | ||
background: #aaaaaa; | ||
} | ||
|
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.
Nice! I just played around with this a bit and I'd like to suggest these styles for improved contrast between the background and text color:
.exampleContainer {
// Other styles...
background: white;
.examplePageTitle,
.examplePageSubTitle,
.examplePageText {
color: #5e6162;
}
}
.exampleContainer--dark {
background: #5e6162;
.examplePageTitle,
.examplePageSubTitle,
.examplePageText {
color: white;
}
}
This is great! The SCSS follows the BEM format really well. The interfaces for the components are also really nice. I had a lot of comments but they're all pretty simple little things. Nice work. |
…re/BT-151-app-header
…styled dark example. Isolated prototype's dropdownArrow class. Renamed vars and style classes
@cjcenizal Thanks for great tips! |
const picture = props.url ? <img src={props.url} /> : null; | ||
|
||
return ( | ||
<span className="icon glyphicons-user accountPicture"> |
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.
Looks like some there's some weird indentation here.
I think these things can be maybe be further improved, I'd like to hear your thoughts, if anything come to mind.