From e6814fdb91170c5b1d3c5d4bfab27f15ee43ab1a Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Mon, 4 Dec 2017 09:23:37 -0500 Subject: [PATCH] WIP --- docs/source/docs/colors.blade.md | 100 ++++++++++++++++++++++++++++++- docs/tailwind.js | 31 ++++++++++ docs/webpack.mix.js | 2 +- 3 files changed, 130 insertions(+), 3 deletions(-) diff --git a/docs/source/docs/colors.blade.md b/docs/source/docs/colors.blade.md index e4ca285b7..65ce58554 100644 --- a/docs/source/docs/colors.blade.md +++ b/docs/source/docs/colors.blade.md @@ -10,8 +10,8 @@ Developing an organized, consistent and beautiful color palette is critical to t To get you started, we've provided a generous palette of great looking colors that are perfect for prototyping, or even as a starting point for your color palette. That said, don't hesitate to [customize](#customizing) them for your project. -
-
+
+
Grey
@@ -58,6 +58,102 @@ To get you started, we've provided a generous palette of great looking colors th
+ +
+
+
+
Grey
+
+ Base + {{ strtoupper($page->config['colors']['new-grey']) }} +
+
+
+ White + {{ strtoupper($page->config['colors']['new-white']) }} +
+
+ Lightest + {{ strtoupper($page->config['colors']['new-grey-lightest']) }} +
+
+ Lighter + {{ strtoupper($page->config['colors']['new-grey-lighter']) }} +
+
+ Light + {{ strtoupper($page->config['colors']['new-grey-light']) }} +
+
+ Base + {{ strtoupper($page->config['colors']['new-grey']) }} +
+
+ Dark + {{ strtoupper($page->config['colors']['new-grey-dark']) }} +
+
+ Darker + {{ strtoupper($page->config['colors']['new-grey-darker']) }} +
+
+ Darkest + {{ strtoupper($page->config['colors']['new-grey-darkest']) }} +
+
+ Black + {{ strtoupper($page->config['colors']['new-black']) }} +
+
+
+ +
+
+
+
Grey
+
+ Base + {{ strtoupper($page->config['colors']['grey']) }} +
+
+
+ White + {{ strtoupper($page->config['colors']['white']) }} +
+
+ Lightest + {{ strtoupper($page->config['colors']['grey-lightest']) }} +
+
+ Lighter + {{ strtoupper($page->config['colors']['grey-lighter']) }} +
+
+ Light + {{ strtoupper($page->config['colors']['grey-light']) }} +
+
+ Base + {{ strtoupper($page->config['colors']['grey']) }} +
+
+ Dark + {{ strtoupper($page->config['colors']['grey-dark']) }} +
+
+ Darker + {{ strtoupper($page->config['colors']['grey-darker']) }} +
+
+ Darkest + {{ strtoupper($page->config['colors']['grey-darkest']) }} +
+
+ Black + {{ strtoupper($page->config['colors']['black']) }} +
+
+
diff --git a/docs/tailwind.js b/docs/tailwind.js index 2d635826d..b85377805 100644 --- a/docs/tailwind.js +++ b/docs/tailwind.js @@ -1,6 +1,37 @@ var config = require('../defaultConfig')() config.colors = Object.assign(config.colors, { + 'new-white': 'hsl(0, 0%, 100%)', + 'new-grey-lightest': 'hsl(200, 25%, 98%)', + 'new-grey-lighter': 'hsl(200, 33%, 96%)', + 'new-grey-light': 'hsl(200, 25%, 88%)', + 'new-grey': 'hsl(200, 14%, 66%)', + 'new-grey-dark': 'hsl(200, 10%, 49%)', + 'new-grey-darker': 'hsl(200, 13%, 40%)', + 'new-grey-darkest': 'hsl(200, 15%, 25%)', + 'new-black': 'hsl(200, 16%, 16%)', + + 'new-white': 'hsl(0, 0%, 100%)', + 'new-grey-lightest': 'hsl(200, 12%, 98%)', + 'new-grey-lighter': 'hsl(200, 12%, 96%)', + 'new-grey-light': 'hsl(200, 12%, 88%)', + 'new-grey': 'hsl(200, 12%, 66%)', + 'new-grey-dark': 'hsl(200, 12%, 49%)', + 'new-grey-darker': 'hsl(200, 13%, 40%)', + 'new-grey-darkest': 'hsl(200, 15%, 25%)', + 'new-black': 'hsl(200, 16%, 16%)', + + 'new-white': 'hsl(200, 0%, 100%)', + 'new-grey-lightest': 'hsl(200, 35%, 98%)', + 'new-grey-lighter': 'hsl(200, 30%, 96%)', + 'new-grey-light': 'hsl(200, 20%, 88%)', + 'new-grey': 'hsl(200, 16%, 73%)', + 'new-grey-dark': 'hsl(200, 11%, 55%)', + 'new-grey-darker': 'hsl(200, 12%, 41%)', + 'new-grey-darkest': 'hsl(200, 15%, 26%)', + 'new-black': 'hsl(200, 16%, 16%)', + + 'slate-darker': '#212b35', 'slate-dark': '#404e5c', 'slate': '#647382', diff --git a/docs/webpack.mix.js b/docs/webpack.mix.js index cabb9a984..921a84c3e 100644 --- a/docs/webpack.mix.js +++ b/docs/webpack.mix.js @@ -7,7 +7,7 @@ const tailwind = require('./../lib/index.js') const config = require('./../defaultConfig.js') const fs = require('fs') -fs.writeFileSync('./tailwind.json', JSON.stringify(config())) +fs.writeFileSync('./tailwind.json', JSON.stringify(require('./tailwind.js'))) const env = argv.e || argv.env || 'local' const plugins = [