diff --git a/docs/source/docs/text-color.blade.md b/docs/source/docs/text-color.blade.md index a6500e05e..30ce965ce 100644 --- a/docs/source/docs/text-color.blade.md +++ b/docs/source/docs/text-color.blade.md @@ -27,11 +27,11 @@ title: "Text Color" @foreach ($page->config['colors'] as $name => $value) - - .text-{{ $name }} - color: {{ $value }}; - Set the text color of an element to {{ str_replace('-', ' ' , $name) }}. - + + .text-{{ $name }} + color: {{ $value }}; + Set the text color of an element to {{ implode(' ', array_reverse(explode('-', $name))) }}. + @endforeach