-
Notifications
You must be signed in to change notification settings - Fork 48
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
Release 1.0.2 #6
Conversation
CHANGELOG.md
Outdated
#### :bug: Bug Fix | ||
* [#3](https://github.com/primer/primer-primitives/pull/6) Fix spacing so to be an array instead of an object. ([@broccolini](https://github.com/broccolini)) | ||
|
||
#### :house: Internal |
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 should probably be 📝 Documentation, no?
CHANGELOG.md
Outdated
# 1.0.2 (2018-07-20) | ||
|
||
#### :bug: Bug Fix | ||
* [#3](https://github.com/primer/primer-primitives/pull/6) Fix spacing so to be an array instead of an object. ([@broccolini](https://github.com/broccolini)) |
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.
Remove "so" 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.
Examples look good! Just a couple of things that we might want to tweak in the release notes.
|
||
const App = props => ( | ||
<ThemeProvider theme={theme}> | ||
<Alert color='green.0' bg='green.2' /> |
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 styled-system do the magic of converting the string green.0
to theme.colors.green[0]
? Or is there any extra set-up you need to do to get that to work besides passing the theme file into ThemeProvider
?
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.
The answer is essentially yes, no extra step. Here is the code if you are curious about the implementation https://github.com/jxnblk/styled-system/blob/master/src/util.js#L22-L23
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.
Hah, I found a bug in that code @broccolini: styled-system/styled-system#254 🤓
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.
Just left one question but otherwise looks good to me!
Closes #5 and #4
In this pr:
To do