From dd48d8c876a970b4894189b87e58b02fe9186fd3 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Sun, 3 Dec 2017 10:36:11 -0500 Subject: [PATCH] Tweak some wording --- docs/source/_partials/variants-and-disabling.blade.php | 10 +++++++--- docs/source/docs/flexbox-align-content.blade.md | 4 ++-- docs/source/docs/flexbox-align-items.blade.md | 4 ++-- docs/source/docs/flexbox-align-self.blade.md | 4 ++-- docs/source/docs/flexbox-direction.blade.md | 4 ++-- docs/source/docs/flexbox-display.blade.md | 4 ++-- docs/source/docs/flexbox-flex-grow-shrink.blade.md | 4 ++-- docs/source/docs/flexbox-justify-content.blade.md | 4 ++-- docs/source/docs/flexbox-wrapping.blade.md | 4 ++-- 9 files changed, 23 insertions(+), 19 deletions(-) diff --git a/docs/source/_partials/variants-and-disabling.blade.php b/docs/source/_partials/variants-and-disabling.blade.php index 38e30fba9..daaa785b0 100644 --- a/docs/source/_partials/variants-and-disabling.blade.php +++ b/docs/source/_partials/variants-and-disabling.blade.php @@ -22,7 +22,7 @@

You can control which variants are generated for the {{ $utility['name'] }} utilities by modifying the {{ $utility['property'] }} property in the modules section of your Tailwind config file.

-

For example, this config will also generate {{ $extraVariants }} variants:

+

For example, this config will also generate {{ $extraVariants }} variants:

@component('_partials.customized-config', ['key' => 'modules']) // ... @@ -31,15 +31,19 @@ @endcomponent @isset($extraMessage) -

{!! $extraMessage !!}

+

{!! $extraMessage !!}

@endif

Disabling

-

If you aren't using the {{ $utility['name'] }} utilities in your project, you can disable them entirely by setting the {{ $utility['property'] }} property to false in the modules section of your config file:

+

If you don't plan to use the {{ $utility['name'] }} utilities in your project, you can disable them entirely by setting the {{ $utility['property'] }} property to false in the modules section of your config file:

@component('_partials.customized-config', ['key' => 'modules']) // ... - {{ $utility['property'] }}: [{{$currentVariants}}], + {{ $utility['property'] }}: false, @endcomponent + +@isset($extraMessage) +

{!! $extraMessage !!}

