You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/CONTRIBUTING.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
[fork]: https://github.com/github/primer/fork
4
4
[pr]: https://github.com/github/primer/compare
5
-
[style]: http://primercss.io/guidelines/
5
+
[style]: http://primer.github.io/guidelines/
6
6
7
7
Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.
8
8
@@ -59,16 +59,16 @@ Good pull requests—patches, improvements, new features—are a fantastic help.
59
59
60
60
### Updating Primer modules
61
61
62
-
Anyone can open a pull request on Primer CSS. You do not need to work at GitHub or be a member of the org to open a pull request.
62
+
Anyone can open a pull request on Primer. You do not need to work at GitHub or be a member of the org to open a pull request.
63
63
64
-
1. Fork and clone [this repository](https://github.com/primer/primer-css).
64
+
1. Fork and clone [this repository](https://github.com/primer/primer).
65
65
2. Configure and install the dependencies: `npm install`
66
66
3. Check out the dev branch `git checkout dev`
67
67
3. Create a new branch from dev `git checkout -b my-branch-name`
68
68
4. Make your changes and commit them.
69
69
5. Push your branch and open a pull request against `dev`. Add a comment describing your proposed changes and request a review from `@primer/ds-core`.
70
70
6. Wait for CI tests to finish.
71
-
- If the tests pass, you should see a status check telling you which alpha version of primer-css you can install with npm to test your work in other projects.
71
+
- If the tests pass, you should see a status check telling you which alpha version of primer you can install with npm to test your work in other projects.
72
72
- If the tests fail, review the logs and address any issues.
73
73
- If the builds fail for any other reason (as they occasionally do), they may need to be manually restarted.
74
74
7. When CI tests pass, a new npm alpha release will be posted under the CI checks, you can use this npm version for testing in your project or with a GitHub site if you are staff.
*[#359](https://github.com/primer/primer/pull/359) Change markdown li break to handle Safari 10.x user stylesheet bug. ([@feministy](https://github.com/feministy))
21
+
*[#388](https://github.com/primer/primer/pull/388) Button border-radius fix to override Chroma 62. ([@broccolini](https://github.com/broccolini))
22
+
*[#307](https://github.com/primer/primer/pull/307) Do not suppress opacity transition for tooltipped-no-delay. ([@astorije](https://github.com/astorije))
23
+
24
+
#### :house: Internal
25
+
*[#396](https://github.com/primer/primer/pull/396) Use lerna-changelog to generate a changelog. ([@jonrohan](https://github.com/jonrohan))
*[#390](https://github.com/primer/primer/pull/390) Updating `storiesFromMarkdown` to read in rails Octicons helper and replace with react component. ([@jonrohan](https://github.com/jonrohan))
28
+
*[#389](https://github.com/primer/primer/pull/389) Publish alpha release any time we're not on a release branch or master. ([@jonrohan](https://github.com/jonrohan))
29
+
*[#384](https://github.com/primer/primer/pull/384) Add test to check for the current year in the license and source. ([@jonrohan](https://github.com/jonrohan))
**Special thanks to @shaharke for transferring ownership of the Primer npm package to us so that we could make the rename happen!**:heart:
15
48
16
49
# 9.6.0
17
50
@@ -39,7 +72,7 @@
39
72
- Add deprecation warnings for `primer-cards` and `primer-forms/lib/form-validation.scss`#347 (these will be removed in v10.0.0)
40
73
41
74
### Changes
42
-
- Update npm metadata for `primer-css`, `primer-core`, `primer-product`, and `primer-marketing`#328
75
+
- Update npm metadata for `primer`, `primer-core`, `primer-product`, and `primer-marketing`#328
43
76
- Remove `HEAD` heading from the changelog #327
44
77
45
78
# 9.3.0
@@ -51,7 +84,7 @@
51
84
## Changes
52
85
- Removes `docs` from `gitignore`
53
86
- Removes the `^` from all dependencies so that we can publish exact versions
54
-
- Consolidates release notes from various sources into one changelog located in `/modules/primer-css/CHANGELOG.md`
87
+
- Consolidates release notes from various sources into one changelog located in `/modules/primer/CHANGELOG.md`
55
88
56
89
# 9.2.0
57
90
@@ -62,7 +95,7 @@
62
95
## Changes
63
96
64
97
- Remove per-module configurations (`.gitignore`, `.postcss.json`, `.stylelintrc.json`) and `CHANGELOG.md` files in #284
65
-
- Replace most static `font-size`, `font-weight`, and `line-height` CSS property values with their [SCSS variable equivalents](https://github.com/primer/primer-css/blob/c9ea37316fbb73c4d9931c52b42bc197260c0bf6/modules/primer-support/lib/variables/typography.scss#L12-L33) in #252
98
+
- Replace most static `font-size`, `font-weight`, and `line-height` CSS property values with their [SCSS variable equivalents](https://github.com/primer/primer/blob/c9ea37316fbb73c4d9931c52b42bc197260c0bf6/modules/primer-support/lib/variables/typography.scss#L12-L33) in #252
66
99
- Refactor CI scripts to use Travis conditional deployment for release candidate and final release publish steps in #290
67
100
68
101
# 9.1.1
@@ -109,7 +142,7 @@ This release also includes major improvements to our Travis build scripts to aut
109
142
110
143
We discovered that `primer-core` specified and outdated version of `primer-base` in it's dependencies. The outdated version did not have `normalize.scss` included which could cause some issues. This has issue occurred during v7.0.0 when creating the new monorepo. Also fixes repo urls in `package.json` for individual packages.
111
144
112
-
See PR [#243](https://github.com/primer/primer-css/pull/243)
145
+
See PR [#243](https://github.com/primer/primer/pull/243)
113
146
114
147
## Changes
115
148
@@ -154,7 +187,7 @@ See PR [#243](https://github.com/primer/primer-css/pull/243)
154
187
155
188
# 8.0.0 - Imports
156
189
157
-
Fixes issues with the ordering of imports in each of our meta-packages. See PR [#239](https://github.com/primer/primer-css/pull/239)
190
+
Fixes issues with the ordering of imports in each of our meta-packages. See PR [#239](https://github.com/primer/primer/pull/239)
158
191
159
192
160
193
## Changes
@@ -170,7 +203,7 @@ Fixes issues with the ordering of imports in each of our meta-packages. See PR [
170
203
171
204
# 7.0.0 - Monorepo
172
205
173
-
In an effort to improve our publishing workflow we turned Primer CSS into a monorepo, made this repo the source of truth for Primer by removing Primer modules from GitHub, and setup Lerna for managing multiple packages and maintaining independent versioning for all our modules.
206
+
In an effort to improve our publishing workflow we turned Primer into a monorepo, made this repo the source of truth for Primer by removing Primer modules from GitHub, and setup Lerna for managing multiple packages and maintaining independent versioning for all our modules.
174
207
175
208
This is exciting because:
176
209
@@ -179,7 +212,7 @@ This is exciting because:
179
212
- we no longer have files like package.json, scripts, and readme's in the GitHub app that don't really belong there
180
213
-**we can accept pull requests from external contributors** again!
181
214
182
-
See PR for more details on this change: https://github.com/primer/primer-css/pull/230
215
+
See PR for more details on this change: https://github.com/primer/primer/pull/230
Primer is the CSS framework that powers GitHub's front-end design. Primer CSS includes 23 packages that are grouped into 3 core meta-packages for easy install. Each package and meta-package is independently versioned and distributed via npm, so it's easy to include all or part of Primer within your own project.
6
+
Primer is the design system that powers GitHub. Primer includes 23 packages that are grouped into 3 core meta-packages for easy install. Each package and meta-package is independently versioned and distributed via npm, so it's easy to include all or part of Primer within your own project.
7
7
8
8
## Packages
9
9
10
-
The Primer CSS repo is managed as a monorepo that is composed of many npm packages.
10
+
The Primer repo is managed as a monorepo that is composed of many npm packages.
11
11
12
12
### Core Packages
13
13
14
14
| Package | Version |
15
15
|---|---|
16
-
|**[primer-css](/modules/primer-css)** <br />Includes all 23 packages |[](https://www.npmjs.com/package/primer-css)|
16
+
|**[primer](/modules/primer)** <br />Includes all 23 packages |[](https://www.npmjs.com/package/primer)|
This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-css` with this command.
23
+
This repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer` with this command.
24
24
25
25
```sh
26
-
$ npm install --save primer-css
26
+
$ npm install --save primer
27
27
```
28
28
29
29
## Usage
30
30
31
31
The source files included are written in [Sass][sass] (SCSS). After [installing](#install) with npm, you can add your project's `node_modules` directory to your Sass [include paths](https://github.com/sass/node-sass#includepaths) (AKA [load paths](http://technology.customink.com/blog/2014/10/09/understanding-and-using-sass-load-paths/) in Ruby), then import it like this:
32
32
33
33
```scss
34
-
@import"primer-css/index.scss";
34
+
@import"primer/index.scss";
35
35
```
36
36
37
37
You can import individual Primer modules by installing them with npm, for instance:
@@ -46,10 +46,10 @@ Then, you would import the module with:
46
46
@import"primer-navigation/index.scss";
47
47
```
48
48
49
-
Or, while you're figuring out which modules you need, you can import them directly from the `primer-css`[`packages` directory](./packages) like so:
49
+
Or, while you're figuring out which modules you need, you can import them directly from the `primer`[`packages` directory](./packages) like so:
Primer CSS is monorepo composed of 23 packages which can be installed altogether or individually via npm. We group our packages into 3 meta-packages which you can install individually: [primer-core](primer-core), [primer-product](primer-product), and [primer-marketing](primer-marketing). Install [primer-css](primer-css) if you want to install all 23 packages.
3
+
Primer is monorepo composed of 23 packages which can be installed altogether or individually via npm. We group our packages into 3 meta-packages which you can install individually: [primer-core](primer-core), [primer-product](primer-product), and [primer-marketing](primer-marketing). Install [primer](primer) if you want to install all 23 packages.
0 commit comments