-
Notifications
You must be signed in to change notification settings - Fork 0
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
OIO Defaults #38
OIO Defaults #38
Conversation
import style from './style.less' | ||
|
||
// TODO: Deprecate fontFamily and primaryColor props |
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.
@stevenyuen Any reason not to deprecate primaryColor
and fontFamily
in this PR? (At least internally)
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.
@asabhaney just would prefer to do that in a separate PR since lots of components use that primaryColor prop.
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.
Sounds good. I'll this as an issue.
import style from './style.less' | ||
|
||
// TODO: Deprecate fontFamily and primaryColor props |
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.
Sounds good. I'll this as an issue.
} | ||
}, | ||
viewport: { | ||
minSizes: { |
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.
Was just thinking, how do you feel about using the word breakpoints
? Just an idea
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.
@asabhaney good idea.
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! Looks good to me.
b: '768px', | ||
c: '992px', | ||
d: '1300px', | ||
e: '1650px' |
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'm guessing this is using characters instead of numbers because of our breakpoint system that uses the 2[b-e]
style syntax?
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.
Exactly. Right on sir.
@@ -12,7 +14,8 @@ export default class OIO extends Component { | |||
|
|||
static defaultProps = { | |||
fontFamily: 'Helvetica Neue, Arial', | |||
primaryColor: '#78909C' | |||
primaryColor: '#78909C', | |||
...defaults |
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!
No description provided.