jekyll-theme-primer 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/default.html +2 -1
  3. data/_sass/primer-base/README.md +2 -2
  4. data/_sass/primer-base/build/build.css +1 -1
  5. data/_sass/primer-base/build/index.js +1 -1
  6. data/_sass/primer-base/lib/base.scss +4 -4
  7. data/_sass/primer-base/lib/typography-base.scss +4 -3
  8. data/_sass/primer-base/package.json +24 -68
  9. data/_sass/primer-layout/README.md +2 -2
  10. data/_sass/primer-layout/build/build.css +1 -1
  11. data/_sass/primer-layout/build/index.js +1 -1
  12. data/_sass/primer-layout/lib/columns.scss +0 -15
  13. data/_sass/primer-layout/lib/container.scss +0 -3
  14. data/_sass/primer-layout/lib/grid.scss +22 -5
  15. data/_sass/primer-layout/package.json +24 -68
  16. data/_sass/primer-markdown/README.md +2 -2
  17. data/_sass/primer-markdown/lib/blob-csv.scss +4 -4
  18. data/_sass/primer-markdown/lib/code.scss +3 -3
  19. data/_sass/primer-markdown/lib/headings.scss +3 -3
  20. data/_sass/primer-markdown/lib/images.scss +1 -1
  21. data/_sass/primer-markdown/lib/lists.scss +5 -5
  22. data/_sass/primer-markdown/lib/markdown-body.scss +6 -7
  23. data/_sass/primer-markdown/lib/tables.scss +1 -1
  24. data/_sass/primer-markdown/package.json +24 -88
  25. data/_sass/primer-support/README.md +2 -2
  26. data/_sass/primer-support/lib/mixins/buttons.scss +2 -2
  27. data/_sass/primer-support/lib/variables/color-system.scss +11 -11
  28. data/_sass/primer-support/lib/variables/layout.scss +1 -1
  29. data/_sass/primer-support/lib/variables/misc.scss +7 -12
  30. data/_sass/primer-support/package.json +22 -90
  31. data/_sass/primer-utilities/README.md +2 -2
  32. data/_sass/primer-utilities/build/build.css +1 -1
  33. data/_sass/primer-utilities/build/index.js +1 -1
  34. data/_sass/primer-utilities/lib/colors.scss +1 -1
  35. data/_sass/primer-utilities/lib/padding.scss +17 -0
  36. data/_sass/primer-utilities/lib/typography.scss +4 -4
  37. data/_sass/primer-utilities/lib/visibility-display.scss +17 -1
  38. data/_sass/primer-utilities/package.json +24 -92
  39. data/assets/javascript/anchor-js/anchor.js +8 -12
  40. data/assets/javascript/anchor-js/anchor.min.js +3 -3
  41. data/assets/javascript/anchor-js/banner.js +17 -0
  42. data/assets/javascript/anchor-js/docs/anchor.js +334 -0
  43. data/assets/javascript/anchor-js/docs/favicon.ico +0 -0
  44. data/assets/javascript/anchor-js/docs/fonts/anchorjs-extras.eot +0 -0
  45. data/assets/javascript/anchor-js/docs/fonts/anchorjs-extras.svg +11 -0
  46. data/assets/javascript/anchor-js/docs/fonts/anchorjs-extras.ttf +0 -0
  47. data/assets/javascript/anchor-js/docs/fonts/anchorjs-extras.woff +0 -0
  48. data/assets/javascript/anchor-js/docs/fonts/fonts.css +24 -0
  49. data/assets/javascript/anchor-js/docs/grunticon/grunticon.loader.js +3 -0
  50. data/assets/javascript/anchor-js/docs/grunticon/icons.data.png.css +5 -0
  51. data/assets/javascript/anchor-js/docs/grunticon/icons.data.svg.css +5 -0
  52. data/assets/javascript/anchor-js/docs/grunticon/icons.fallback.css +5 -0
  53. data/assets/javascript/anchor-js/docs/grunticon/png/grunticon-link.png +0 -0
  54. data/assets/javascript/anchor-js/docs/grunticon/preview.html +33 -0
  55. data/assets/javascript/anchor-js/docs/img/anchoring-links.png +0 -0
  56. data/assets/javascript/anchor-js/docs/img/anchorjs_logo.png +0 -0
  57. data/assets/javascript/anchor-js/docs/img/anchorlinks2.png +0 -0
  58. data/assets/javascript/anchor-js/docs/img/gh-link.svg +9 -0
  59. data/assets/javascript/anchor-js/docs/img/gh_link.svg +9 -0
  60. data/assets/javascript/anchor-js/docs/img/hyperlink.svg +9 -0
  61. data/assets/javascript/anchor-js/docs/img/link.svg +6 -0
  62. data/assets/javascript/anchor-js/docs/img/mini-logo.png +0 -0
  63. data/assets/javascript/anchor-js/docs/img/primer-md.png +0 -0
  64. data/assets/javascript/anchor-js/docs/index.html +807 -0
  65. data/assets/javascript/anchor-js/docs/scripts.js +12 -0
  66. data/assets/javascript/anchor-js/docs/styles.css +493 -0
  67. metadata +44 -9
  68. data/_sass/primer-base/CHANGELOG.md +0 -68
  69. data/_sass/primer-layout/CHANGELOG.md +0 -63
  70. data/_sass/primer-markdown/CHANGELOG.md +0 -202
  71. data/_sass/primer-support/CHANGELOG.md +0 -164
  72. data/_sass/primer-utilities/CHANGELOG.md +0 -245