+@endif diff --git a/docs/source/docs/flexbox-align-content.blade.md b/docs/source/docs/flexbox-align-content.blade.md index 0fae06f32..79aad9247 100644 --- a/docs/source/docs/flexbox-align-content.blade.md +++ b/docs/source/docs/flexbox-align-content.blade.md @@ -272,11 +272,11 @@ For more information about Tailwind's responsive design features, check out the @include('_partials.variants-and-disabling', [ 'utility' => [ - 'name' => 'flexbox', + 'name' => 'align-content', 'property' => 'flexbox', ], 'variants' => [ 'responsive', ], - 'extraMessage' => 'Note that modifying the flexbox property will affect what variants are generated for all flexbox modules, not just the align-content utilities.' + 'extraMessage' => 'Note that modifying the flexbox property will affect which variants are generated for all Flexbox utilities, not just the align-content utilities.' ]) diff --git a/docs/source/docs/flexbox-align-items.blade.md b/docs/source/docs/flexbox-align-items.blade.md index 39f839c32..bed33536c 100644 --- a/docs/source/docs/flexbox-align-items.blade.md +++ b/docs/source/docs/flexbox-align-items.blade.md @@ -152,11 +152,11 @@ For more information about Tailwind's responsive design features, check out the @include('_partials.variants-and-disabling', [ 'utility' => [ - 'name' => 'flexbox', + 'name' => 'align-items', 'property' => 'flexbox', ], 'variants' => [ 'responsive', ], - 'extraMessage' => 'Note that modifying the flexbox property will affect what variants are generated for all flexbox modules, not just the align-items utilities.' + 'extraMessage' => 'Note that modifying the flexbox property will affect which variants are generated for all Flexbox utilities, not just the align-items utilities.' ]) diff --git a/docs/source/docs/flexbox-align-self.blade.md b/docs/source/docs/flexbox-align-self.blade.md index bc59df587..661d4b543 100644 --- a/docs/source/docs/flexbox-align-self.blade.md +++ b/docs/source/docs/flexbox-align-self.blade.md @@ -154,11 +154,11 @@ For more information about Tailwind's responsive design features, check out the @include('_partials.variants-and-disabling', [ 'utility' => [ - 'name' => 'flexbox', + 'name' => 'align-self', 'property' => 'flexbox', ], 'variants' => [ 'responsive', ], - 'extraMessage' => 'Note that modifying the flexbox property will affect what variants are generated for all flexbox modules, not just the align-self utilities.' + 'extraMessage' => 'Note that modifying the flexbox property will affect which variants are generated for all Flexbox utilities, not just the align-self utilities.' ]) diff --git a/docs/source/docs/flexbox-direction.blade.md b/docs/source/docs/flexbox-direction.blade.md index fb821f57e..ec60d92a5 100644 --- a/docs/source/docs/flexbox-direction.blade.md +++ b/docs/source/docs/flexbox-direction.blade.md @@ -135,11 +135,11 @@ For more information about Tailwind's responsive design features, check out the @include('_partials.variants-and-disabling', [ 'utility' => [ - 'name' => 'flexbox', + 'name' => 'flex-direction', 'property' => 'flexbox', ], 'variants' => [ 'responsive', ], - 'extraMessage' => 'Note that modifying the flexbox property will affect what variants are generated for all flexbox modules, not just the flex-direction utilities.' + 'extraMessage' => 'Note that modifying the flexbox property will affect which variants are generated for all Flexbox utilities, not just the flex-direction utilities.' ]) diff --git a/docs/source/docs/flexbox-display.blade.md b/docs/source/docs/flexbox-display.blade.md index 6b51e1759..c01ccb6f4 100644 --- a/docs/source/docs/flexbox-display.blade.md +++ b/docs/source/docs/flexbox-display.blade.md @@ -101,11 +101,11 @@ For more information about Tailwind's responsive design features, check out the @include('_partials.variants-and-disabling', [ 'utility' => [ - 'name' => 'flexbox', + 'name' => 'flex display', 'property' => 'flexbox', ], 'variants' => [ 'responsive', ], - 'extraMessage' => 'Note that modifying the flexbox property will affect what variants are generated for all flexbox modules, not just the display utilities.' + 'extraMessage' => 'Note that modifying the flexbox property will affect which variants are generated for all Flexbox utilities, not just the display utilities.' ]) diff --git a/docs/source/docs/flexbox-flex-grow-shrink.blade.md b/docs/source/docs/flexbox-flex-grow-shrink.blade.md index 1fd6b33c4..e55f3c91b 100644 --- a/docs/source/docs/flexbox-flex-grow-shrink.blade.md +++ b/docs/source/docs/flexbox-flex-grow-shrink.blade.md @@ -373,11 +373,11 @@ For more information about Tailwind's responsive design features, check out the @include('_partials.variants-and-disabling', [ 'utility' => [ - 'name' => 'flexbox', + 'name' => 'flex, grow, and shrink', 'property' => 'flexbox', ], 'variants' => [ 'responsive', ], - 'extraMessage' => 'Note that modifying the flexbox property will affect what variants are generated for all flexbox modules, not just the flex utilities.' + 'extraMessage' => 'Note that modifying the flexbox property will affect which variants are generated for all Flexbox utilities, not just the flex, grow, and shrink utilities.' ]) diff --git a/docs/source/docs/flexbox-justify-content.blade.md b/docs/source/docs/flexbox-justify-content.blade.md index 0ca75df2d..8d0045856 100644 --- a/docs/source/docs/flexbox-justify-content.blade.md +++ b/docs/source/docs/flexbox-justify-content.blade.md @@ -152,11 +152,11 @@ For more information about Tailwind's responsive design features, check out the @include('_partials.variants-and-disabling', [ 'utility' => [ - 'name' => 'flexbox', + 'name' => 'justify-content', 'property' => 'flexbox', ], 'variants' => [ 'responsive', ], - 'extraMessage' => 'Note that modifying the flexbox property will affect what variants are generated for all flexbox modules, not just the justify-content utilities.' + 'extraMessage' => 'Note that modifying the flexbox property will affect which variants are generated for all Flexbox utilities, not just the justify-content utilities.' ]) diff --git a/docs/source/docs/flexbox-wrapping.blade.md b/docs/source/docs/flexbox-wrapping.blade.md index 05167a7ee..7ccae20a9 100644 --- a/docs/source/docs/flexbox-wrapping.blade.md +++ b/docs/source/docs/flexbox-wrapping.blade.md @@ -166,11 +166,11 @@ For more information about Tailwind's responsive design features, check out the @include('_partials.variants-and-disabling', [ 'utility' => [ - 'name' => 'flexbox', + 'name' => 'flex-wrap', 'property' => 'flexbox', ], 'variants' => [ 'responsive', ], - 'extraMessage' => 'Note that modifying the flexbox property will affect what variants are generated for all flexbox modules, not just the flex-wrap utilities.' + 'extraMessage' => 'Note that modifying the flexbox property will affect which variants are generated for all Flexbox utilities, not just the flex-wrap utilities.' ])