diff --git a/docs/source/_partials/class-table.blade.php b/docs/source/_partials/class-table.blade.php index 17b225d58..12f6e51c4 100644 --- a/docs/source/_partials/class-table.blade.php +++ b/docs/source/_partials/class-table.blade.php @@ -1,5 +1,5 @@
| {{ $row[0] }} | -{{ $row[1] }} | -{{ $row[2] }} | +{!! $row[0] !!} | +{!! $row[1] !!} | +{!! $row[2] !!} |
| Class | -Properties | -Description | -
|---|---|---|
| .font-hairline | -font-weight: 100; | -Set the font weight of an element to hairline. | -
| .font-thin | -font-weight: 200; | -Set the font weight of an element to thin. | -
| .font-light | -font-weight: 300; | -Set the font weight of an element to light. | -
| .font-normal | -font-weight: 400; | -Set the font weight of an element to normal. | -
| .font-medium | -font-weight: 500; | -Set the font weight of an element to medium. | -
| .font-semibold | -font-weight: 600; | -Set the font weight of an element to semibold. | -
| .font-bold | -font-weight: 700; | -Set the font weight of an element to bold. | -
| .font-extrabold | -font-weight: 800; | -Set the font weight of an element to extrabold. | -
| .font-black | -font-weight: 900; | -Set the font weight of an element to black. | -
| Class | -Properties | -Description | -
|---|---|---|
| .font-sans | -font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; | -Set the font family to the sans font stack. | -
| .font-serif | -font-family: Constantia, Lucida Bright, Lucidabright, Lucida Serif, Lucida, DejaVu Serif, Bitstream Vera Serif, Liberation Serif, Georgia, serif; | -Set the font family to the serif font stack. | -
| .font-mono | -font-family: Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace; | -Set the font family to the mono font stack. | -
| Class | -Properties | -Description | -
|---|---|---|
| .tracking-tight | -letter-spacing: -0.05em; | -Set the letter spacing of an element to -0.05em. |
-
| .tracking-normal | -letter-spacing: 0; | -Set the letter spacing of an element to 0. |
-
| .tracking-wide | -letter-spacing: 0.05em; | -Set the letter spacing of an element to 0.05em. |
-
-0.05em.',
+ ],
+ [
+ '.tracking-normal',
+ 'letter-spacing: 0;',
+ 'Set the letter spacing of an element to 0.',
+ ],
+ [
+ '.tracking-wide',
+ 'letter-spacing: 0.05em;',
+ 'Set the letter spacing of an element to 0.05em.',
+ ],
+ ]
+])
diff --git a/docs/source/docs/line-height.blade.md b/docs/source/docs/line-height.blade.md
index 408b11351..2f31a286d 100644
--- a/docs/source/docs/line-height.blade.md
+++ b/docs/source/docs/line-height.blade.md
@@ -11,36 +11,27 @@ features:
@include('_partials.work-in-progress')
-| Class | -Properties | -Description | -
|---|---|---|
| .leading-none | -line-height: 1; | -Set the line height of an element to 1. |
-
| .leading-tight | -line-height: 1.25; | -Set the line height of an element to 1.25. |
-
| .leading-normal | -line-height: 1.5; | -Set the line height of an element to 1.5. |
-
| .leading-loose | -line-height: 2; | -Set the line height of an element to 2. |
-
1.',
+ ],
+ [
+ '.leading-tight',
+ 'line-height: 1.25;',
+ 'Set the line height of an element to 1.25.',
+ ],
+ [
+ '.leading-normal',
+ 'line-height: 1.5;',
+ 'Set the line height of an element to 1.5.',
+ ],
+ [
+ '.leading-loose',
+ 'line-height: 2;',
+ 'Set the line height of an element to 2.',
+ ],
+ ]
+])
diff --git a/docs/source/docs/text-alignment.blade.md b/docs/source/docs/text-alignment.blade.md
index ea1af84a0..3307b06bb 100644
--- a/docs/source/docs/text-alignment.blade.md
+++ b/docs/source/docs/text-alignment.blade.md
@@ -11,41 +11,27 @@ features:
@include('_partials.work-in-progress')
-| Class | -Properties | -Description | -
|---|---|---|
| .text-left | -text-align: left; | -Align text to the left. | -
| .text-center | -text-align: center; | -Align text to the center. | -
| .text-right | -text-align: right; | -Align text to the right. | -
| .text-justify | -text-align: justify; | -Justify text. | -
| Class | -Properties | -Description | -
|---|---|---|
| .text-{{ $name }} | -color: {{ $value }}; | -Set the text color of an element to {{ implode(' ', array_reverse(explode('-', $name))) }}. | -
| Class | -Properties | -Description | -
|---|---|---|
| .text-xs | -font-size: .75rem; | -Set the text size to .75rem (12px). |
-
| .text-sm | -font-size: .875rem; | -Set the text size to .875rem (14px). |
-
| .text-base | -font-size: 1rem; | -Set the text size to 1rem (16px). |
-
| .text-lg | -font-size: 1.125rem; | -Set the text size to 1.125rem (18px). |
-
| .text-xl | -font-size: 1.25rem; | -Set the text size to 1.25rem (20px). |
-
| .text-2xl | -font-size: 1.5rem; | -Set the text size to 1.5rem (24px). |
-
| .text-3xl | -font-size: 1.875rem; | -Set the text size to 1.875rem (30px). |
-
| .text-4xl | -font-size: 2.25rem; | -Set the text size to 2.25rem (36px). |
-
| .text-5xl | -font-size: 3rem; | -Set the text size to 3rem (48px). |
-
.75rem (12px).',
+ ],
+ [
+ '.text-sm',
+ 'font-size: .875rem;',
+ 'Set the text size to .875rem (14px).',
+ ],
+ [
+ '.text-base',
+ 'font-size: 1rem;',
+ 'Set the text size to 1rem (16px).',
+ ],
+ [
+ '.text-lg',
+ 'font-size: 1.125rem;',
+ 'Set the text size to 1.125rem (18px).',
+ ],
+ [
+ '.text-xl',
+ 'font-size: 1.25rem;',
+ 'Set the text size to 1.25rem (20px).',
+ ],
+ [
+ '.text-2xl',
+ 'font-size: 1.5rem;',
+ 'Set the text size to 1.5rem (24px).',
+ ],
+ [
+ '.text-3xl',
+ 'font-size: 1.875rem;',
+ 'Set the text size to 1.875rem (30px).',
+ ],
+ [
+ '.text-4xl',
+ 'font-size: 2.25rem;',
+ 'Set the text size to 2.25rem (36px).',
+ ],
+ [
+ '.text-5xl',
+ 'font-size: 3rem;',
+ 'Set the text size to 3rem (48px).',
+ ],
+ ]
+])
diff --git a/docs/source/docs/text-style.blade.md b/docs/source/docs/text-style.blade.md
index 7106b6422..ae4ffaf50 100644
--- a/docs/source/docs/text-style.blade.md
+++ b/docs/source/docs/text-style.blade.md
@@ -11,85 +11,65 @@ features:
@include('_partials.work-in-progress')
-| Class | -Properties | -Description | -
|---|---|---|
| .italic | -font-style: italic; | -Italicizes the text within an element. | -
| .roman | -font-style: normal; | -Sets the text to roman (disables italics) within an element. | -
| .uppercase | -text-transform: uppercase; | -Makes all text uppercase within an element. | -
| .lowercase | -text-transform: lowercase; | -Makes all text lowercase within an element. | -
| .capitalize | -text-transform: capitalize; | -Capitalizes the text within an element. | -
| .normal-case | -text-transform: none; | -Disables any text transformations previously applied to an element. | -
| .underline | -text-decoration: underline; | -Underlines the text within an element. | -
| .line-through | -text-decoration: line-through; | -Adds a line through the text within an element. | -
| .no-underline | -text-decoration: none; | -Disables any text decorations previously applied to an element. | -
| .antialiased | -
- -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - |
- Set the font smoothing of an element to antialiased. | -
| .subpixel-antialiased | -
- -webkit-font-smoothing: auto; - -moz-osx-font-smoothing: auto; - |
- Set the font smoothing of an element to subpixel antialiasing (the default). | -
| Class | -Properties | -Description | -
|---|---|---|
| .whitespace-normal | -white-space: normal; | -Cause text to wrap normally within an element. | -
| .whitespace-no-wrap | -white-space: nowrap; | -Prevent text from wrapping within an element. | -
| .whitespace-pre | -white-space: pre; | -Preserve line returns and spaces within an element. | -
| .whitespace-pre-line | -white-space: pre-line; | -Preserve line returns but not spaces within an element. | -
| .whitespace-pre-wrap | -white-space: pre-wrap; | -Preserve spaces but not line returns within an element. | -
| .break-words | -word-wrap: break-word; | -Add line breaks mid-word if needed. | -
| .break-normal | -word-wrap: normal; | -Only add line breaks at normal word break points. | -
| .truncate | -
- overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - |
- Truncate overflowing text with an ellipsis (…) if needed. |
-
…) if needed.',
+ ],
+ ]
+])