Tweak some wording

This commit is contained in:
Adam Wathan 2017-12-03 10:36:11 -05:00
parent 07c6d1228c
commit dd48d8c876
9 changed files with 23 additions and 19 deletions

View File

@ -22,7 +22,7 @@
<p>You can control which variants are generated for the {{ $utility['name'] }} utilities by modifying the <code>{{ $utility['property'] }}</code> property in the <code>modules</code> section of your Tailwind config file.</p>
<p>For example, this config will <em>also</em> generate {{ $extraVariants }} variants:</p>
<p>For example, this config will also generate {{ $extraVariants }} variants:</p>
@component('_partials.customized-config', ['key' => 'modules'])
// ...
@ -31,15 +31,19 @@
@endcomponent
@isset($extraMessage)
<p>{!! $extraMessage !!}</p>
<p>{!! $extraMessage !!}</p>
@endif
<h3>Disabling</h3>
<p>If you aren't using the {{ $utility['name'] }} utilities in your project, you can disable them entirely by setting the <code>{{ $utility['property'] }}</code> property to <code>false</code> in the <code>modules</code> section of your config file:</p>
<p>If you don't plan to use the {{ $utility['name'] }} utilities in your project, you can disable them entirely by setting the <code>{{ $utility['property'] }}</code> property to <code>false</code> in the <code>modules</code> section of your config file:</p>
@component('_partials.customized-config', ['key' => 'modules'])
// ...
- {{ $utility['property'] }}: [{{$currentVariants}}],
+ {{ $utility['property'] }}: false,
@endcomponent
@isset($extraMessage)
<p>{!! $extraMessage !!}</p>
@endif

View File

@ -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 <code>flexbox</code> property will affect what variants are generated for <em>all</em> flexbox modules, not just the align-content utilities.'
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect which variants are generated for <em>all</em> Flexbox utilities, not just the align-content utilities.'
])

View File

@ -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 <code>flexbox</code> property will affect what variants are generated for <em>all</em> flexbox modules, not just the align-items utilities.'
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect which variants are generated for <em>all</em> Flexbox utilities, not just the align-items utilities.'
])

View File

@ -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 <code>flexbox</code> property will affect what variants are generated for <em>all</em> flexbox modules, not just the align-self utilities.'
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect which variants are generated for <em>all</em> Flexbox utilities, not just the align-self utilities.'
])

View File

@ -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 <code>flexbox</code> property will affect what variants are generated for <em>all</em> flexbox modules, not just the flex-direction utilities.'
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect which variants are generated for <em>all</em> Flexbox utilities, not just the flex-direction utilities.'
])

View File

@ -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 <code>flexbox</code> property will affect what variants are generated for <em>all</em> flexbox modules, not just the display utilities.'
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect which variants are generated for <em>all</em> Flexbox utilities, not just the display utilities.'
])

View File

@ -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 <code>flexbox</code> property will affect what variants are generated for <em>all</em> flexbox modules, not just the flex utilities.'
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect which variants are generated for <em>all</em> Flexbox utilities, not just the flex, grow, and shrink utilities.'
])

View File

@ -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 <code>flexbox</code> property will affect what variants are generated for <em>all</em> flexbox modules, not just the justify-content utilities.'
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect which variants are generated for <em>all</em> Flexbox utilities, not just the justify-content utilities.'
])

View File

@ -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 <code>flexbox</code> property will affect what variants are generated for <em>all</em> flexbox modules, not just the flex-wrap utilities.'
'extraMessage' => 'Note that modifying the <code>flexbox</code> property will affect which variants are generated for <em>all</em> Flexbox utilities, not just the flex-wrap utilities.'
])