Permalink
Browse files

Added docs, first pass at extending plato

  • Loading branch information...
1 parent 3816868 commit 8a129a49baaddcde3675cb74228ac08b0d71e370 @JonHMChan committed Jun 10, 2016
Showing with 640 additions and 24 deletions.
  1. +20 −5 dist/plato.js
  2. +533 −0 docs/index.html
  3. +87 −19 src/plato.js
View
@@ -18,13 +18,28 @@ var Plato = function () {
this.fixedGutter = 15;
}
- /* Value functions */
+ _createClass(Plato, [{
+ key: "base",
+ value: function base() {
+ var tree = {
+ "html": {
+ "box-sizing": "border-box",
+ "body": {}
+ },
+ "*, *::before, *::after": {
+ "box-sizing": "border-box"
+ }
+ };
+ return tree;
+ }
- // rgba()
- // ----------
- // Shorthand for rgba() colors
+ /* Value functions */
- _createClass(Plato, [{
+ // rgba()
+ // ----------
+ // Shorthand for rgba() colors
+
+ }, {
key: "rgba",
value: function rgba() {
var r = arguments.length <= 0 || arguments[0] === undefined ? 0 : arguments[0];
Oops, something went wrong.

0 comments on commit 8a129a4

Please sign in to comment.