1
1
mirror of https://github.com/primer/css.git synced 2024-11-30 19:53:11 +03:00
Commit Graph

248 Commits

Author SHA1 Message Date
Shawn Allen
f2325b3422 clean up IndexHero 2018-12-17 15:26:50 -08:00
Shawn Allen
c2ff8e5d8c add various remark and mdx-related deps 2018-12-17 15:26:50 -08:00
Shawn Allen
bc4e000ac4 lint 2018-12-17 15:26:50 -08:00
Shawn Allen
8907a7e95f move outline (toc) logic out of _app.js 2018-12-17 15:26:50 -08:00
Shawn Allen
847726c593 add custom mdx (webpack) loader w/remark-toc 2018-12-17 15:26:50 -08:00
Shawn Allen
c5a6cb2113 extract package metadata from */package.json 2018-12-17 15:26:50 -08:00
Shawn Allen
5b5dc4b361 style live code with prism-github 2018-12-17 15:26:50 -08:00
Shawn Allen
d9bd354412 add ClipboardCopy component 2018-12-17 15:26:50 -08:00
Shawn Allen
961f4af9c3 use html-2-jsx 2018-12-17 15:26:50 -08:00
Shawn Allen
e359d2812e clean up deps, add html-2-jsx 2018-12-17 15:26:50 -08:00
Shawn Allen
07ed1f7138 LiveEditor -> CodeExample, make it work 2018-12-17 15:26:50 -08:00
Shawn Allen
39b698fc7c install style-parser (ugh) 2018-12-17 15:26:50 -08:00
Shawn Allen
59f34eeef4 disable mdx-loader syntax highlighting 2018-12-17 15:26:50 -08:00
Shawn Allen
a7fcf79746 fix font size in PackageHeader 2018-12-17 15:26:50 -08:00
Shawn Allen
0301cf0b44 remove squirrelly SideNav display props 2018-12-17 15:26:50 -08:00
Shawn Allen
88dbdd00c3 improve responsiveness, tighten up hero 2018-12-17 15:26:50 -08:00
Shawn Allen
9328967104 loosen up PackageHeader propTypes 2018-12-17 15:26:50 -08:00
Shawn Allen
73a20eb808 add comment for RouteMatch 2018-12-17 15:26:50 -08:00
Shawn Allen
2935e0d642 guard against non-existent paths in <NavList> 2018-12-17 15:26:50 -08:00
Shawn Allen
e025fd787a document how SideNav components work 2018-12-17 15:26:50 -08:00
Shawn Allen
3eadd1a6dc nix prepare script because Now runs it 2018-12-17 15:26:50 -08:00
Shawn Allen
4f74ce8d65 lint 2018-12-17 15:26:50 -08:00
Shawn Allen
384b6f42c6 derp, add prepare run-script to docs/package.json 2018-12-17 15:26:50 -08:00
Shawn Allen
3b2cdadda1 tweak maxWidth (932), use LiveEditor 2018-12-17 15:26:50 -08:00
Shawn Allen
d2b49913c2 simplify next.config.js 2018-12-17 15:26:50 -08:00
Shawn Allen
b42ed54e19 fix content area width 2018-12-17 15:26:50 -08:00
Shawn Allen
0f5e9cca70 add metadata to the changelog 2018-12-17 15:26:50 -08:00
Shawn Allen
c371303a8a fix warning about root 2018-12-17 15:26:50 -08:00
Shawn Allen
b183d91cbc improve PackageHeader 2018-12-17 15:26:50 -08:00
Shawn Allen
d691c2454c rework color utilities page 2018-12-17 15:26:50 -08:00
Shawn Allen
42fe0442a6 tidy up 2018-12-17 15:26:50 -08:00
Shawn Allen
4da5321376 only attempt to sync in CI 2018-12-17 15:26:50 -08:00
Shawn Allen
54b3bf0524 rename copy -> script 2018-12-17 15:26:50 -08:00
Shawn Allen
f00af46e0d add package header 2018-12-17 15:26:50 -08:00
Shawn Allen
ff62ac1e21 move sync hook from next.config to lib/config 2018-12-17 15:26:50 -08:00
Shawn Allen
c2e05d8449 refactor syncing with Metalsmith 2018-12-17 15:26:50 -08:00
Shawn Allen
4f2fadba61 install metalsmith and plugins 2018-12-17 15:26:50 -08:00
Shawn Allen
b903b40b06 sort paths in docs/pages/css/.gitignore 2018-12-17 15:26:50 -08:00
Shawn Allen
b1d769259b be smarter about files synced 2018-12-17 15:26:50 -08:00
Shawn Allen
3abd52b043 nix utilities/marketing.md 2018-12-17 15:26:50 -08:00
Shawn Allen
8132c0c330 wrap up script/copy w/ --watch flag, add watching to next.config.js 2018-12-17 15:26:50 -08:00
Shawn Allen
29ef33801a move copy.js -> script/copy, add watch() 2018-12-17 15:26:50 -08:00
Shawn Allen
0479a6c329 color system fade swatch tweaks 2018-12-17 15:26:50 -08:00
Shawn Allen
4e57d9bc5a properly blend fades with bg to calculate text colors 2018-12-17 15:26:50 -08:00
Shawn Allen
5cd4ec41ac add title-case 2018-12-17 15:26:50 -08:00
Shawn Allen
ca22d8d8e4 lint, move contrast constants into separate file 2018-12-17 15:26:50 -08:00
Shawn Allen
8a030b1e36 lint 2018-12-17 15:26:50 -08:00
Shawn Allen
ac4f414783 fix color contrast on color system page 2018-12-17 15:26:50 -08:00
Shawn Allen
d4c28429a3 replace color with chroma-js, add prop-types 2018-12-17 15:26:50 -08:00
Shawn Allen
4cbcd73407 add color to docs 2018-12-17 15:26:50 -08:00