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
Button refactoring #365
Button refactoring #365
Conversation
&:focus { | ||
background: @buttonNegativeBgHover; | ||
} | ||
} | ||
|
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.
are you missing a }
somewhere in 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.
Nope, had to read the full file
So if Travis lets you, then LGTM |
BREAKING CHANGE: This change includes an overhaul of the button styles. **Removes the 'primary', 'button-blue', and 'button-green' styles** - Default button color remains blue. - Added new 'button-positive' class for green button and 'button-negative' class for red button. - Moved all button styles into 'rxButton' directory for consistency
Changes Unknown when pulling 0184956 on 277-buttons into * on v1.0.0*. |
FINALLY PASSED! |
@@ -49,6 +55,7 @@ | |||
@tableCellText: #555; | |||
|
|||
@buttonText: @white; | |||
@buttonDisabledText: #f0efef; | |||
|
|||
@orangeText: #ffa61b; |
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.
Nitpicking: any context for orangeText
? Could this be more semantic?
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.
It's used for the 'send feedback' link in rxApp, but it's hard to make this one "semantic" without tying it solely to that link. I have trouble with semantics and the vars.less file all together, since there is a lot of fuzziness to it all. Suggestions welcome!
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.
Fair concern, but it's a little jarring to go buttoncolor, bordercolor, ORANGE, you know? Maybe menuEmphasisText or some derivitive?
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.
Yep, I get the same feeling here. Maybe lightEmphasisText
or linkWithDarkBgText
to point out that it's for a dark bg?
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'd go with the former, although the person that will use this the most is probably you, so something that won't help you forget*
- Besides Orange ;)
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.
slightyOrangeTextUsedForMakingTextOrange
it is!
BREAKING CHANGE: This change includes an overhaul of the button styles.
Removes the 'primary', 'button-blue', and 'button-green' styles
/cc @mocha @ericw