Skip to content

Commit 1615f02

Browse files
authored
Revert "Move page descriptions into yaml"
1 parent 7ca5a00 commit 1615f02

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+416
-80
lines changed

docs/source/docs/adding-new-utilities.blade.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
extends: _layouts.documentation
33
title: "Adding New Utilities"
4-
description: null
54
---
65

6+
# Adding New Utilities
7+
78
Although Tailwind provides a pretty comprehensive set of utility classes out of the box, you're inevitably going to run into situations where you need to add a few of your own.
89

910
Deciding on the best way to extend a framework can be paralyzing, so here's some best practices and tools to help you add your own utilities "the Tailwind way."

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
---
22
extends: _layouts.documentation
3-
title: "Background Color"
4-
description: "Utilities for controlling an element's background color."
3+
title: "Backgrounds"
54
---
65

6+
# Background Color
7+
8+
<div class="text-xl text-slate-light mb-4">
9+
Utilities for controlling an element's background color.
10+
</div>
11+
712
@include('_partials.feature-badges', [
813
'responsive' => true,
914
'customizable' => true,

docs/source/docs/background-position.blade.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
---
22
extends: _layouts.documentation
33
title: "Background Position"
4-
description: "Utilities for controlling the position of an element's background image."
54
---
65

6+
# Background Position
7+
8+
<div class="text-xl text-slate-light mb-4">
9+
Utilities for controlling the position of an element's background image.
10+
</div>
11+
712
@include('_partials.feature-badges', [
813
'responsive' => true,
914
'customizable' => false,

docs/source/docs/background-size.blade.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
---
22
extends: _layouts.documentation
33
title: "Background Size"
4-
description: "Utilities for controlling the background size of an element's background image."
54
---
65

6+
# Background Size
7+
8+
<div class="text-xl text-slate-light mb-4">
9+
Utilities for controlling the background size of an element's background image.
10+
</div>
11+
712
@include('_partials.feature-badges', [
813
'responsive' => true,
914
'customizable' => false,

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
---
22
extends: _layouts.documentation
33
title: "Border Color"
4-
description: "Utilities for controlling the color of an element's borders."
54
---
65

6+
# Border Color
7+
8+
<div class="text-xl text-slate-light mb-4">
9+
Utilities for controlling the color of an element's borders.
10+
</div>
11+
712
@include('_partials.feature-badges', [
813
'responsive' => true,
914
'customizable' => true,

docs/source/docs/border-radius.blade.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
---
22
extends: _layouts.documentation
33
title: "Border Radius"
4-
description: "Utilities for controlling the border radius of an element."
54
---
65

6+
# Border Radius
7+
8+
<div class="text-xl text-slate-light mb-4">
9+
Utilities for controlling the border radius of an element.
10+
</div>
11+
712
@include('_partials.feature-badges', [
813
'responsive' => true,
914
'customizable' => true,

docs/source/docs/border-style.blade.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
---
22
extends: _layouts.documentation
33
title: "Border Style"
4-
description: "Utilities for controlling the style of an element's borders."
54
---
65

6+
# Border Style
7+
8+
<div class="text-xl text-slate-light mb-4">
9+
Utilities for controlling the style of an element's borders.
10+
</div>
11+
712
@include('_partials.feature-badges', [
813
'responsive' => true,
914
'customizable' => false,

docs/source/docs/border-width.blade.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
---
22
extends: _layouts.documentation
33
title: "Border Width"
4-
description: "Utilities for controlling the width an element's borders."
54
---
65

6+
# Border Width
7+
8+
<div class="text-xl text-slate-light mb-4">
9+
Utilities for controlling the width an element's borders.
10+
</div>
11+
712
@include('_partials.feature-badges', [
813
'responsive' => true,
914
'customizable' => true,

docs/source/docs/colors.blade.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
extends: _layouts.documentation
33
title: "Colors"
4-
description: null
54
---
65

6+
# Colors
7+
78
Developing an organized, consistent and beautiful color palette is critical to the design success of a project. Tailwind provides a fantastic color system that makes this very easy to accomplish.
89

910
## Default color palette

docs/source/docs/configuration.blade.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
extends: _layouts.documentation
33
title: "Configuration"
4-
description: null
54
---
65

6+
# Configuration
7+
78
Tailwind's defining feature is its ability to be customized. We understand that no two projects are the same, so why should the CSS framework you use be? Tailwind provides developers with a helpful set of front-end conventions, while still leaving room for adjustments where appropriate. This is all done using the Tailwind config file.
89

910
## Introducing the Tailwind config

docs/source/docs/container.blade.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
---
22
extends: _layouts.documentation
33
title: "Container"
4-
description: "A component for fixing an element's width to the current breakpoint."
54
---
65

6+
# Container
7+
8+
<div class="text-xl text-slate-light mb-4">
9+
A component for fixing an element's width to the current breakpoint.
10+
</div>
11+
712
@include('_partials.work-in-progress')
813

914
<div class="border-t border-grey-lighter">

docs/source/docs/cursor.blade.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
---
22
extends: _layouts.documentation
33
title: "Cursor"
4-
description: "Utilities for controlling the cursor style when hovering over an element."
54
---
65

6+
# Cursor
7+
8+
<div class="text-xl text-slate-light mb-4">
9+
Utilities for controlling the cursor style when hovering over an element.
10+
</div>
11+
712
@include('_partials.feature-badges', [
813
'responsive' => true,
914
'customizable' => false,

docs/source/docs/display.blade.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
---
22
extends: _layouts.documentation
33
title: "Display"
4-
description: "Utilities for controlling the display box type of an element."
54
---
65

6+
# Display
7+
8+
<div class="text-xl text-slate-light mb-4">
9+
Utilities for controlling the display box type of an element.
10+
</div>
11+
712
@include('_partials.feature-badges', [
813
'responsive' => true,
914
'customizable' => false,

docs/source/docs/examples/alerts.blade.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,23 @@
11
---
22
extends: _layouts.documentation
33
title: "Alerts"
4-
description: null
54
---
65

7-
@include('_partials.work-in-progress-example')
6+
# Alerts
7+
8+
<div class="mt-8">
9+
<div class="bg-blue-lightest border-l-4 border-blue-light rounded-b text-blue-darkest px-4 py-3">
10+
<div class="flex">
11+
<div class="py-1">
12+
<svg class="h-6 w-6 text-blue-light mr-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10 20C4.477 20 0 15.523 0 10S4.477 0 10 0s10 4.477 10 10-4.477 10-10 10zm0-2c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm-.5-5h1c.276 0 .5.224.5.5v1c0 .276-.224.5-.5.5h-1c-.276 0-.5-.224-.5-.5v-1c0-.276.224-.5.5-.5zm0-8h1c.276 0 .5.224.5.5V8l-.5 3-1 .5L9 8V5.5c0-.276.224-.5.5-.5z"/></svg>
13+
</div>
14+
<div>
15+
<p class="font-semibold">Work in progress!</p>
16+
<p class="text-sm">More detailed documentation is coming soon, but in the meantime here's a bunch of quick examples.</p>
17+
</div>
18+
</div>
19+
</div>
20+
</div>
821

922
### Traditional
1023

docs/source/docs/examples/buttons.blade.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,23 @@
11
---
22
extends: _layouts.documentation
33
title: "Buttons"
4-
description: null
54
---
65

7-
@include('_partials.work-in-progress-example')
6+
# Buttons
7+
8+
<div class="mt-8">
9+
<div class="bg-blue-lightest border-l-4 border-blue-light rounded-b text-blue-darkest px-4 py-3">
10+
<div class="flex">
11+
<div class="py-1">
12+
<svg class="h-6 w-6 text-blue-light mr-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10 20C4.477 20 0 15.523 0 10S4.477 0 10 0s10 4.477 10 10-4.477 10-10 10zm0-2c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm-.5-5h1c.276 0 .5.224.5.5v1c0 .276-.224.5-.5.5h-1c-.276 0-.5-.224-.5-.5v-1c0-.276.224-.5.5-.5zm0-8h1c.276 0 .5.224.5.5V8l-.5 3-1 .5L9 8V5.5c0-.276.224-.5.5-.5z"/></svg>
13+
</div>
14+
<div>
15+
<p class="font-semibold">Work in progress!</p>
16+
<p class="text-sm">More detailed documentation is coming soon, but in the meantime here's a bunch of quick examples.</p>
17+
</div>
18+
</div>
19+
</div>
20+
</div>
821

922
### Simple
1023

docs/source/docs/examples/cards.blade.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,23 @@
11
---
22
extends: _layouts.documentation
33
title: "Cards"
4-
description: null
54
---
65

7-
@include('_partials.work-in-progress-example')
6+
# Cards
7+
8+
<div class="mt-8">
9+
<div class="bg-blue-lightest border-l-4 border-blue-light rounded-b text-blue-darkest px-4 py-3">
10+
<div class="flex">
11+
<div class="py-1">
12+
<svg class="h-6 w-6 text-blue-light mr-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10 20C4.477 20 0 15.523 0 10S4.477 0 10 0s10 4.477 10 10-4.477 10-10 10zm0-2c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm-.5-5h1c.276 0 .5.224.5.5v1c0 .276-.224.5-.5.5h-1c-.276 0-.5-.224-.5-.5v-1c0-.276.224-.5.5-.5zm0-8h1c.276 0 .5.224.5.5V8l-.5 3-1 .5L9 8V5.5c0-.276.224-.5.5-.5z"/></svg>
13+
</div>
14+
<div>
15+
<p class="font-semibold">Work in progress!</p>
16+
<p class="text-sm">More detailed examples are coming soon.</p>
17+
</div>
18+
</div>
19+
</div>
20+
</div>
821

922
## Stacked
1023

docs/source/docs/examples/forms.blade.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,23 @@
11
---
22
extends: _layouts.documentation
33
title: "Forms"
4-
description: null
54
---
65

7-
@include('_partials.work-in-progress-example')
6+
# Forms
7+
8+
<div class="mt-8">
9+
<div class="bg-blue-lightest border-l-4 border-blue-light rounded-b text-blue-darkest px-4 py-3">
10+
<div class="flex">
11+
<div class="py-1">
12+
<svg class="h-6 w-6 text-blue-light mr-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10 20C4.477 20 0 15.523 0 10S4.477 0 10 0s10 4.477 10 10-4.477 10-10 10zm0-2c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm-.5-5h1c.276 0 .5.224.5.5v1c0 .276-.224.5-.5.5h-1c-.276 0-.5-.224-.5-.5v-1c0-.276.224-.5.5-.5zm0-8h1c.276 0 .5.224.5.5V8l-.5 3-1 .5L9 8V5.5c0-.276.224-.5.5-.5z"/></svg>
13+
</div>
14+
<div>
15+
<p class="font-semibold">Work in progress!</p>
16+
<p class="text-sm">More detailed examples are coming soon.</p>
17+
</div>
18+
</div>
19+
</div>
20+
</div>
821

922
## Login Form
1023

docs/source/docs/examples/navigation.blade.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,23 @@
11
---
22
extends: _layouts.documentation
33
title: "Navigation"
4-
description: null
54
---
65

7-
@include('_partials.work-in-progress-example')
6+
# Navigation
7+
8+
<div class="mt-8">
9+
<div class="bg-blue-lightest border-l-4 border-blue-light rounded-b text-blue-darkest px-4 py-3">
10+
<div class="flex">
11+
<div class="py-1">
12+
<svg class="h-6 w-6 text-blue-light mr-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M10 20C4.477 20 0 15.523 0 10S4.477 0 10 0s10 4.477 10 10-4.477 10-10 10zm0-2c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm-.5-5h1c.276 0 .5.224.5.5v1c0 .276-.224.5-.5.5h-1c-.276 0-.5-.224-.5-.5v-1c0-.276.224-.5.5-.5zm0-8h1c.276 0 .5.224.5.5V8l-.5 3-1 .5L9 8V5.5c0-.276.224-.5.5-.5z"/></svg>
13+
</div>
14+
<div>
15+
<p class="font-semibold">Work in progress!</p>
16+
<p class="text-sm">More detailed examples are coming soon.</p>
17+
</div>
18+
</div>
19+
</div>
20+
</div>
821

922
## Simple
1023

docs/source/docs/extracting-components.blade.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
---
22
extends: _layouts.documentation
33
title: "Extracting Components"
4-
description: null
54
---
65

6+
# Extracting Components
7+
78
Tailwind encourages a "utility-first" workflow, where new designs are initially implemented using only utility classes to avoid premature abstraction.
89

910
While we strongly believe you can get a lot further with just utilities than you might initially expect, **we don't believe that a dogmatic utility*-only* approach is the best way to write CSS.**

docs/source/docs/flexbox-align-content.blade.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
---
22
extends: _layouts.documentation
3-
title: "Align Content"
4-
description: "Utilities for controlling how lines are positioned in multi-line flex containers."
3+
title: "Align Content - Flexbox"
54
---
65

6+
# Align Content
7+
8+
<div class="text-xl text-slate-light mb-4">
9+
Utilities for controlling how lines are positioned in multi-line flex containers.
10+
</div>
11+
712
@include('_partials.feature-badges', [
813
'responsive' => true,
914
'customizable' => false,

docs/source/docs/flexbox-align-items.blade.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
---
22
extends: _layouts.documentation
3-
title: "Align Items"
4-
description: "Utilities for controlling how flex items are positioned along a container's cross axis."
3+
title: "Align Items - Flexbox"
54
---
65

6+
# Align Items
7+
8+
<div class="text-xl text-slate-light mb-4">
9+
Utilities for controlling how flex items are positioned along a container's cross axis.
10+
</div>
11+
712
@include('_partials.feature-badges', [
813
'responsive' => true,
914
'customizable' => false,

docs/source/docs/flexbox-align-self.blade.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
---
22
extends: _layouts.documentation
3-
title: "Align Self"
4-
description: "Utilities for controlling how an individual flex item is positioned along its container's cross axis."
3+
title: "Align Items - Flexbox"
54
---
65

6+
# Align Self
7+
8+
<div class="text-xl text-slate-light mb-4">
9+
Utilities for controlling how an individual flex item is positioned along its container's cross axis.
10+
</div>
11+
712
@include('_partials.feature-badges', [
813
'responsive' => true,
914
'customizable' => false,

0 commit comments

Comments
 (0)