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

286 Commits

Author SHA1 Message Date
Shawn Allen
8115deb179 just use Docs as the link text 2018-12-20 15:04:19 -08:00
Shawn Allen
dd4d8803d1 get the hero differently (to fix render issue?) 2018-12-20 14:54:15 -08:00
Shawn Allen
a0ac1fa912 move the hero into css/index.md 2018-12-20 14:53:54 -08:00
Shawn Allen
b4c45783bc simpliy hero padding 2018-12-20 14:40:37 -08:00
Shawn Allen
fea374a1d8 lint 2018-12-20 14:29:18 -08:00
Shawn Allen
ca4ceabc11 fix side nav height 2018-12-20 14:28:22 -08:00
Shawn Allen
85bfb29511 make HTML syntax gray for now 2018-12-20 14:22:32 -08:00
Shawn Allen
f0c03758ef kill default prism-code styles 2018-12-20 14:22:20 -08:00
Shawn Allen
f08bcca435 default data = {} in package meta components 2018-12-18 14:01:35 -08:00
Shawn Allen
ee5165d966 sort side nav links by meta.sort_title || meta.title 2018-12-18 14:01:15 -08:00
Shawn Allen
e505c80099 rebuild package-lock 2018-12-18 14:00:50 -08:00
Shawn Allen
1a9d3f8e55 update OG metadata 2018-12-17 16:06:23 -08:00
Shawn Allen
6d9618e8c4 add styleguide CSS + JS bundles 2018-12-17 15:57:53 -08:00
Shawn Allen
9f203f71f3 re-add @mdx-js/mdx 2018-12-17 15:44:25 -08:00
Shawn Allen
f5198f818f tidy up yaml frontmatter 2018-12-17 15:26:50 -08:00
Shawn Allen
aa77f0182d lint 2018-12-17 15:26:50 -08:00
Shawn Allen
8e10d12d0f inject global CSS to work around .markdown-body .rule 2018-12-17 15:26:50 -08:00
Shawn Allen
ed666bdea0 trim yaml frontmatter on pagehead 2018-12-17 15:26:50 -08:00
Shawn Allen
c844ab2b90 make internal stuff orange 2018-12-17 15:26:50 -08:00
Shawn Allen
724f1b5df6 fix empty alt attrs + autofocus 2018-12-17 15:26:50 -08:00
Shawn Allen
7a71728272 add details-dialog-element 2018-12-17 15:26:50 -08:00
Shawn Allen
1de93c2721 nix mdx-loader 2018-12-17 15:26:50 -08:00
Shawn Allen
cbb9ef9154 lint 2018-12-17 15:26:50 -08:00
Shawn Allen
2ed5750489 add getting started box to landing page 2018-12-17 15:26:50 -08:00
Shawn Allen
5487a21dff fix dropdown source link 2018-12-17 15:26:50 -08:00
Shawn Allen
dbe3e9d93e mark some pages as internal 2018-12-17 15:26:50 -08:00
Shawn Allen
9faeeda46a mark non-live HTML snippets as "dead" in getting-started 2018-12-17 15:26:50 -08:00
Shawn Allen
2ef60c5ade tweak contributing page 2018-12-17 15:26:50 -08:00
Shawn Allen
b08437926b get CodeExample working with most HTML and ERB 2018-12-17 15:26:50 -08:00
Shawn Allen
7659b0e18f flag internal pages more obviously 2018-12-17 15:26:50 -08:00
Shawn Allen
821f92cdbd use our own clipboard copy logic /shrug 2018-12-17 15:26:50 -08:00
Shawn Allen
76fbfed54c improve package listings on landing page 2018-12-17 15:26:50 -08:00
Shawn Allen
548c1729c7 customize our rehype-prism bits 2018-12-17 15:26:50 -08:00
Shawn Allen
b94ead88c7 lint 2018-12-17 15:26:50 -08:00
Shawn Allen
919d48747e convert HTML to JSX transparently 😎 2018-12-17 15:26:50 -08:00
Shawn Allen
2626cf574f add packages.json to pages/css/.gitignore 2018-12-17 15:26:50 -08:00
Shawn Allen
fc8139b4d7 stub out landing page 2018-12-17 15:26:50 -08:00
Shawn Allen
0f22531698 lint 2018-12-17 15:26:50 -08:00
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