@@ -1,7 +1,7 @@
1
1
  # Primer CSS Markdown
2
2
 
3
- [![NPM version](http://img.shields.io/npm/v/primer-markdown.svg)](https://www.npmjs.org/package/primer-markdown)
4
- [![Build Status](https://travis-ci.org/primer/primer-markdown.svg?branch=master)](https://travis-ci.org/primer/primer-markdown)
3
+ [![npm version](http://img.shields.io/npm/v/primer-markdown.svg)](https://www.npmjs.org/package/primer-markdown)
4
+ [![Build Status](https://travis-ci.org/primer/primer-css.svg?branch=master)](https://travis-ci.org/primer/primer-css)
5
5
 
6
6
  > Stylesheets for rendering GitHub Flavored Markdown and syntax highlighted code snippets.
7
7
 
@@ -1,17 +1,17 @@
1
- // stylelint-disable selector-no-type
1
+ // stylelint-disable selector-max-type
2
2
  .markdown-body .csv-data {
3
3
  td,
4
4
  th {
5
5
  padding: 5px;
6
6
  overflow: hidden;
7
- font-size: 12px;
8
- line-height: 1;
7
+ font-size: $font-size-small;
8
+ line-height: $lh-condensed-ultra;
9
9
  text-align: left;
10
10
  white-space: nowrap;
11
11
  }
12
12
 
13
13
  .blob-num {
14
- padding: 10px 8px 9px;
14
+ padding: 10px $spacer-2 9px;
15
15
  text-align: right;
16
16
  background: $bg-white;
17
17
  border: 0;
@@ -1,4 +1,4 @@
1
- // stylelint-disable selector-no-type
1
+ // stylelint-disable selector-max-type
2
2
  .markdown-body {
3
3
  // Inline code snippets
4
4
  code,
@@ -38,7 +38,7 @@
38
38
  }
39
39
 
40
40
  .highlight {
41
- margin-bottom: $margin;
41
+ margin-bottom: $spacer-3;
42
42
 
43
43
  pre {
44
44
  margin-bottom: 0;
@@ -48,7 +48,7 @@
48
48
 
49
49
  .highlight pre,
50
50
  pre {
51
- padding: $margin;
51
+ padding: $spacer-3;
52
52
  overflow: auto;
53
53
  font-size: 85%;
54
54
  line-height: 1.45;
@@ -1,6 +1,6 @@
1
1
  // Needs refactoring
2
2
  // stylelint-disable selector-max-compound-selectors, selector-max-specificity
3
- // stylelint-disable selector-no-type
3
+ // stylelint-disable selector-max-type
4
4
  .markdown-body {
5
5
  // Headings
6
6
  h1,
@@ -9,8 +9,8 @@
9
9
  h4,
10
10
  h5,
11
11
  h6 {
12
- margin-top: ($margin * 1.5);
13
- margin-bottom: $margin;
12
+ margin-top: $spacer-4;
13
+ margin-bottom: $spacer-3;
14
14
  font-weight: $font-weight-bold;
15
15
  line-height: $lh-condensed;
16
16
 
@@ -1,6 +1,6 @@
1
1
  // Need to target base styles
2
2
  // stylelint-disable selector-max-compound-selectors, selector-no-qualifying-type, primer/selector-no-utility
3
- // stylelint-disable selector-no-type
3
+ // stylelint-disable selector-max-type
4
4
  .markdown-body {
5
5
  // Images & Stuff
6
6
  img {
@@ -1,6 +1,6 @@
1
1
  // Base styles
2
2
  // stylelint-disable selector-no-qualifying-type
3
- // stylelint-disable selector-no-type
3
+ // stylelint-disable selector-max-type
4
4
  .markdown-body {
5
5
 
6
6
  // Lists, Blockquotes & Such
@@ -46,7 +46,7 @@
46
46
  }
47
47
 
48
48
  li > p {
49
- margin-top: $margin;
49
+ margin-top: $spacer-3;
50
50
  }
51
51
 
52
52
  li + li {
@@ -58,15 +58,15 @@
58
58
 
59
59
  dt {
60
60
  padding: 0;
61
- margin-top: $margin;
61
+ margin-top: $spacer-3;
62
62
  font-size: 1em;
63
63
  font-style: italic;
64
64
  font-weight: $font-weight-bold;
65
65
  }
66
66
 
67
67
  dd {
68
- padding: 0 $margin;
69
- margin-bottom: $margin;
68
+ padding: 0 $spacer-3;
69
+ margin-bottom: $spacer-3;
70
70
  }
71
71
  }
72
72
  }
@@ -1,13 +1,12 @@
1
1
  // All of our block level items should have the same margin
2
- // stylelint-disable selector-no-type
3
- $margin: 16px;
2
+ // stylelint-disable selector-max-type
4
3
 
5
4
  // This is styling for generic markdownized text. Anything you put in a
6
5
  // container with .markdown-body on it should render generally well. It also
7
6
  // includes some GitHub Flavored Markdown specific styling (like @mentions)
8
7
  .markdown-body {
9
8
  font-family: $body-font;
10
- font-size: 16px;
9
+ font-size: $h4-size;
11
10
  line-height: $body-line-height;
12
11
  word-wrap: break-word;
13
12
 
@@ -49,9 +48,9 @@ $margin: 16px;
49
48
 
50
49
  .anchor {
51
50
  float: left;
52
- padding-right: 4px;
51
+ padding-right: $spacer-1;
53
52
  margin-left: -20px;
54
- line-height: 1;
53
+ line-height: $lh-condensed-ultra;
55
54
 
56
55
  &:focus {
57
56
  outline: none;
@@ -66,13 +65,13 @@ $margin: 16px;
66
65
  table,
67
66
  pre {
68
67
  margin-top: 0;
69
- margin-bottom: $margin;
68
+ margin-bottom: $spacer-3;
70
69
  }
71
70
 
72
71
  hr {
73
72
  height: 0.25em;
74
73
  padding: 0;
75
- margin: ($margin * 1.5) 0;
74
+ margin: $spacer-4 0;
76
75
  background-color: $gray-200;
77
76
  border: 0;
78
77
  }
@@ -1,5 +1,5 @@
1
1
  // Needs refactoring
2
- // stylelint-disable selector-no-type
2
+ // stylelint-disable selector-max-type
3
3
  .markdown-body {
4
4
  // Tables
5
5
  table {
@@ -1,77 +1,45 @@
1
1
  {
2
- "_args": [
3
- [
4
- {
5
- "raw": "primer-markdown@3.3.7",
6
- "scope": null,
7
- "escapedName": "primer-markdown",
8
- "name": "primer-markdown",
9
- "rawSpec": "3.3.7",
10
- "spec": "3.3.7",
11
- "type": "version"
12
- },
13
- "/Users/benbalter/projects/pages-themes/primer"
14
- ]
15
- ],
16
- "_from": "primer-markdown@3.3.7",
17
- "_id": "primer-markdown@3.3.7",
18
- "_inCache": true,
2
+ "_from": "primer-markdown@3.5.0",
3
+ "_id": "primer-markdown@3.5.0",
4
+ "_inBundle": false,
5
+ "_integrity": "sha1-ntu7DZPHm05UADoTsPXUsgz2DgI=",
19
6
  "_location": "/primer-markdown",
20
- "_nodeVersion": "7.8.0",
21
- "_npmOperationalInternal": {
22
- "host": "packages-12-west.internal.npmjs.com",
23
- "tmp": "tmp/primer-markdown-3.3.7.tgz_1491599266492_0.619599232217297"
24
- },
25
- "_npmUser": {
26
- "name": "jonrohan",
27
- "email": "yes@jonrohan.codes"
28
- },
29
- "_npmVersion": "4.2.0",
30
7
  "_phantomChildren": {},
31
8
  "_requested": {
32
- "raw": "primer-markdown@3.3.7",
33
- "scope": null,
34
- "escapedName": "primer-markdown",
9
+ "type": "version",
10
+ "registry": true,
11
+ "raw": "primer-markdown@3.5.0",
35
12
  "name": "primer-markdown",
36
- "rawSpec": "3.3.7",
37
- "spec": "3.3.7",
38
- "type": "version"
13
+ "escapedName": "primer-markdown",
14
+ "rawSpec": "3.5.0",
15
+ "saveSpec": null,
16
+ "fetchSpec": "3.5.0"
39
17
  },
40
18
  "_requiredBy": [
41
19
  "#USER",
42
20
  "/"
43
21
  ],
44
- "_resolved": "https://registry.npmjs.org/primer-markdown/-/primer-markdown-3.3.7.tgz",
45
- "_shasum": "6a3f5626ce2705266791d565dfc441ac0e9aaa5c",
46
- "_shrinkwrap": null,
47
- "_spec": "primer-markdown@3.3.7",
48
- "_where": "/Users/benbalter/projects/pages-themes/primer",
22
+ "_resolved": "https://registry.npmjs.org/primer-markdown/-/primer-markdown-3.5.0.tgz",
23
+ "_shasum": "9edbbb0d93c79b4e54003a13b0f5d4b20cf60e02",
24
+ "_spec": "primer-markdown@3.5.0",
25
+ "_where": "/Users/benbalter/projects/primer",
49
26
  "author": {
50
27
  "name": "GitHub, Inc."
51
28
  },
52
29
  "bugs": {
53
- "url": "https://github.com/primer/primer-markdown/issues"
30
+ "url": "https://github.com/primer/primer-css/issues"
54
31
  },
32
+ "bundleDependencies": false,
55
33
  "dependencies": {
56
- "primer-support": "*"
34
+ "primer-support": "^4.2.0"
57
35
  },
36
+ "deprecated": false,
58
37
  "description": "GitHub stylesheets for rendering markdown.",
59
- "devDependencies": {
60
- "primer-module-build": "*",
61
- "stylelint": "*",
62
- "stylelint-config-primer": "*"
63
- },
64
- "directories": {},
65
- "dist": {
66
- "shasum": "6a3f5626ce2705266791d565dfc441ac0e9aaa5c",
67
- "tarball": "https://registry.npmjs.org/primer-markdown/-/primer-markdown-3.3.7.tgz"
68
- },
69
38
  "files": [
70
39
  "index.scss",
71
40
  "lib",
72
41
  "build"
73
42
  ],
74
- "gitHead": "bed376573706185a1749a35000d8623ba0414223",
75
43
  "homepage": "https://github.com/primer/primer-markdown",
76
44
  "keywords": [
77
45
  "github",
@@ -85,49 +53,17 @@
85
53
  ],
86
54
  "license": "MIT",
87
55
  "main": "build/index.js",
88
- "maintainers": [
89
- {
90
- "name": "broccolini",
91
- "email": "diana.mounter@gmail.com"
92
- },
93
- {
94
- "name": "dgraham",
95
- "email": "david.malcom.graham@gmail.com"
96
- },
97
- {
98
- "name": "jonrohan",
99
- "email": "yes@jonrohan.codes"
100
- },
101
- {
102
- "name": "josh",
103
- "email": "josh@joshpeek.com"
104
- },
105
- {
106
- "name": "mdo",
107
- "email": "markdotto@gmail.com"
108
- },
109
- {
110
- "name": "mislav",
111
- "email": "mislav.marohnic@gmail.com"
112
- },
113
- {
114
- "name": "muan",
115
- "email": "me@muanchiou.com"
116
- }
117
- ],
118
56
  "name": "primer-markdown",
119
- "optionalDependencies": {},
120
- "readme": "# Primer CSS Markdown\n\n[![NPM version](http://img.shields.io/npm/v/primer-markdown.svg)](https://www.npmjs.org/package/primer-markdown)\n[![Build Status](https://travis-ci.org/primer/primer-markdown.svg?branch=master)](https://travis-ci.org/primer/primer-markdown)\n\n> Stylesheets for rendering GitHub Flavored Markdown and syntax highlighted code snippets.\n\nThis repository is a module of the full [primer-css][primer-css] repository.\n\n## Install\n\nThis repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-markdown` with this command.\n\n```\n$ npm install --save primer-markdown\n```\n\n## Usage\n\nThe source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.\n\n```scss\n@import \"primer-markdown/index.scss\";\n```\n\nYou can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._\n\n## Build\n\nFor a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css` The built css file is also included in the npm package.\n\n```\n$ npm run build\n```\n\n## Documentation\n\n<!-- %docs\ntitle: Markdown\nstatus: Stable\n-->\n\nText can be **bold**, _italic_, or ~~strikethrough~~. [Links](https://github.com) should be blue with no underlines (unless hovered over).\n\nThere should be whitespace between paragraphs. There should be whitespace between paragraphs. There should be whitespace between paragraphs. There should be whitespace between paragraphs.\n\nThere should be whitespace between paragraphs. There should be whitespace between paragraphs. There should be whitespace between paragraphs. There should be whitespace between paragraphs.\n\n> There should be no margin above this first sentence.\n>\n> Blockquotes should be a lighter gray with a gray border along the left side.\n>\n> There should be no margin below this final sentence.\n\n# Header 1\n\nThis is a normal paragraph following a header. Bacon ipsum dolor sit amet t-bone doner shank drumstick, pork belly porchetta chuck sausage brisket ham hock rump pig. Chuck kielbasa leberkas, pork bresaola ham hock filet mignon cow shoulder short ribs biltong.\n\n## Header 2\n\n> This is a blockquote following a header. Bacon ipsum dolor sit amet t-bone doner shank drumstick, pork belly porchetta chuck sausage brisket ham hock rump pig. Chuck kielbasa leberkas, pork bresaola ham hock filet mignon cow shoulder short ribs biltong.\n\n### Header 3\n\n```\nThis is a code block following a header.\n```\n\n#### Header 4\n\n* This is an unordered list following a header.\n* This is an unordered list following a header.\n* This is an unordered list following a header.\n\n##### Header 5\n\n1. This is an ordered list following a header.\n2. This is an ordered list following a header.\n3. This is an ordered list following a header.\n\n###### Header 6\n\n| What | Follows |\n|-----------|-----------------|\n| A table | A header |\n| A table | A header |\n| A table | A header |\n\n----------------\n\nThere's a horizontal rule above and below this.\n\n----------------\n\nHere is an unordered list:\n\n* Salt-n-Pepa\n* Bel Biv DeVoe\n* Kid 'N Play\n\nAnd an ordered list:\n\n1. Michael Jackson\n2. Michael Bolton\n3. Michael Bublé\n\nAnd an unordered task list:\n\n- [x] Create a sample markdown document\n- [x] Add task lists to it\n- [ ] Take a vacation\n\nAnd a \"mixed\" task list:\n\n- [ ] Steal underpants\n- ?\n- [ ] Profit!\n\nAnd a nested list:\n\n* Jackson 5\n * Michael\n * Tito\n * Jackie\n * Marlon\n * Jermaine\n* TMNT\n * Leonardo\n * Michelangelo\n * Donatello\n * Raphael\n\nDefinition lists can be used with HTML syntax. Definition terms are bold and italic.\n\n<dl>\n <dt>Name</dt>\n <dd>Godzilla</dd>\n <dt>Born</dt>\n <dd>1952</dd>\n <dt>Birthplace</dt>\n <dd>Japan</dd>\n <dt>Color</dt>\n <dd>Green</dd>\n</dl>\n\n----------------\n\nTables should have bold headings and alternating shaded rows.\n\n| Artist | Album | Year |\n|-------------------|-----------------|------|\n| Michael Jackson | Thriller | 1982 |\n| Prince | Purple Rain | 1984 |\n| Beastie Boys | License to Ill | 1986 |\n\nIf a table is too wide, it should condense down and/or scroll horizontally.\n\n| Artist | Album | Year | Label | Awards | Songs |\n|-------------------|-----------------|------|-------------|----------|-----------|\n| Michael Jackson | Thriller | 1982 | Epic Records | Grammy Award for Album of the Year, American Music Award for Favorite Pop/Rock Album, American Music Award for Favorite Soul/R&B Album, Brit Award for Best Selling Album, Grammy Award for Best Engineered Album, Non-Classical | Wanna Be Startin' Somethin', Baby Be Mine, The Girl Is Mine, Thriller, Beat It, Billie Jean, Human Nature, P.Y.T. (Pretty Young Thing), The Lady in My Life |\n| Prince | Purple Rain | 1984 | Warner Brothers Records | Grammy Award for Best Score Soundtrack for Visual Media, American Music Award for Favorite Pop/Rock Album, American Music Award for Favorite Soul/R&B Album, Brit Award for Best Soundtrack/Cast Recording, Grammy Award for Best Rock Performance by a Duo or Group with Vocal | Let's Go Crazy, Take Me With U, The Beautiful Ones, Computer Blue, Darling Nikki, When Doves Cry, I Would Die 4 U, Baby I'm a Star, Purple Rain |\n| Beastie Boys | License to Ill | 1986 | Mercury Records | noawardsbutthistablecelliswide | Rhymin & Stealin, The New Style, She's Crafty, Posse in Effect, Slow Ride, Girls, (You Gotta) Fight for Your Right, No Sleep Till Brooklyn, Paul Revere, Hold It Now, Hit It, Brass Monkey, Slow and Low, Time to Get Ill |\n\n----------------\n\nCode snippets like `var foo = \"bar\";` can be shown inline.\n\nAlso, `this should vertically align` ~~`with this`~~ ~~and this~~.\n\nCode can also be shown in a block element.\n```\nvar foo = \"bar\";\n```\n\nCode can also use syntax highlighting.\n```javascript\nvar foo = \"bar\";\n```\n\n```\nLong, single-line code blocks should not wrap. They should horizontally scroll if they are too long. This line should be long enough to demonstrate this.\n```\n\n```javascript\nvar foo = \"The same thing is true for code with syntax highlighting. A single line of code should horizontally scroll if it is really long.\";\n```\n\nInline code inside table cells should still be distinguishable.\n\n| Language | Code |\n|-------------|--------------------|\n| Javascript | `var foo = \"bar\";` |\n| Ruby | `foo = \"bar\"` |\n\n----------------\n\nSmall images should be shown at their actual size.\n\n![](http://placekitten.com/g/300/200/)\n\nLarge images should always scale down and fit in the content container.\n\n![](http://placekitten.com/g/1200/800/)\n\n```\nThis is the final element on the page and there should be no margin below this.\n```\n<!-- %enddocs -->\n\n## License\n\n[MIT](./LICENSE) &copy; [GitHub](https://github.com/)\n\n[primer-css]: https://github.com/primer/primer\n[docs]: http://primercss.io/\n[npm]: https://www.npmjs.com/\n[install-npm]: https://docs.npmjs.com/getting-started/installing-node\n[sass]: http://sass-lang.com/\n",
121
- "readmeFilename": "README.md",
122
57
  "repository": {
123
58
  "type": "git",
124
- "url": "git+https://github.com/primer/primer-markdown.git"
59
+ "url": "https://github.com/primer/primer-css/tree/master/modules/primer-markdown"
125
60
  },
126
61
  "scripts": {
127
62
  "build": "primer-module-build index.scss",
128
- "prepublish": "npm run build",
129
- "test": "npm run build && stylelint **/*.scss -c .stylelintrc.json -s scss"
63
+ "lint": "stylelint **/*.scss -s scss",
64
+ "prepare": "npm run build",
65
+ "test": "npm-run-all -s build lint"
130
66
  },
131
67
  "style": "index.scss",
132
- "version": "3.3.7"
68
+ "version": "3.5.0"
133
69
  }
@@ -1,7 +1,7 @@
1
1
  # Primer CSS Support
2
2
 
3
- [![NPM version](http://img.shields.io/npm/v/primer-support.svg)](https://www.npmjs.org/package/primer-support)
4
- [![Build Status](https://travis-ci.org/primer/primer-support.svg?branch=master)](https://travis-ci.org/primer/primer-support)
3
+ [![npm version](http://img.shields.io/npm/v/primer-support.svg)](https://www.npmjs.org/package/primer-support)
4
+ [![Build Status](https://travis-ci.org/primer/primer-css.svg?branch=master)](https://travis-ci.org/primer/primer-css)
5
5
 
6
6
  > Support files are Sass variables, mixins, and functions that we import into different bases for use across components, objects, and utilities. Sharing these common properties across GitHub sites helps us to keep our styles more consistent.
7
7
  >
@@ -124,7 +124,7 @@
124
124
  background-image: none;
125
125
 
126
126
  .Counter {
127
- background-color: rgba(0, 0, 0, 0.07);
127
+ background-color: rgba($black, 0.07);
128
128
  }
129
129
 
130
130
  &:hover,
@@ -150,7 +150,7 @@
150
150
  &.disabled {
151
151
  color: $black-fade-30;
152
152
  background-color: $bg-white;
153
- border-color: rgba(0, 0, 0, 0.15);
153
+ border-color: $black-fade-15;
154
154
  box-shadow: none;
155
155
  }
156
156
  }
@@ -89,19 +89,19 @@ $purple-900: #29134e !default;
89
89
  $black: #1b1f23 !default;
90
90
  $white: #fff !default;
91
91
 
92
- $black-fade-15: transparentize($black, 0.85) !default;
93
- $black-fade-30: transparentize($black, 0.7) !default;
94
- $black-fade-50: transparentize($black, 0.5) !default;
95
- $black-fade-70: transparentize($black, 0.3) !default;
96
- $black-fade-85: transparentize($black, 0.15) !default;
92
+ $black-fade-15: rgba($black, 0.15) !default;
93
+ $black-fade-30: rgba($black, 0.3) !default;
94
+ $black-fade-50: rgba($black, 0.5) !default;
95
+ $black-fade-70: rgba($black, 0.7) !default;
96
+ $black-fade-85: rgba($black, 0.85) !default;
97
97
 
98
- $white-fade-15: transparentize($white, 0.85) !default;
99
- $white-fade-30: transparentize($white, 0.7) !default;
100
- $white-fade-50: transparentize($white, 0.5) !default;
101
- $white-fade-70: transparentize($white, 0.3) !default;
102
- $white-fade-85: transparentize($white, 0.15) !default;
98
+ $white-fade-15: rgba($white, 0.15) !default;
99
+ $white-fade-30: rgba($white, 0.3) !default;
100
+ $white-fade-50: rgba($white, 0.5) !default;
101
+ $white-fade-70: rgba($white, 0.7) !default;
102
+ $white-fade-85: rgba($white, 0.85) !default;
103
103
 
104
- // -------- Color System --------
104
+ // -------- Color defaults --------
105
105
  $red: $red-500 !default;
106
106
  $purple: $purple-500 !default;
107
107
  $blue: $blue-500 !default;
@@ -24,7 +24,7 @@ $spacers: (
24
24
  // Aliases for easy use
25
25
  $spacer-1: nth($spacers, 2) !default; // 4px
26
26
  $spacer-2: nth($spacers, 3) !default; // 8px
27
- $spacer-3: nth($spacers, 4) !default; // 12px
27
+ $spacer-3: nth($spacers, 4) !default; // 16px
28
28
  $spacer-4: nth($spacers, 5) !default; // 24px
29
29
  $spacer-5: nth($spacers, 6) !default; // 32px
30
30
  $spacer-6: nth($spacers, 7) !default; // 40px
@@ -12,15 +12,15 @@ $border-radius: 3px !default;
12
12
  $exploregrid-item-border-radius: 4px;
13
13
 
14
14
  // Box shadow
15
- $box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) !default;
16
- $box-shadow-medium: 0 1px 5px rgba(0, 0, 0, 0.15) !default;
17
- $box-shadow-large: 0 1px 15px rgba(0, 0, 0, 0.15) !default;
18
- $box-shadow-extra-large: 0 10px 50px rgba(0, 0, 0, 0.07) !default;
15
+ $box-shadow: 0 1px 1px rgba($black, 0.1) !default;
16
+ $box-shadow-medium: 0 1px 5px $black-fade-15 !default;
17
+ $box-shadow-large: 0 1px 15px $black-fade-15 !default;
18
+ $box-shadow-extra-large: 0 10px 50px rgba($black, 0.07) !default;
19
19
 
20
20
  // Tooltips
21
21
  $tooltip-max-width: 250px !default;
22
- $tooltip-background-color: rgba(0, 0, 0, 0.8) !default;
23
- $tooltip-text-color: #fff !default;
22
+ $tooltip-background-color: rgba($black, 0.8) !default;
23
+ $tooltip-text-color: $white !default;
24
24
  $tooltip-delay: 0.4s !default;
25
25
  $tooltip-duration: 0.1s !default;
26
26
 
@@ -37,9 +37,4 @@ $max_tab_size: 12;
37
37
  // Button and form variables
38
38
  $form-control-shadow: inset 0 1px 2px rgba($black, 0.075);
39
39
  $btn-input-focus-shadow: 0 0 0 0.2em rgba($blue, 0.3);
40
- $btn-active-shadow: inset 0 0.15em 0.3em rgba($black, 0.15);
41
-
42
- $btn-shadow-inner: inset 0 -1px 0 rgba($black, 0.15);
43
- $btn-shadow-outer: 0 1px 2px rgba($black, 0.15);
44
- $btn-shadow-hover: 0 6px 10px rgba($black, 0.15);
45
- $btn-shadow-active-inner: inset 0 0.125em 0.25em rgba($black, 0.25);
40
+ $btn-active-shadow: inset 0 0.15em 0.3em $black-fade-15;
@@ -1,41 +1,19 @@
1
1
  {
2
- "_args": [
3
- [
4
- {
5
- "raw": "primer-support@4.0.0",
6
- "scope": null,
7
- "escapedName": "primer-support",
8
- "name": "primer-support",
9
- "rawSpec": "4.0.0",
10
- "spec": "4.0.0",
11
- "type": "version"
12
- },
13
- "/Users/benbalter/projects/pages-themes/primer"
14
- ]
15
- ],
16
- "_from": "primer-support@4.0.0",
17
- "_id": "primer-support@4.0.0",
18
- "_inCache": true,
2
+ "_from": "primer-support@4.2.0",
3
+ "_id": "primer-support@4.2.0",
4
+ "_inBundle": false,
5
+ "_integrity": "sha1-l62vtX48YXWP2ZwCwKJBA69XbEE=",
19
6
  "_location": "/primer-support",
20
- "_nodeVersion": "7.9.0",
21
- "_npmOperationalInternal": {
22
- "host": "packages-12-west.internal.npmjs.com",
23
- "tmp": "tmp/primer-support-4.0.0.tgz_1492733766968_0.0859340624883771"
24
- },
25
- "_npmUser": {
26
- "name": "jonrohan",
27
- "email": "yes@jonrohan.codes"
28
- },
29
- "_npmVersion": "4.2.0",
30
7
  "_phantomChildren": {},
31
8
  "_requested": {
32
- "raw": "primer-support@4.0.0",
33
- "scope": null,
34
- "escapedName": "primer-support",
9
+ "type": "version",
10
+ "registry": true,
11
+ "raw": "primer-support@4.2.0",
35
12
  "name": "primer-support",
36
- "rawSpec": "4.0.0",
37
- "spec": "4.0.0",
38
- "type": "version"
13
+ "escapedName": "primer-support",
14
+ "rawSpec": "4.2.0",
15
+ "saveSpec": null,
16
+ "fetchSpec": "4.2.0"
39
17
  },
40
18
  "_requiredBy": [
41
19
  "#USER",
@@ -45,33 +23,23 @@
45
23
  "/primer-markdown",
46
24
  "/primer-utilities"
47
25
  ],
48
- "_resolved": "https://registry.npmjs.org/primer-support/-/primer-support-4.0.0.tgz",
49
- "_shasum": "3dbbb37e4e0f2ed2ea6035e0b79dd0cb33bae85e",
50
- "_shrinkwrap": null,
51
- "_spec": "primer-support@4.0.0",
52
- "_where": "/Users/benbalter/projects/pages-themes/primer",
26
+ "_resolved": "https://registry.npmjs.org/primer-support/-/primer-support-4.2.0.tgz",
27
+ "_shasum": "97adafb57e3c61758fd99c02c0a24103af576c41",
28
+ "_spec": "primer-support@4.2.0",
29
+ "_where": "/Users/benbalter/projects/primer",
53
30
  "author": {
54
31
  "name": "GitHub, Inc."
55
32
  },
56
33
  "bugs": {
57
- "url": "https://github.com/primer/primer-support/issues"
34
+ "url": "https://github.com/primer/primer-css/issues"
58
35
  },
59
- "dependencies": {},
36
+ "bundleDependencies": false,
37
+ "deprecated": false,
60
38
  "description": "Sass variables, mixins, and functions for use in our components.",
61
- "devDependencies": {
62
- "stylelint": "*",
63
- "stylelint-config-primer": "*"
64
- },
65
- "directories": {},
66
- "dist": {
67
- "shasum": "3dbbb37e4e0f2ed2ea6035e0b79dd0cb33bae85e",
68
- "tarball": "https://registry.npmjs.org/primer-support/-/primer-support-4.0.0.tgz"
69
- },
70
39
  "files": [
71
40
  "index.scss",
72
41
  "lib"
73
42
  ],
74
- "gitHead": "4e42d05bd727bd3c45a9d48178f4d356cff17a23",
75
43
  "homepage": "http://primercss.io/",
76
44
  "keywords": [
77
45
  "primer",
@@ -84,51 +52,15 @@
84
52
  "scss"
85
53
  ],
86
54
  "license": "MIT",
87
- "maintainers": [
88
- {
89
- "name": "broccolini",
90
- "email": "diana.mounter@gmail.com"
91
- },
92
- {
93
- "name": "dgraham",
94
- "email": "david.malcom.graham@gmail.com"
95
- },
96
- {
97
- "name": "github-owner",
98
- "email": "dgraham@github.com"
99
- },
100
- {
101
- "name": "jonrohan",
102
- "email": "yes@jonrohan.codes"
103
- },
104
- {
105
- "name": "josh",
106
- "email": "josh@joshpeek.com"
107
- },
108
- {
109
- "name": "mdo",
110
- "email": "markdotto@gmail.com"
111
- },
112
- {
113
- "name": "mislav",
114
- "email": "mislav.marohnic@gmail.com"
115
- },
116
- {
117
- "name": "muan",
118
- "email": "me@muanchiou.com"
119
- }
120
- ],
121
55
  "name": "primer-support",
122
- "optionalDependencies": {},
123
- "readme": "# Primer CSS Support\n\n[![NPM version](http://img.shields.io/npm/v/primer-support.svg)](https://www.npmjs.org/package/primer-support)\n[![Build Status](https://travis-ci.org/primer/primer-support.svg?branch=master)](https://travis-ci.org/primer/primer-support)\n\n> Support files are Sass variables, mixins, and functions that we import into different bases for use across components, objects, and utilities. Sharing these common properties across GitHub sites helps us to keep our styles more consistent.\n>\n> Most of the time to include these you'll only need to add `@import \"support/support\";` to the top of your bundle. If you want only a specific partial you can import them separately.\n\nThis repository is a module of the full [primer-css][primer] repository.\n\n## Install\n\nThis repository is distributed with [npm][npm]. After [installing npm][install-npm], you can install `primer-support` with this command.\n\n```\n$ npm install --save primer-support\n```\n\n## Usage\n\nThe source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this.\n\n```scss\n@import \"primer-support/index.scss\";\n```\n\nYou can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._\n\n## Documentation\n\nYou can read more about support in the [docs][docs].\n\n## License\n\n[MIT](./LICENSE) &copy; [GitHub](https://github.com/)\n\n[primer]: https://github.com/primer/primer\n[docs]: http://primercss.io/\n[npm]: https://www.npmjs.com/\n[install-npm]: https://docs.npmjs.com/getting-started/installing-node\n[sass]: http://sass-lang.com/\n",
124
- "readmeFilename": "README.md",
125
56
  "repository": {
126
57
  "type": "git",
127
- "url": "git+https://github.com/primer/primer-support.git"
58
+ "url": "https://github.com/primer/primer-css/tree/master/modules/primer-support"
128
59
  },
129
60
  "scripts": {
130
- "test": "stylelint **/*.scss -c .stylelintrc.json -s scss"
61
+ "lint": "stylelint **/*.scss -s scss",
62
+ "test": "npm run lint"
131
63
  },
132
64
  "style": "index.scss",
133
- "version": "4.0.0"
65
+ "version": "4.2.0"
134
66
  }