From 18e1dfce22857c1430019649b7606bb1c6f802fa Mon Sep 17 00:00:00 2001 From: Daniel Hartmann Date: Sun, 12 Nov 2017 23:25:48 +0100 Subject: [PATCH 1/8] Make stylesheets load in parallel --- docs/source/_layouts/master.blade.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/source/_layouts/master.blade.php b/docs/source/_layouts/master.blade.php index 0290f941a..9624694d6 100644 --- a/docs/source/_layouts/master.blade.php +++ b/docs/source/_layouts/master.blade.php @@ -12,11 +12,9 @@ {{ $page->title ? $page->title . ' - Tailwind CSS' : 'Tailwind CSS - A Utility-First CSS Framework for Rapid UI Development' }} @yield('meta') - + - + From 4cf2cfa649c9988ca169f3d516491a5f30bcc979 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Mon, 13 Nov 2017 13:30:53 -0500 Subject: [PATCH 2/8] Mention postcss-import caveats in installation docs --- docs/source/docs/installation.blade.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/source/docs/installation.blade.md b/docs/source/docs/installation.blade.md index 7d56f5393..f2d5488e0 100644 --- a/docs/source/docs/installation.blade.md +++ b/docs/source/docs/installation.blade.md @@ -62,6 +62,12 @@ To avoid specificity issues, we highly recommend structuring your main styleshee * * You can see the styles here: * https://github.com/tailwindcss/tailwindcss/blob/master/css/preflight.css + * + * Note: If using `postcss-import`, place this line in it's own file: + * + * @@import "./tailwind-preflight.css"; + * + * See: https://github.com/tailwindcss/tailwindcss/issues/53#issuecomment-341413622 */ @@tailwind preflight; @@ -75,7 +81,7 @@ To avoid specificity issues, we highly recommend structuring your main styleshee * .btn { ... } * .form-input { ... } * - * Or if using a preprocessor: + * Or if using a preprocessor or `postcss-import`: * * @@import "components/buttons"; * @@import "components/forms"; @@ -84,6 +90,12 @@ To avoid specificity issues, we highly recommend structuring your main styleshee /** * This injects all of Tailwind's utility classes, generated based on your * config file. + * + * Note: If using `postcss-import`, place this line in it's own file: + * + * @@import "./tailwind-utilities.css"; + * + * See: https://github.com/tailwindcss/tailwindcss/issues/53#issuecomment-341413622 */ @@tailwind utilities; @@ -96,7 +108,7 @@ To avoid specificity issues, we highly recommend structuring your main styleshee * .bg-pattern-graph-paper { ... } * .skew-45 { ... } * - * Or if using a preprocessor.. + * Or if using a preprocessor or `postcss-import`: * * @@import "utilities/background-patterns"; * @@import "utilities/skew-transforms"; From ad44fae29fe9d8da189b02602558f60986bebb49 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Mon, 13 Nov 2017 13:39:24 -0500 Subject: [PATCH 3/8] Tweak language around postcss-import --- docs/source/docs/installation.blade.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/docs/installation.blade.md b/docs/source/docs/installation.blade.md index f2d5488e0..758c78b50 100644 --- a/docs/source/docs/installation.blade.md +++ b/docs/source/docs/installation.blade.md @@ -63,7 +63,7 @@ To avoid specificity issues, we highly recommend structuring your main styleshee * You can see the styles here: * https://github.com/tailwindcss/tailwindcss/blob/master/css/preflight.css * - * Note: If using `postcss-import`, place this line in it's own file: + * If using `postcss-import`, you should import this line from it's own file: * * @@import "./tailwind-preflight.css"; * @@ -91,7 +91,7 @@ To avoid specificity issues, we highly recommend structuring your main styleshee * This injects all of Tailwind's utility classes, generated based on your * config file. * - * Note: If using `postcss-import`, place this line in it's own file: + * If using `postcss-import`, you should import this line from it's own file: * * @@import "./tailwind-utilities.css"; * From d9cafbb9ce88d18fb2e932864bca60405c7a63b0 Mon Sep 17 00:00:00 2001 From: Christoph Rumpel Date: Tue, 14 Nov 2017 22:17:04 +0100 Subject: [PATCH 4/8] Add fb meta tags --- docs/source/_layouts/documentation.blade.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/source/_layouts/documentation.blade.php b/docs/source/_layouts/documentation.blade.php index f2e1f1f88..e41e9979f 100644 --- a/docs/source/_layouts/documentation.blade.php +++ b/docs/source/_layouts/documentation.blade.php @@ -7,6 +7,11 @@ + + + + + @endsection @section('body') From a0acef4cc2e1b0d78ade80d6985bb2bc1ad81e10 Mon Sep 17 00:00:00 2001 From: Christoph Rumpel Date: Tue, 14 Nov 2017 22:23:08 +0100 Subject: [PATCH 5/8] Fix styles --- docs/source/_layouts/documentation.blade.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/source/_layouts/documentation.blade.php b/docs/source/_layouts/documentation.blade.php index e41e9979f..e2c32da0a 100644 --- a/docs/source/_layouts/documentation.blade.php +++ b/docs/source/_layouts/documentation.blade.php @@ -7,11 +7,11 @@ - - - - - + + + + + @endsection @section('body') From 603d12ba9be7462d2cccc637dc202a22a103df9c Mon Sep 17 00:00:00 2001 From: Christoph Rumpel Date: Tue, 14 Nov 2017 22:40:40 +0100 Subject: [PATCH 6/8] Add dynamic title and description --- docs/source/_layouts/documentation.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/_layouts/documentation.blade.php b/docs/source/_layouts/documentation.blade.php index e2c32da0a..720f144b8 100644 --- a/docs/source/_layouts/documentation.blade.php +++ b/docs/source/_layouts/documentation.blade.php @@ -9,8 +9,8 @@ - - + + @endsection From 828f7d40e3860522fec5c9b33bc03116261b3fff Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Tue, 14 Nov 2017 19:49:23 -0500 Subject: [PATCH 7/8] Fix typo in responsive flex grow example --- docs/source/docs/flexbox-flex-grow-shrink.blade.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/docs/flexbox-flex-grow-shrink.blade.md b/docs/source/docs/flexbox-flex-grow-shrink.blade.md index d94e61e24..27bb64202 100644 --- a/docs/source/docs/flexbox-flex-grow-shrink.blade.md +++ b/docs/source/docs/flexbox-flex-grow-shrink.blade.md @@ -371,7 +371,7 @@ For more information about Tailwind's responsive design features, check out the
- Item that cannot grow or shrink + Responsive flex item
From ce5f313704ee7287e9569d892eab956bbbdf9353 Mon Sep 17 00:00:00 2001 From: Christoph Rumpel Date: Wed, 15 Nov 2017 06:41:29 +0100 Subject: [PATCH 8/8] Add Facebook Metag Tags to homepage as well --- docs/source/index.blade.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/source/index.blade.php b/docs/source/index.blade.php index ecd597535..34486763d 100644 --- a/docs/source/index.blade.php +++ b/docs/source/index.blade.php @@ -7,6 +7,11 @@ + + + + + @endsection @section('body')