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

446 Commits

Author SHA1 Message Date
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
Shawn Allen
445dd94f31 do the primer.css copy in prebuild, not deploy-docs 2019-01-11 14:29:22 -08:00
Shawn Allen
a08be0714c better broken link reports, fix local URL prefix fade 2019-01-11 14:29:22 -08:00
Shawn Allen
df031a79c9 move -v option after the url 2019-01-11 14:29:22 -08:00
Shawn Allen
8c4082c256 update GA UA from @jonrohan 2019-01-11 14:29:22 -08:00
Shawn Allen
20c667a6ae better handling of "excepted" urls in link checker 2019-01-11 14:29:22 -08:00
Shawn Allen
c62bb805f8 nix -r argument for script/check-links 2019-01-11 14:29:22 -08:00
Shawn Allen
d8598507f5 clean up link checker output some more 2019-01-11 14:29:22 -08:00
Shawn Allen
460c1ce410 fix .file access error in _app.js 2019-01-11 14:29:22 -08:00
Shawn Allen
fcea64cfb1 log excluded urls, even when not --verbose 2019-01-11 14:29:22 -08:00
Shawn Allen
43e42879df fix syntax error 2019-01-11 14:29:22 -08:00
Shawn Allen
74972a0437 run script/check-links instead of blc 2019-01-11 14:29:22 -08:00
Shawn Allen
fcd90aae9f fix WAI-ARIA links on a11y page 2019-01-11 14:29:22 -08:00
Shawn Allen
5e12fa54b4 fix missing alt attribute on typography <img> 2019-01-11 14:29:22 -08:00
Shawn Allen
58cc205af2 rename check-local-links -> check-relative-links 2019-01-11 14:29:22 -08:00
Shawn Allen
8396c64f44 add new check-links wrapper script 2019-01-11 14:29:22 -08:00
Shawn Allen
540a2e5371 add char-spinner 2019-01-11 14:29:22 -08:00
Shawn Allen
71125b3fb2 add robots.txt for less error-prone crawling 2019-01-11 14:29:22 -08:00
Shawn Allen
8fabde94f9 clean up contributing docs markup, links 2019-01-11 14:29:22 -08:00
Shawn Allen
82fec2ac85 add script/check-local-links for fast markdown checks 2019-01-11 14:29:22 -08:00
Shawn Allen
2c9081bde3 add test-links npm script (for local testing) 2019-01-11 14:29:22 -08:00
Shawn Allen
9a999a5647 add static assets (favicon, touch icon, analytics.js) 2019-01-11 14:29:22 -08:00
Shawn Allen
efd8b0d248 fix html link 2019-01-11 14:29:22 -08:00
Shawn Allen
77565993c6 use the github avatar instead of ellipses 2019-01-11 14:29:22 -08:00
Shawn Allen
312717f82a another absolute link 2019-01-11 14:29:22 -08:00
Shawn Allen
a1e72b13c7 hard-code github avatar in principles example 2019-01-11 14:29:22 -08:00
Shawn Allen
b07dab8f72 make a bunch of links absolute 2019-01-11 14:29:22 -08:00
Shawn Allen
1b9dff8387 clean up some linting docs 2019-01-11 14:29:22 -08:00
Shawn Allen
ca661743db fix code style link on principles page 2019-01-11 14:29:22 -08:00
Shawn Allen
21ee4e90bd fix links on tools/linting page 2019-01-11 14:29:22 -08:00
Shawn Allen
63609e515a fix some links 2019-01-11 14:29:22 -08:00
Shawn Allen
b532fed0af fix status key link in package header 2019-01-11 14:29:22 -08:00
Shawn Allen
832791f647 install broken-link-checker; npm audit fix 2019-01-11 14:29:22 -08:00
Shawn Allen
a910c08472 list redirects explicitly in docs path test 2019-01-11 14:29:22 -08:00
Shawn Allen
006ded9643 clean up docs url test 2019-01-11 14:29:22 -08:00
Shawn Allen
a2ccd31077 move before.txt -> test/fixtures/path-cache.txt 2019-01-11 14:29:22 -08:00
Shawn Allen
85d1d7c2e7 clean up docs path test output 2019-01-11 14:29:22 -08:00
Shawn Allen
45c6e71d74 run sync before test 2019-01-11 14:29:22 -08:00
Shawn Allen
6a88cbd6d2 update before.txt with normalized paths 2019-01-11 14:29:22 -08:00
Shawn Allen
b8dbd08d51 add klaw, run test/urls.js 2019-01-11 14:29:22 -08:00
Shawn Allen
51afc6d103 add test/urls.js and test/exceptions.js 2019-01-11 14:29:22 -08:00
Shawn Allen
5586bc03e5 nix test.sh 2019-01-11 14:29:22 -08:00
Shawn Allen
6fc4a06e13 add *.txt to .gitignore 2019-01-11 14:29:22 -08:00
Shawn Allen
aede1b6d05 bump link spacing down from 3 to 2 2019-01-11 14:29:22 -08:00
Shawn Allen
0321d66875 match side nav link spacing from primer/components 2019-01-11 14:29:22 -08:00
Shawn Allen
80fe02d817 match content + side nav width of primer/components 2019-01-11 14:29:22 -08:00
Shawn Allen
507acb4bde move status label docs into a table 2019-01-11 14:29:22 -08:00
Shawn Allen
0991e43080 refactor status labels to look the same 2019-01-11 14:29:22 -08:00
Shawn Allen
ae7884ddda make "Status key" a SectionLink 2019-01-11 14:29:22 -08:00
Shawn Allen
b64fe6e547 don't show Metadata <details> in prod 2019-01-11 14:29:22 -08:00
Shawn Allen
d45ba99ea3 add Status key link; improve nav path generation 2019-01-11 14:29:22 -08:00
Shawn Allen
8bc7a8512a replace "Whats New" header link with Releases 2019-01-11 14:29:20 -08:00
Shawn Allen
57445ef976 nix the whats-new directory and changelog sync plugin 2019-01-11 14:28:35 -08:00
Shawn Allen
21cd98bba6 move status-key.md up 2019-01-11 14:28:35 -08:00
Shawn Allen
88be8a9560 tidy up docs for NodeLink 2019-01-09 10:01:05 -08:00
Shawn Allen
fb9a8185b4 make header image responsive 2019-01-09 10:00:57 -08:00
Shawn Allen
03214885bc fix header link font sizes
/cc @emplums: I started with a verbatim copy of the header from
primer/components, but after introducing the global primer CSS it looks
like I've had to set fontSize={2} explicitly on all of our links to bump
it back up. The way I did this feels kinda yucky; would you have done it
differently?
2019-01-09 09:59:13 -08:00
Shawn Allen
fcc274b364 export HeaderImage from src/landing 2019-01-09 09:58:48 -08:00
Shawn Allen
219e15e2d6 replace intro text with header image 2019-01-09 09:58:35 -08:00