From 21c93fa73a49796628522a6328122a488718652a Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Tue, 31 Oct 2017 16:18:54 -0400 Subject: [PATCH 1/2] Add remaining WIP banners --- docs/source/_layouts/documentation.blade.php | 9 +-- .../_partials/work-in-progress.blade.php | 2 +- docs/source/docs/cursor.blade.md | 15 +++-- docs/source/docs/examples/alerts.blade.md | 26 +++---- docs/source/docs/examples/buttons.blade.md | 34 ++++------ docs/source/docs/examples/cards.blade.md | 14 +++- docs/source/docs/font-weight.blade.md | 2 + docs/source/docs/fonts.blade.md | 2 + docs/source/docs/letter-spacing.blade.md | 2 + docs/source/docs/line-height.blade.md | 2 + docs/source/docs/lists.blade.md | 15 +++-- docs/source/docs/margin.blade.md | 66 ------------------ docs/source/docs/padding.blade.md | 67 ------------------- docs/source/docs/pointer-events.blade.md | 15 +++-- docs/source/docs/resize.blade.md | 15 +++-- ...ative-margin.blade.md => spacing.blade.md} | 43 ++++-------- docs/source/docs/svg.blade.md | 15 +++-- docs/source/docs/text-color.blade.md | 2 + docs/source/docs/text-sizing.blade.md | 2 + docs/source/docs/text-style.blade.md | 2 + docs/source/docs/user-select.blade.md | 15 +++-- docs/source/docs/vertical-alignment.blade.md | 34 +--------- .../docs/whitespace-and-wrapping.blade.md | 2 + 23 files changed, 134 insertions(+), 267 deletions(-) delete mode 100644 docs/source/docs/margin.blade.md delete mode 100644 docs/source/docs/padding.blade.md rename docs/source/docs/{negative-margin.blade.md => spacing.blade.md} (72%) diff --git a/docs/source/_layouts/documentation.blade.php b/docs/source/_layouts/documentation.blade.php index 99f93fae5..26bb82c55 100644 --- a/docs/source/_layouts/documentation.blade.php +++ b/docs/source/_layouts/documentation.blade.php @@ -124,14 +124,7 @@
  • Max-Height
  • -
  • - Spacing - -
  • +
  • Spacing
  • SVG
  • Typography diff --git a/docs/source/_partials/work-in-progress.blade.php b/docs/source/_partials/work-in-progress.blade.php index c51275e8b..e55472202 100644 --- a/docs/source/_partials/work-in-progress.blade.php +++ b/docs/source/_partials/work-in-progress.blade.php @@ -5,7 +5,7 @@

    Work in progress!

    -

    More detailed documentation is coming soon, but in the mean time here's a quick class reference.

    +

    More detailed documentation is coming soon, but in the mean time here's a quick reference.

    diff --git a/docs/source/docs/cursor.blade.md b/docs/source/docs/cursor.blade.md index a753ef631..388e6a007 100644 --- a/docs/source/docs/cursor.blade.md +++ b/docs/source/docs/cursor.blade.md @@ -5,8 +5,15 @@ title: "Cursor" # Cursor - @endcomponent ---- - ### Left Accent Border @component('_partials.code-sample', ['lang' => 'html']) @@ -31,8 +39,6 @@ Here's a bunch of examples: @endcomponent ---- - ### Titled @component('_partials.code-sample', ['lang' => 'html']) @@ -46,8 +52,6 @@ Here's a bunch of examples: @endcomponent ---- - ### Solid @component('_partials.code-sample', ['lang' => 'html']) @@ -59,8 +63,6 @@ Here's a bunch of examples: @endcomponent ---- - ### Top Accent Border @component('_partials.code-sample', ['lang' => 'html']) @@ -75,8 +77,6 @@ Here's a bunch of examples: @endcomponent ---- - ### Banner @component('_partials.code-sample', ['lang' => 'html']) diff --git a/docs/source/docs/examples/buttons.blade.md b/docs/source/docs/examples/buttons.blade.md index 02483538d..d25fa3d55 100644 --- a/docs/source/docs/examples/buttons.blade.md +++ b/docs/source/docs/examples/buttons.blade.md @@ -5,11 +5,19 @@ title: "Buttons" # Buttons -We don't ship any default button components because every app has it's own visual style and Tailwind tries to be as unopinionated as possible about how your project should look. - -That said, buttons are easy to build by combining utility classes. - -Here's a bunch of examples: +
    +
    +
    +
    + +
    +
    +

    Work in progress!

    +

    More detailed documentation is coming soon, but in the mean time here's a bunch of quick examples.

    +
    +
    +
    +
    ### Simple @@ -43,8 +51,6 @@ Here's a bunch of examples: @endslot @endcomponent ---- - ### Pill @component('_partials.code-sample', ['lang' => 'html', 'class' => 'text-center']) @@ -53,8 +59,6 @@ Here's a bunch of examples: @endcomponent ---- - ### Outline @component('_partials.code-sample', ['lang' => 'html', 'class' => 'text-center']) @@ -63,8 +67,6 @@ Here's a bunch of examples: @endcomponent ---- - ### Bordered @component('_partials.code-sample', ['lang' => 'html', 'class' => 'text-center']) @@ -73,8 +75,6 @@ Here's a bunch of examples: @endcomponent ---- - ### Disabled @component('_partials.code-sample', ['lang' => 'html', 'class' => 'text-center']) @@ -83,8 +83,6 @@ Here's a bunch of examples: @endcomponent ---- - ### 3D @component('_partials.code-sample', ['lang' => 'html', 'class' => 'text-center']) @@ -93,8 +91,6 @@ Here's a bunch of examples: @endcomponent ---- - ### Elevated @component('_partials.code-sample', ['lang' => 'html', 'class' => 'text-center']) @@ -103,8 +99,6 @@ Here's a bunch of examples: @endcomponent ---- - ### Button Groups @component('_partials.code-sample', ['lang' => 'html', 'class' => 'text-center']) @@ -118,8 +112,6 @@ Here's a bunch of examples: @endcomponent ---- - ### w/Icon @component('_partials.code-sample', ['lang' => 'html', 'class' => 'text-center']) diff --git a/docs/source/docs/examples/cards.blade.md b/docs/source/docs/examples/cards.blade.md index 3de0bb2a7..685a174e7 100644 --- a/docs/source/docs/examples/cards.blade.md +++ b/docs/source/docs/examples/cards.blade.md @@ -5,7 +5,19 @@ title: "Cards" # Cards -We don't ship alert components because every app has it's own visual style, but they are easy af to make. +
    +
    +
    +
    + +
    +
    +

    Work in progress!

    +

    More detailed examples are coming soon.

    +
    +
    +
    +
    ## Classic card example diff --git a/docs/source/docs/font-weight.blade.md b/docs/source/docs/font-weight.blade.md index 1475cf185..5465de0d1 100644 --- a/docs/source/docs/font-weight.blade.md +++ b/docs/source/docs/font-weight.blade.md @@ -16,6 +16,8 @@ title: "Font Weight" 'focus' => false ]) +@include('_partials.work-in-progress') +
    diff --git a/docs/source/docs/fonts.blade.md b/docs/source/docs/fonts.blade.md index 1a711f946..d1a930d30 100644 --- a/docs/source/docs/fonts.blade.md +++ b/docs/source/docs/fonts.blade.md @@ -16,6 +16,8 @@ title: "Font Families" 'focus' => false ]) +@include('_partials.work-in-progress') +
    diff --git a/docs/source/docs/letter-spacing.blade.md b/docs/source/docs/letter-spacing.blade.md index 31a6bf6e3..6d0e83106 100644 --- a/docs/source/docs/letter-spacing.blade.md +++ b/docs/source/docs/letter-spacing.blade.md @@ -16,6 +16,8 @@ title: "Letter Spacing" 'focus' => false ]) +@include('_partials.work-in-progress') +
    diff --git a/docs/source/docs/line-height.blade.md b/docs/source/docs/line-height.blade.md index 4e8db2e39..5ee00342d 100644 --- a/docs/source/docs/line-height.blade.md +++ b/docs/source/docs/line-height.blade.md @@ -16,6 +16,8 @@ title: "Line Height" 'focus' => false ]) +@include('_partials.work-in-progress') +
    diff --git a/docs/source/docs/lists.blade.md b/docs/source/docs/lists.blade.md index 471e78b69..60a6c7e95 100644 --- a/docs/source/docs/lists.blade.md +++ b/docs/source/docs/lists.blade.md @@ -5,12 +5,15 @@ title: "Lists" # Lists -
    diff --git a/docs/source/docs/text-sizing.blade.md b/docs/source/docs/text-sizing.blade.md index 9e6d116ca..82e41f922 100644 --- a/docs/source/docs/text-sizing.blade.md +++ b/docs/source/docs/text-sizing.blade.md @@ -16,6 +16,8 @@ title: "Text Sizing" 'focus' => false ]) +@include('_partials.work-in-progress') +
    diff --git a/docs/source/docs/text-style.blade.md b/docs/source/docs/text-style.blade.md index e2b27a7c9..5d5118a55 100644 --- a/docs/source/docs/text-style.blade.md +++ b/docs/source/docs/text-style.blade.md @@ -16,6 +16,8 @@ title: "Style & Decoration" 'focus' => false ]) +@include('_partials.work-in-progress') +
    diff --git a/docs/source/docs/user-select.blade.md b/docs/source/docs/user-select.blade.md index 5c8822d82..79af38321 100644 --- a/docs/source/docs/user-select.blade.md +++ b/docs/source/docs/user-select.blade.md @@ -5,8 +5,15 @@ title: "User Select" # User Select -
    @@ -64,35 +66,3 @@ title: "Vertical Alignment"
    - -### Tables - -@component('_partials.code-sample') - - - - - -
    Baseline text - Top-aligned text - Middle-aligned text - Bottom-aligned text -
    -@endcomponent - - -### Inline-block Elements - -@component('_partials.code-sample') -
    - - - -
    -@endcomponent diff --git a/docs/source/docs/whitespace-and-wrapping.blade.md b/docs/source/docs/whitespace-and-wrapping.blade.md index 80a618d23..1d846aa75 100644 --- a/docs/source/docs/whitespace-and-wrapping.blade.md +++ b/docs/source/docs/whitespace-and-wrapping.blade.md @@ -16,6 +16,8 @@ title: "Whitespace & Wrapping" 'focus' => false ]) +@include('_partials.work-in-progress') +
    From a918ac7c2e22b85ea26c79d4d5ff9a0166bd5d67 Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Tue, 31 Oct 2017 16:19:48 -0400 Subject: [PATCH 2/2] Bigger lead text --- docs/source/docs/what-is-tailwind.blade.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/docs/what-is-tailwind.blade.md b/docs/source/docs/what-is-tailwind.blade.md index 2c1ad4657..3950b40fd 100644 --- a/docs/source/docs/what-is-tailwind.blade.md +++ b/docs/source/docs/what-is-tailwind.blade.md @@ -5,9 +5,9 @@ title: "What is Tailwind?" # What is Tailwind? -
    +

    - Tailwind is a CSS framework for rapidly building custom user interfaces. + Tailwind is a utility-first CSS framework for rapidly building custom user interfaces.