Skip to content
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

Refractored css into js for flat-buttons #397

Merged
merged 1 commit into from
Mar 10, 2015
Merged

Conversation

mmrtnz
Copy link
Contributor

@mmrtnz mmrtnz commented Mar 6, 2015

  • Created ColorManipulator utility file
    • Serves as the js equivalent to Less' color functions:
    • fade(color, amount)
    • lighten(color, amount)
    • darken(color, amount)
  • Modified EnhancedButton, added a new prop
    • Given a onKeyboardFocus prop which notifies the parent button (e.g. FlatButton) to update its styling.
    • Will be utilized by future button refractoring: RaisedButton, FloatingActionButton
  • Created Typography js file
    • Contains global styles from Typography.less
    • Other styles will be added as they are needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customization: css Design CSS customizability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants