Skip to content

Commit 546566a

Browse files
committed
Improve name of colors in utility list
1 parent a06460e commit 546566a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/source/docs/text-color.blade.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ title: "Text Color"
2727
</thead>
2828
<tbody class="align-baseline">
2929
@foreach ($page->config['colors'] as $name => $value)
30-
<tr>
31-
<td class="p-2 border-t border-smoke font-mono text-xs text-purple-dark whitespace-no-wrap">.text-{{ $name }}</td>
32-
<td class="p-2 border-t border-smoke font-mono text-xs text-blue-dark whitespace-no-wrap">color: {{ $value }};</td>
33-
<td class="p-2 border-t border-smoke text-sm text-grey-darker">Set the text color of an element to {{ str_replace('-', ' ' , $name) }}.</td>
34-
</tr>
30+
<tr>
31+
<td class="p-2 border-t border-smoke font-mono text-xs text-purple-dark whitespace-no-wrap">.text-{{ $name }}</td>
32+
<td class="p-2 border-t border-smoke font-mono text-xs text-blue-dark whitespace-no-wrap">color: {{ $value }};</td>
33+
<td class="p-2 border-t border-smoke text-sm text-grey-darker">Set the text color of an element to {{ implode(' ', array_reverse(explode('-', $name))) }}.</td>
34+
</tr>
3535
@endforeach
3636
</tbody>
3737
</table>

0 commit comments

Comments
 (0)