1
1
mirror of https://github.com/primer/css.git synced 2024-12-28 16:45:52 +03:00
Commit Graph

604 Commits

Author SHA1 Message Date
Cole Bemis
e3093e80e8 Add @primer/octicons as a dependency 2019-08-13 15:29:03 -07:00
Cole Bemis
98c4e48504 Set up google analytics 2019-08-13 15:24:35 -07:00
Cole Bemis
b8c331741b Merge remote-tracking branch 'origin/master' into doctocat 2019-08-13 15:19:28 -07:00
Cole Bemis
20a40d1788 Use postcss-loader instead of sass-loader 2019-08-13 13:37:11 -07:00
Cole Bemis
26c8fb2e89 Fix color utilities link 2019-08-13 13:13:26 -07:00
Cole Bemis
b1aea75388 Update contributing.md 2019-08-13 13:10:28 -07:00
Cole Bemis
36afc00c8c Update toast example 2019-08-13 11:29:16 -07:00
Cole Bemis
3aade952a9 Set imageUrl 2019-08-12 16:45:00 -07:00
Cole Bemis
a03114d54f Rename gatsby-docs to docs 2019-08-12 15:33:06 -07:00
Cole Bemis
56d00a2684 Remove old docs 2019-08-12 15:15:46 -07:00
Shawn Allen
ef1f39ddec lint 2019-07-18 16:37:59 -07:00
Shawn Allen
35d2444105 remove system utility columns from color tables 2019-07-18 16:33:53 -07:00
Shawn Allen
4604360d81 nix zap octicon from alias columns in color tables 2019-07-18 16:33:28 -07:00
Shawn Allen
8febacda29 color palette table style tweaks 2019-07-18 16:33:00 -07:00
Shawn Allen
98aa8dba24 a couple of color table tweaks 2019-06-19 22:50:45 -07:00
Shawn Allen
a24d1b698b make all the color tables look nice 2019-06-19 17:00:18 -07:00
Shawn Allen
7b5704eab9 export allColors array from docs/color-variables 2019-06-19 16:59:58 -07:00
Shawn Allen
9070a923a0 make Table fontSize responsive by default 2019-06-19 16:59:37 -07:00
Shawn Allen
441a4c3237 add borders export in docs/color-variables 2019-06-19 14:31:04 -07:00
Shawn Allen
577fad702f refactor PaletteTable and make columns more configurable 2019-06-19 14:30:47 -07:00
Shawn Allen
53662678fd add Table.cellPadding 2019-06-19 14:30:23 -07:00
Shawn Allen
71c11eb5f1 add PaletteTable component, clean up color-system.js 2019-06-18 17:09:35 -07:00
Shawn Allen
75e37c6640 fix <caption> alignment, add borderSpacing 2019-06-18 17:08:14 -07:00
Shawn Allen
0e4a5decbe clean up color-variables exports 2019-06-18 16:59:09 -07:00
Shawn Allen
f78f714988 add Table component 2019-06-18 14:50:12 -07:00
Shawn Allen
ba333dc4b0 rework export order 2019-06-18 14:49:58 -07:00
Shawn Allen
42a664a96e fix up spacing of color variable listings 2019-06-17 16:02:32 -07:00
Shawn Allen
6636f7327d tidy up exports, add useful error messages; lint 2019-06-17 14:23:08 -07:00
Shawn Allen
e2088366ad fix raw-loader SCSS imports, rework palette objects 2019-06-17 14:20:29 -07:00
Shawn Allen
5e2cf415a5 tidy up some props in color-system components 2019-06-17 14:18:30 -07:00
Shawn Allen
431b954ce2 lint 2019-06-17 11:15:20 -07:00
Shawn Allen
a4a36bd653 rename bg table headings, remove SCSS variable 2019-06-04 16:36:41 -07:00
Shawn Allen
5cbf56f92b fix Swatch prop warnings 2019-06-04 16:18:03 -07:00
Shawn Allen
6f4127975a update bg utility table headings /cc @emilybrick 2019-06-03 11:07:55 -07:00
Shawn Allen
e9db13f68c refactor background and text utility docs 2019-05-30 15:38:25 -07:00
Shawn Allen
a0624a199a lint 2019-05-30 15:37:24 -07:00
Shawn Allen
f146849526 clean up swatches 2019-05-30 15:37:24 -07:00
Shawn Allen
6b421dc4a3 lowercase "black" and "white" variables 2019-05-30 15:37:24 -07:00
Shawn Allen
8a21560a1e tweaks, lint 2019-05-30 15:37:24 -07:00
Shawn Allen
7eb9eb7edd improve color system page responsiveness 2019-05-30 15:37:24 -07:00
Shawn Allen
7bfd7d906e fix #800 2019-05-30 15:37:24 -07:00
Emily Plummer
b20e245c0d lint 2019-05-07 14:58:01 -07:00
Emily Plummer
3da919a712 code style tweaks 2019-05-07 14:53:38 -07:00
Shawn Allen
55fe957d6e
fix bad merge 2019-05-02 14:50:53 -07:00
Shawn Allen
e43fa20f10
Merge branch 'release-12.3.0' into fix-toc 2019-04-30 15:31:56 -07:00
Emily Plummer
14b4a60b0d Merge branch 'master' into anchor-links 2019-04-30 11:15:53 -07:00
Shawn Allen
e5bbf732fd
Update docs/markdown.js
Co-Authored-By: emplums <emplums@github.com>
2019-04-30 11:05:30 -07:00
Emily Plummer
18aeae1eaa add anchor links 2019-04-25 12:50:00 -07:00
Emily Plummer
84e083cbea lint 2019-04-25 11:23:24 -07:00
Emily Plummer
552873dda1 fix imports 2019-04-24 18:39:08 -07:00
Emily Plummer
09c3c9abaa fix import 2019-04-24 17:20:24 -07:00
Emily Plummer
d8c440d15f fix code examples 2019-04-24 14:35:00 -07:00
emplums
fe5e1203a9 use subfolder 2019-04-23 16:37:01 -07:00
emplums
5c11516a61 lint 2019-04-23 12:33:07 -07:00
emplums
5f4d689974 fix table of contents instances 2019-04-22 15:06:23 -07:00
emplums
cf48cf884b clean up last redirect instances 2019-04-09 10:04:14 -07:00
emplums
216fc46449 add lint rules back for docs 2019-04-08 15:18:19 -07:00
emplums
2bbe22661d use blueprints! 2019-04-08 15:11:08 -07:00
emplums
c501c50b19 is to as 2019-04-03 09:26:39 -07:00
emplums
65743d9109 lint 2019-04-03 08:30:28 -07:00
emplums
7047fec865 fix as issues 2019-04-03 08:23:14 -07:00
emplums
a24549655f hack the header :( 2019-04-02 22:59:01 -07:00
emplums
307d2c31d5 remove code example 2019-04-02 22:37:38 -07:00
simurai
645a61d438 Revert "Move …rest inside the Frame"
This reverts commit 051ef7f69d.
2019-03-18 20:41:17 +09:00
simurai
45d8a3f6f4 Fix linter 2019-03-18 19:48:56 +09:00
simurai
051ef7f69d Move …rest inside the Frame 2019-03-15 21:49:43 +09:00
simurai
4a399ac7f9 Move default padding inside iframe
This allows things like the focus ring to not get cut off.
2019-03-15 20:23:37 +09:00
simurai
55e9291634 Use display block for iframe
This removes the gap at the bottom
2019-03-15 17:40:11 +09:00
simurai
ac7988c78b Fix lint
prettier/prettier
2019-03-11 21:32:43 +09:00
simurai
037eb58801 Fix calculated height of code examples 2019-03-11 20:04:09 +09:00
Shawn Allen
e92a13a201 rename "dead" prop to "inert" in CodeExample 2019-03-06 10:45:01 -08:00
Shawn Allen
929cdb16f9 fix(docs): don't make js code blocks live 2019-03-06 10:44:26 -08:00
Shawn Allen
f9a5574aea "mdx-live" -> "react-live" in comment 2019-02-28 14:58:25 -08:00
Shawn Allen
562bdf5f4b
Merge branch 'master' into release-12.0.2 2019-02-27 13:30:59 -08:00
Shawn Allen
76816e58b3 chore: lint 2019-02-25 10:05:59 -08:00
Joshua Shao
95a1188620 initial commit 2019-02-21 20:59:16 -05:00
Shawn Allen
4d8a5338ba new header image! 🎉
Co-authored-by: ashygee <ashygee@github.com>
2019-02-21 13:37:40 -08:00
Shawn Allen
ed34ad1d3f chore: lint 2019-02-19 11:39:42 -08:00
Shawn Allen
1f8929550f docs: do one thing well in redirectTrailingSlash() 2019-02-19 11:22:36 -08:00
Shawn Allen
0988e6ecdf chore: lint 2019-02-19 11:12:44 -08:00
Shawn Allen
b2048cf73f docs: add redirectTrailingSlash helper 2019-02-19 11:05:42 -08:00
Shawn Allen
180725e6de docs: nix Travis badge 2019-02-12 15:49:22 -08:00
Shawn Allen
fb328edf43 chore: lint 2019-02-12 11:30:13 -08:00
Shawn Allen
6b26367832 docs: clean up meta-package components 2019-02-12 11:22:37 -08:00
Shawn Allen
fad4f76fb8 fix: update how the docs site gets bundle metadata 2019-02-11 22:32:13 -08:00
Shawn Allen
7417bd55ce chore: lint docs/ 2019-02-11 13:58:19 -08:00
Shawn Allen
7a36ebd476 lint: add eslint configs 2019-02-11 13:57:49 -08:00
Shawn Allen
c903b1a223 chore: fix path to docs/utils.js in comment 2019-02-04 13:28:09 -08:00
Shawn Allen
cdfc908040 chore: rename src/ -> docs/ 2019-02-04 13:04:24 -08:00
Shawn Allen
b24c5ac127 chore: move all the docs stuff up 2019-02-04 12:55:18 -08:00
Shawn Allen
d0bb4cd716 chore: rename @primer/css-docs -> @primer/css.docs 2019-02-04 11:00:45 -08:00
Shawn Allen
f85f7c7abc chore: pull docs from modules/primer/**/*.md 2019-01-28 16:42:40 -08:00
Shawn Allen
d7818f3ba4 chore: bump to common node-sass version 2019-01-28 16:40:39 -08:00
Shawn Allen
635df5478b chore: use correct @primer/css version 2019-01-28 16:40:39 -08:00
Shawn Allen
dee1eb406f chore: manually bump some dependency versions 2019-01-25 15:20:01 -08:00
Shawn Allen
78600794be docs: use is=, not as=, _except_ in Frame 🙃 2019-01-25 14:48:54 -08:00
Shawn Allen
5fe4836dc2 docs: fix version text color w/is= (not as=) 2019-01-25 14:48:54 -08:00
Shawn Allen
64dfbd81c1 Revert "chore: upgrade to now@^13.1.2"
This reverts commit cb697793c5.
2019-01-24 11:27:49 -08:00
Shawn Allen
cb697793c5 chore: upgrade to now@^13.1.2 2019-01-24 11:08:06 -08:00
Shawn Allen
bd3488bdb0 chore: bump docs/package-lock.json 2019-01-23 16:28:46 -08:00
Shawn Allen
ae21c2447b fix: bring back /utilties/marketing-layout page 2019-01-23 14:45:33 -08:00
Shawn Allen
7e8b2daede
Merge pull request #459 from primer/responsive-layout-in-core
Move responsive position utilities from marketing to core
2019-01-22 20:53:59 -08:00
Shawn Allen
a55cc00309 nix /utilities/marketing-layout 2019-01-22 16:20:33 -08:00
0xflotus
13adddf74c
fixed SideNav.js 2019-01-22 06:53:14 +01:00
Shawn Allen
091e337945 bump docs and stylelint-selector-no-utility deps 2019-01-18 09:39:21 -08:00
Shawn Allen
946e3ad887 fix frame height (dynamically!) w/react-measure 2019-01-17 16:27:44 -08:00
Shawn Allen
456c87ce73 fix react-live error formatting 2019-01-17 16:27:25 -08:00
Shawn Allen
698ffb76de add react-measure 2019-01-17 16:27:11 -08:00
Shawn Allen
8ca4c0e7e6 fix color system <var> styles 2019-01-17 16:04:14 -08:00
Shawn Allen
5c653f0888 lint 2019-01-16 22:50:10 -08:00
Shawn Allen
78d0e46b1f lint pages/_document.js 2019-01-16 22:46:35 -08:00
Shawn Allen
8898fa3b89 lint whitespace 2019-01-16 22:46:10 -08:00
Shawn Allen
20dd7c1576 fix landing page meta-package styles 2019-01-16 22:43:03 -08:00
Shawn Allen
b56cd2b998 move redirect out or utils.js 2019-01-16 21:27:39 -08:00
Shawn Allen
d93360bce6 try reusing @zeit/next-css loader directly 2019-01-16 16:30:59 -08:00
Shawn Allen
e41bfddd5a bring back @zeit/next-css 2019-01-16 15:14:29 -08:00
Shawn Allen
b1478763a2 rework CodeExample structure a bit 2019-01-16 14:58:57 -08:00
Shawn Allen
85d6383022 attempt to resize Frame components dynamically 2019-01-16 14:58:41 -08:00
Shawn Allen
92b5f6af2b tidy up markdown.js 2019-01-16 14:56:16 -08:00
Shawn Allen
ae09f2ac47 pass document files context via <body data-files> 2019-01-16 14:56:06 -08:00
Shawn Allen
a31da094dc bump to @primer/components v8.2.0 2019-01-16 14:55:41 -08:00
Shawn Allen
0e2b6a41ce mark HTML principles examples as dead/inert 2019-01-16 14:55:22 -08:00
Shawn Allen
64ab348463 don't use webpack to alias primer css in production 2019-01-16 13:48:47 -08:00
Shawn Allen
d8369214da nix DocumentContext 2019-01-15 22:06:12 -08:00
Shawn Allen
87aaf87e39 do css links the right way? 2019-01-15 14:16:25 -08:00
Shawn Allen
51dbf9ab18 nix prebuild script 2019-01-15 13:37:36 -08:00
Shawn Allen
6bb3df988a use <Head/> to get imported styles 2019-01-15 13:35:52 -08:00
Shawn Allen
a5b66d9b51 nix primer.css build from CommonStyles 2019-01-15 13:35:07 -08:00
Shawn Allen
05079b2ed4 move prism-github import back 2019-01-15 13:35:07 -08:00
Shawn Allen
411df2abdb nix @zeit/next-css 2019-01-15 13:35:07 -08:00
Shawn Allen
3074c9eaa5 fix: load static primer.css in production 2019-01-15 13:35:07 -08:00
Shawn Allen
209bef3d7e move prism-github import back to _app 2019-01-15 13:35:07 -08:00
Shawn Allen
4814513718 docs: tidy up rgb() guidance 2019-01-15 13:35:07 -08:00
Shawn Allen
48463bd5ee sort imports, comment out ERB transform 2019-01-15 13:35:07 -08:00
Shawn Allen
19f8856969 use CommonScripts and CommonStyles 2019-01-15 13:35:07 -08:00
Shawn Allen
0ffbad2732 move prism styles, add frames to examples 2019-01-15 13:35:07 -08:00
Shawn Allen
395cbe62a9 add CommonStyles and CommonScripts exports 2019-01-15 13:35:07 -08:00
Shawn Allen
d43d827bbc move global prism styles out of _app 2019-01-15 13:35:07 -08:00
Shawn Allen
724e44ced2 add iframe component 2019-01-15 13:35:07 -08:00
Shawn Allen
2aa63435b1 add new GA UA 2019-01-15 13:34:44 -08:00
Shawn Allen
efeff9697c is={} -> as={} 2019-01-15 11:37:21 -08:00
Shawn Allen
8a4e6ea025 bye, emotion! 2019-01-11 15:11:56 -08:00
Shawn Allen
a419b0a1ec update to @primer/components v8, styled-components v4, bye emotion! 2019-01-11 15:11:43 -08:00
Shawn Allen
1429313766
Fix typo in styleguide root error 2019-01-11 14:49:59 -08:00
Shawn Allen
7c2e875073 bump the docs and tools versions manually 2019-01-11 14:33:47 -08:00
Shawn Allen
6b035cbfd9 replace "real" avatar URLs with simpler ones 2019-01-11 14:29:22 -08:00
Shawn Allen
fc0282526b don't render live code from erb blocks 2019-01-11 14:29:22 -08:00
Shawn Allen
d45d1c86dc mark all examples with ERB as "erb", not "html" 2019-01-11 14:29:22 -08:00
Shawn Allen
fe02611878 replace current_user ERB with "probot" in select-menu examples 2019-01-11 14:29:22 -08:00
Shawn Allen
99972e6713 tweak broken link report a bit more 2019-01-11 14:29:22 -08:00