Shawn Allen
d571737ce4
lint pages + src
2018-12-17 15:26:50 -08:00
Shawn Allen
9609af5b06
lint
2018-12-17 15:26:50 -08:00
Shawn Allen
52e8996cee
lint
2018-12-17 15:26:50 -08:00
Shawn Allen
58826e9e64
fix prop warnings
2018-12-17 15:26:50 -08:00
Shawn Allen
41de574d82
fix child key warning
2018-12-17 15:26:50 -08:00
Shawn Allen
bf53d51592
remove MDX component cruft, fix MDXProvider warning
2018-12-17 15:26:50 -08:00
Shawn Allen
9377a7823c
update generated pages .gitignore
2018-12-17 15:26:50 -08:00
Shawn Allen
5054a557e2
simplify metadata
2018-12-17 15:26:50 -08:00
Shawn Allen
15e336ddb7
factor out NextLink
2018-12-17 15:26:50 -08:00
Shawn Allen
36cc8cc318
fix header nav links
2018-12-17 15:26:50 -08:00
Shawn Allen
cfa54cc5dc
update page mapping, add whats-new content
2018-12-17 15:26:50 -08:00
Shawn Allen
e4931155fc
build out the side nav
2018-12-17 15:26:50 -08:00
Shawn Allen
5b2cdeb253
sort imports
2018-12-17 15:26:50 -08:00
Shawn Allen
ed92871477
import primer/index.scss
2018-12-17 15:26:50 -08:00
Shawn Allen
5e72e4c620
move page tree logic into src/utils
2018-12-17 15:26:50 -08:00
Shawn Allen
b6c5ae7437
bring back tree-model (yep)
2018-12-17 15:26:50 -08:00
Shawn Allen
395a7369a6
move changelog back to /whats_new/changelog
2018-12-17 15:26:50 -08:00
Shawn Allen
0cbc2887c0
reorganize page logic, redirect / -> /css
2018-12-17 15:26:50 -08:00
Shawn Allen
aff3f32b0c
strip trailing slash from router.pathname
2018-12-17 15:26:50 -08:00
Shawn Allen
c54c4b691f
remove trailing slashes from side nav links
2018-12-17 15:26:50 -08:00
Shawn Allen
e8ba091b20
move pages/doc-components/ -> src/
2018-12-17 15:26:50 -08:00
Shawn Allen
79d3b353a2
install @zeit/next-sass and primer-colors
2018-12-17 15:26:50 -08:00
Shawn Allen
32c4ee78dc
rename lib/mdx -> lib/config
2018-12-17 15:26:50 -08:00
Shawn Allen
5d74233523
move svg loader to lib/mdx
2018-12-17 15:26:50 -08:00
Shawn Allen
25a442e4e7
don't copy primer-{support,utilities}/README
2018-12-17 15:26:50 -08:00
Shawn Allen
aebb8db6f2
add <h1> with page meta.title
2018-12-17 15:26:50 -08:00
Shawn Allen
c5c9561863
copy over module indexes from github/styleguide
2018-12-17 15:26:50 -08:00
Shawn Allen
5ba6a64631
nix overly verbose console warning
2018-12-17 15:26:09 -08:00
Shawn Allen
9b8727a76c
add custom mdx plugin w/YAML frontmatter parsing
2018-12-17 15:26:09 -08:00
Shawn Allen
eded03562c
add metadata support
2018-12-17 15:26:09 -08:00
Shawn Allen
230d9bb290
fix docs test on CI
2018-12-17 15:26:09 -08:00
Shawn Allen
0a9c1555b9
pin docs deps to root
2018-12-17 15:26:09 -08:00
Shawn Allen
cfa6b5648d
lint
2018-12-17 15:26:09 -08:00
Shawn Allen
d50301764a
add eslint + prettier configs
2018-12-17 15:26:09 -08:00
Shawn Allen
fcdccc3eea
tweak "do not edit" .gitignore comment
2018-12-17 15:26:09 -08:00
Shawn Allen
d2061f26d9
track copied files in pages/css/.gitignore
2018-12-17 15:26:09 -08:00
Shawn Allen
812ba7e91e
copy all the site scaffolding from @primer/components
2018-12-17 15:26:09 -08:00
Shawn Allen
fd5771235a
copy over all the config from @primer/components
2018-12-17 15:26:09 -08:00
Shawn Allen
2426818bb7
add copy.js to now.files
2018-12-17 15:26:09 -08:00
Shawn Allen
b1279a6f21
bail from copy.js on Now
2018-12-17 15:26:09 -08:00
Shawn Allen
13f9efdb64
copy files in prepare and predev
2018-12-17 15:26:09 -08:00
Shawn Allen
4581d90c4e
write list of copied files
2018-12-17 15:26:09 -08:00
Shawn Allen
864a799c8d
make copy.js synchronous
2018-12-17 15:26:09 -08:00
Shawn Allen
443962f1ac
update run-scripts for now
2018-12-17 15:26:09 -08:00
Shawn Allen
944fa063ed
index.mdx -> index.md
2018-12-17 15:26:09 -08:00
Shawn Allen
4a8e818d85
upgrade to @primer/next@0.0.10
2018-12-17 15:26:09 -08:00
Shawn Allen
8559f69671
copy, don't symlink
2018-12-17 15:26:09 -08:00
Shawn Allen
3bb689845f
version:1 in now.json
2018-12-17 15:26:09 -08:00
Shawn Allen
878da82b88
alias -> name in now.json
2018-12-17 15:26:09 -08:00
Shawn Allen
cf621defea
install @primer/components, bump @primer/next
2018-12-17 15:26:09 -08:00
Shawn Allen
67938b594f
add now.json
2018-12-17 15:26:09 -08:00
Shawn Allen
2ccbf4be74
stub out static dir
2018-12-17 15:26:09 -08:00
Shawn Allen
c079ff79f0
@primer/next ftw
2018-12-17 15:26:09 -08:00
Shawn Allen
91bb94f4fb
ignore .next/
2018-12-17 15:26:09 -08:00
Shawn Allen
43e86a4802
get next up and running
2018-12-17 15:26:09 -08:00
Shawn Allen
02b9e81ee0
move pages-specific ignores into pages/css
2018-12-17 15:26:09 -08:00
Shawn Allen
636a9544ab
move site/lib -> docs/lib
2018-12-17 15:26:09 -08:00
Shawn Allen
be05cdbb28
reorganize scripts
2018-12-17 15:26:09 -08:00
Shawn Allen
9bcc3a9658
stub out site pages symlinks
2018-12-17 15:26:09 -08:00
Jon Rohan
b7b89b63df
Tear down existing primer and rebuild with npm
2016-05-02 16:22:46 -04:00
Jon Rohan
412423c0b7
Update blankslate.md
2016-03-19 20:34:38 -04:00
Jon Rohan
16c11c4ea7
Adding no-delay option
2016-03-17 09:57:01 -04:00
Jon Rohan
690e3ab86c
Extra block
2016-03-14 12:01:08 -04:00
Jon Rohan
1e9b6846d1
fix a few things
2016-03-14 11:50:17 -04:00
Jon Rohan
980837be57
Renaming .select to form-select
2016-03-14 11:44:18 -04:00
Jon Rohan
4b4defc095
Refactor form-group a bit to make things more flexible
2016-03-14 11:13:00 -04:00
Jon Rohan
c780f046fb
Finalizing the blankslate changes
2016-03-12 20:36:49 -05:00
Jon Rohan
c0a196ac85
Merge branch 'master' into v3
2016-03-12 08:58:34 -05:00
Jon Rohan
d4e3d9da55
Using variables when we can
2016-03-04 12:28:38 -05:00
Jon Rohan
392fb94079
Updating to use bg- and text- colors in components
2016-03-04 12:10:54 -05:00
Jon Rohan
404accdc37
Adding color utilities from .com
2016-03-04 11:55:21 -05:00
Jon Rohan
67322ab20d
no more -
2016-03-04 10:42:22 -05:00
Jon Rohan
e5619a8611
updating the docs
2016-02-17 11:51:35 -05:00
Jordan Scales
b8d3756b8e
Removed note about aria-label
requiring a <button> or <a> element
...
`aria-label` can be used on any element, and is even used on the `<span>`
example right below this paragraph.
I verified this with ChromeVox+Chrome and VoiceOver+Safari.
2016-02-01 21:10:50 -05:00
Mark Otto
5d56d16a42
unfuck docs code snippets
2015-12-08 14:44:30 -08:00
Mark Otto
e803f0e8c1
Merge branch 'master' into v3
2015-12-08 13:04:23 -08:00
Mark Tareshawty
4a253b7cdb
change avatars to be retina friendly
2015-11-02 10:55:37 -05:00
Mark Otto
e9ba5f690e
Spec out some margin utilities
2015-09-29 10:48:15 -07:00
Mark Otto
05ffccd14b
Fixes #93 : Rename .button_to to .btn-group-form
2015-09-29 10:36:24 -07:00
Mark Otto
30a70fe24e
Start rewriting blankslate
2015-09-25 14:16:29 -07:00
Mark Otto
e4c94b93b4
Rewrite form controls
...
- Remove the element and attribute selectors to reduce specificity elsewhere
- Use a singular class for all text inputs, textareas, and selects (.form-control)
- Update modifier classes to use .input-*
- More consisitent modifier classes now available (no more element prefixes in selectors, .input-mini is now .input-sm, .input-large is now .input-lg)
- Port some additional styling to custom .select controls since we're not longer styling the default select element with the move to a class
2015-09-11 11:17:39 -07:00
Mark Otto
0de5a40619
update that override to match
2015-09-11 10:56:08 -07:00
Mark Otto
11b947f760
update the roadmap page
2015-07-21 14:42:54 -07:00
Mark Otto
7569218e98
reorg that a bit
2015-07-21 14:40:42 -07:00
Mark Otto
6c4b987b2e
clarify some css docs
2015-07-21 14:23:10 -07:00
Aaron Shekey
175f09a35e
Warning
2015-06-24 16:42:42 -05:00
Mark Otto
68c5f9bf0e
document it
2015-06-24 13:38:28 -07:00
Mark Otto
4d11f16b24
Merge branch 'update_anchorjs' of https://github.com/Johann-S/primer into Johann-S-update_anchorjs
2015-06-24 12:02:55 -07:00
Mark Otto
962898a9a3
Merge branch 'master' into select-boxes
...
Conflicts:
css/.primer-stats.md
css/primer.css
2015-06-24 11:57:53 -07:00
Mark Otto
0ad183b196
Merge pull request #133 from primer/text-center
...
Adding a .text-center class to utilities
2015-06-24 11:54:45 -07:00
Jon Rohan
87de9aad28
Adding .text-center to the utilities.
2015-06-23 20:57:59 -04:00
Shani Elharrar
ea7d99f5fb
Updated counter link from buttons
2015-06-13 17:55:14 +03:00
Mark Otto
e312b89301
remove unnecessary class
2015-06-10 12:41:55 -07:00
Mark Otto
6a0719d16c
mention why we use .select-sm
2015-06-10 12:41:40 -07:00
Mark Otto
7cf7bacfff
break out default and custom selects
2015-06-10 12:40:40 -07:00
Mark Otto
e9b4f2cbff
elaborate on what gets customized for default selects; use just the element name for the heading
2015-06-10 12:40:25 -07:00
Mark Otto
324f630daa
override the .markdown-body dl styles for our docs examples
2015-06-10 12:39:41 -07:00
Aaron Shekey
6b71ca9415
Fallback styling
2015-06-09 17:17:02 -05:00
Aaron Shekey
9af448ec7e
Custom select box styling
2015-06-09 14:17:33 -05:00
Johann-S
dc6f4b762b
Update Anchorjs
2015-05-31 11:36:36 +02:00
Mark Otto
e1adc83eee
Merge pull request #58 from jensechu/grammar-fix
...
Fixing a grammatical issue for clarity
2015-04-20 16:50:22 -07:00
Mark Otto
18f565721f
rearrange and emphasize some docs things
2015-04-15 15:11:52 -07:00
Mark Otto
83052c6f5e
Merge branch 'feat/centering' of https://github.com/thomastuts/primer into thomastuts-feat/centering
2015-04-15 15:08:28 -07:00
Mark Otto
fb24bf6b9b
document version in footer
2015-04-15 15:06:16 -07:00
Mark Otto
14fa24b2bf
Merge pull request #98 from rap2hpoutre/patch-2
...
Adding guideline about soft-tabs for HTML
2015-04-15 14:10:53 -07:00
Mark Otto
f0ec81b476
Merge pull request #89 from primer/jonrohan-patch-1
...
Call this section SCSS guidelines
2015-04-15 14:10:24 -07:00
Mark Otto
2d70ae5d52
Merge pull request #29 from BrianCS/patch-1
...
Add note on SCSS' overloaded rgba() function
2015-04-15 14:09:10 -07:00
Mark Otto
111e4d27f7
Merge pull request #90 from primer/btn_group_options
...
.btn and .button_to spacing in .btn-group
2015-04-15 14:02:18 -07:00
raph
dbf98df578
Adding guideline about soft-tabs for HTML
2015-04-09 11:21:13 +02:00
Nicolas McCurdy
bfffe7eb80
Remove an extra "the" from the primary button docs
2015-04-05 11:42:42 -04:00
Jon Rohan
8f856c9655
Some grammar weirdness
2015-04-04 16:11:21 -04:00
Jon Rohan
3a7a0379cb
Override something
2015-04-04 09:35:56 -04:00
Jon Rohan
be0ea4171d
No F&*#$ing way
2015-04-04 09:33:01 -04:00
Thomas Tuts
347f70e47a
Add docs for .centered class to Layout & Utilities doc sections
2015-04-02 08:27:12 +02:00
Mark Otto
d12f5b5c04
document the .button_to
2015-04-01 19:51:22 -07:00
Jon Rohan
02c02d6a76
Call this section SCSS guidelines
2015-04-01 12:29:57 -04:00
Mark Otto
c779cb23ea
give it a flash message
2015-03-30 11:38:32 -07:00
Mark Otto
81f53acb13
Merge pull request #61 from primer/btn_counters
...
Add overrides for counters in our buttons
2015-03-30 11:29:11 -07:00
Mark Otto
220aa02eae
Break ols too, and add a clearer docs note
2015-03-30 11:28:05 -07:00
Mark Otto
a8717988c6
account for outline buttons, lighten the bg on regular buttons
2015-03-30 11:17:45 -07:00
Mark Otto
1b9900e4c1
Merge branch 'master' into btn_counters
...
Conflicts:
css/.primer-stats.md
css/primer.css
2015-03-30 11:06:44 -07:00
Mark Otto
2e8ebef408
Merge pull request #75 from jedcn/typo-sniping
...
A few typo fixes
2015-03-29 12:02:20 -07:00
Jon Rohan
03c5b67c5b
Merge pull request #47 from cmcky/patch-1
...
Update layout.md
2015-03-29 08:27:38 -04:00
Mark Otto
2a2f68d58d
Merge pull request #15 from cvrebert/patch-1
...
docs/blankslate.md: grammar: remove errant word
2015-03-28 13:55:36 -07:00
Jed Northridge
44ff83edfa
It's -> its when appropriate
2015-03-28 16:32:16 -04:00
Jed Northridge
f54dac8fc3
Removed unnecessary word
2015-03-28 16:28:41 -04:00
Mark Otto
cb45bf9876
Merge pull request #68 from primer/docs_lists
...
Follow up on broken ul/ol elements
2015-03-28 01:13:18 -07:00
Mark Otto
f27a666a38
mention ul/ol limitations until v3
2015-03-28 01:11:04 -07:00
Mark Otto
b5cf19feb9
Merge pull request #67 from primer/notes_on_lists
...
Docs and source comments on broken ul/ol elements
2015-03-28 01:02:22 -07:00
Mark Otto
61540d92b0
add docs and source comments on the 'broken' nature of our uls/ols
2015-03-28 01:00:14 -07:00
Mark Otto
22e7b12320
mention browsers and platforms in about page
2015-03-28 00:27:01 -07:00
Mark Otto
c5bf85e179
Merge pull request #63 from primer/disabled_btns
...
Document disabled buttons
2015-03-27 16:43:05 -07:00
Mark Otto
ec3dd09832
document counters in buttons
2015-03-27 16:41:44 -07:00
Mark Otto
ff8d28f914
Merge pull request #9 from pborreli/typos
...
Fixed typos
2015-03-27 16:06:37 -07:00
Mark Otto
016e6c6c5b
document the disabled button state for all button variations
2015-03-27 15:14:38 -07:00
Mark Otto
a13ac3f474
Merge pull request #37 from primer/copyright
...
Add copyright banners to CSS
2015-03-27 13:36:30 -07:00
Jensen Hussey
daa0ae505d
Fixing a grammatical issue for clarity
2015-03-26 10:53:47 -07:00
Chris McKay
8f4939df28
Update layout.md
...
Grammar fix
2015-03-24 22:57:05 -04:00
Mark Otto
e4ed1234fb
fixes #11 : layout grammar
2015-03-24 10:46:10 -07:00
Mark Otto
a141439872
fixes #5
2015-03-24 10:45:31 -07:00
Mark Otto
95308ada2c
fixes #39 , #35 , part of #9 : direction in tooltips docs
2015-03-24 10:45:04 -07:00
Mark Otto
054b7ee62f
add copyright banners to the docs and dist css
2015-03-24 10:07:14 -07:00
B. Seward
5eaca6910d
Add note on SCSS' overloaded rgba() function
...
Sass + SCSS overrides and overloads the [rgba() function](http://sass-lang.com/documentation/Sass/Script/Functions.html#rgba-instance_method ) so it can also take parameters in the format `rgba($color, $alpha)`, e.g. `rgba(#000 , .5)`.
It'd be pragmatic to leverage that overload and use hex colors that much more consistently in SCSS. If GitHub folks aren't writing much raw CSS this line can be trimmed further, ```* Use hex color codes `#000` (SCSS' `rgba()` function is overloaded to accept hex colors as a param, e.g., `rgba(#000 , .5)`).``` (since Sass' overriding of `rgba()` isn't obvious perhaps good to spell it out explicitly here).
2015-03-24 03:10:39 -07:00
Pascal Borreli
7f0ecf12c7
Fixed typos
2015-03-23 22:46:58 +00:00
Chris Rebert
40c2f92c44
docs/blankslate.md: grammar: remove errant word
2015-03-23 15:38:25 -07:00
Mark Otto
b4af627293
copy
2015-03-23 11:47:52 -07:00
Mark Otto
7adc1b403e
small copy
2015-03-23 11:02:41 -07:00
Mark Otto
01f8d36546
update to use markdown name for user-content
2015-03-23 10:27:11 -07:00
Mark Otto
f681681d80
mention user-content as least
2015-03-23 10:01:13 -07:00
Mark Otto
5a3186bd43
nuke some things, update readme and roadmap to mention cla
2015-03-23 09:55:32 -07:00
Mark Otto
2285389c24
fix grid on homepage for small devices
2015-03-23 09:53:22 -07:00
Mark Otto
01686b26ca
mention some v2 stuff
2015-03-23 09:53:15 -07:00
Mark Otto
5b0902503a
copy updates
2015-03-23 09:47:44 -07:00
Mark Otto
de932ca0c2
copy, style tweaks, versioning, urls
2015-03-22 21:09:41 -07:00
Mark Otto
b3a560d875
initial commit from github/primer into primer/primer
2015-03-20 16:30:22 -07:00