Skip to content

Commit

Permalink
docs(babel): add plugin (#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherBiscardi authored and mxstbr committed Apr 11, 2018
1 parent 8a64fff commit 6083967
Show file tree
Hide file tree
Showing 5 changed files with 177 additions and 262 deletions.
5 changes: 5 additions & 0 deletions .documentation.json
Expand Up @@ -14,6 +14,11 @@
"description": "<div class='usage'><code class='javascript'>import { lighten, modularScale } from 'polished'</code></div>",
"markdown": false
},
{
"name": "Babel",
"description": "<div class='babel'><code class='command'>npm install --save-dev babel-plugin-polished</code><code class='javascript'>{ plugins: [\"babel-plugin-polished\"] }</code></div>",
"markdown": false
},
{
"name": "Mixins"
},
Expand Down
6 changes: 5 additions & 1 deletion docs-theme/assets/style.css
Expand Up @@ -59,11 +59,15 @@ body {
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
}

#installation ~ .installation, #usage ~ .usage {
#installation ~ .installation, #usage ~ .usage, #babel ~ .babel {
text-align: center;
margin-bottom: 0;
}

#babel ~ .babel .command {
margin-bottom: 1.5em;
}

.command:before {
content: "$";
margin-right: 0.5em;
Expand Down

0 comments on commit 6083967

Please sign in to comment.