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

640 Commits

Author SHA1 Message Date
simurai
4f99e92708 Add Header + Pagination to the nav 2019-08-27 15:47:28 +09:00
simurai
6225457068 Add default background-color 2019-08-26 11:28:37 +09:00
simurai
9576243145
Merge pull request #867 from kiendang/patch-1
Update Colorable url
2019-08-23 11:39:31 +09:00
simurai
7fd6d37fba Merge branch 'master' into pr/867 2019-08-23 11:24:44 +09:00
simurai
887b233004 Update select-menu.md
Add erb to example
2019-08-22 15:57:11 +09:00
simurai
7aa838bac2 Use flexbox for the items 2019-08-22 15:43:15 +09:00
simurai
5a05ab549d Merge branch 'master' into select-menu-spacing 2019-08-22 11:30:48 +09:00
Shawn Allen
eeea839fb2
Merge branch 'master' into input-dark 2019-08-21 15:33:47 -07:00
simurai
00690d2d26
Switch source order for styleguide.css 2019-08-21 17:27:54 +09:00
simurai
39e4272ba2 🔥 Remove "JavaScript-powered"
<details> is now recommended.
2019-08-21 15:51:37 +09:00
simurai
fcf410b84d Update examples to work with doctocat 2019-08-21 15:19:43 +09:00
simurai
3125d00120 Merge branch 'master' into input-dark 2019-08-21 14:38:16 +09:00
Cole Bemis
12065bbf4b Add comment explaining postcss.config.js 2019-08-19 23:00:07 -07:00
Cole Bemis
20c8c53b88 Remove live-code-scope.js
... because we're not using Octicon components in live code examples
2019-08-19 22:53:33 -07:00
Cole Bemis
e7e1fd5c5f forms.md: Remove wrapping div 2019-08-19 22:47:37 -07:00
Cole Bemis
74b0bdc116 buttons.md: Remove wrapping divs 2019-08-19 22:45:18 -07:00
Cole Bemis
94d6a902f5 box.md: Fix html comment 2019-08-19 22:34:30 -07:00
Cole Bemis
11d9b37eb0 alert.md: Replace jsx examples with html examples 2019-08-19 22:31:53 -07:00
Cole Bemis
df66a30c7b Add clean script 2019-08-19 22:26:38 -07:00
Cole Bemis
b541dc4605 Make docs package.json private
... so it doesn't accidentally get published
2019-08-19 22:26:20 -07:00
Cole Bemis
2c782a0abd Update to doctocat@0.11.1 2019-08-19 16:48:34 -07:00
Cole Bemis
de5a496975 Update box-shadow guide 2019-08-19 16:41:42 -07:00
Cole Bemis
37ac83550b Set height of homepage images 2019-08-15 15:42:32 -07:00
Cole Bemis
91db92ef9f Update doctocat version 2019-08-15 15:36:41 -07:00
Cole Bemis
e91c34ad3c Update doctocat links 2019-08-14 15:11:53 -07:00
Cole Bemis
8e04b64c7f Update linting.md 2019-08-14 15:10:01 -07:00
Cole Bemis
2715d29a1f Update toasts.md 2019-08-14 15:06:50 -07:00
Cole Bemis
d4321c7247 Update status labels 2019-08-14 14:59:37 -07:00
Cole Bemis
d7c8acfcb2 Update select-menu.md 2019-08-14 14:57:14 -07:00
Cole Bemis
2b07f93bfb Update navigation.md 2019-08-14 14:37:43 -07:00
Cole Bemis
a4e616c81b Update blankslate.md 2019-08-14 14:27:07 -07:00
Cole Bemis
b2c23f9871 Move "Marketing support" to bottom of Support section 2019-08-14 14:15:19 -07:00
Cole Bemis
5d324bc37e Fix headings 2019-08-14 14:15:00 -07:00
Cole Bemis
e5a423af2a Update to doctocat v0.10.0 2019-08-14 14:14:48 -07:00
Cole Bemis
82bd3ec667 Fix blankslate 2019-08-13 16:03:29 -07:00
Cole Bemis
59e77cb88b Update index.mdx 2019-08-13 15:30:02 -07:00
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