Skip to content

Commit

Permalink
renamed to prose (#2574)
Browse files Browse the repository at this point in the history
  • Loading branch information
Soviut authored Oct 22, 2020
1 parent 4967dd0 commit 923e7af
Show file tree
Hide file tree
Showing 5 changed files with 97 additions and 0 deletions.
24 changes: 24 additions & 0 deletions __tests__/fixtures/tailwind-output-flagged.css
Original file line number Diff line number Diff line change
Expand Up @@ -12141,6 +12141,10 @@ video {
max-width: max-content;
}

.max-w-prose {
max-width: 65ch;
}

.max-w-screen-sm {
max-width: 640px;
}
Expand Down Expand Up @@ -35117,6 +35121,10 @@ video {
max-width: max-content;
}

.sm\:max-w-prose {
max-width: 65ch;
}

.sm\:max-w-screen-sm {
max-width: 640px;
}
Expand Down Expand Up @@ -58063,6 +58071,10 @@ video {
max-width: max-content;
}

.md\:max-w-prose {
max-width: 65ch;
}

.md\:max-w-screen-sm {
max-width: 640px;
}
Expand Down Expand Up @@ -81009,6 +81021,10 @@ video {
max-width: max-content;
}

.lg\:max-w-prose {
max-width: 65ch;
}

.lg\:max-w-screen-sm {
max-width: 640px;
}
Expand Down Expand Up @@ -103955,6 +103971,10 @@ video {
max-width: max-content;
}

.xl\:max-w-prose {
max-width: 65ch;
}

.xl\:max-w-screen-sm {
max-width: 640px;
}
Expand Down Expand Up @@ -126901,6 +126921,10 @@ video {
max-width: max-content;
}

.\32xl\:max-w-prose {
max-width: 65ch;
}

.\32xl\:max-w-screen-sm {
max-width: 640px;
}
Expand Down
24 changes: 24 additions & 0 deletions __tests__/fixtures/tailwind-output-important.css
Original file line number Diff line number Diff line change
Expand Up @@ -12141,6 +12141,10 @@ video {
max-width: max-content !important;
}

.max-w-prose {
max-width: 65ch !important;
}

.max-w-screen-sm {
max-width: 640px !important;
}
Expand Down Expand Up @@ -35117,6 +35121,10 @@ video {
max-width: max-content !important;
}

.sm\:max-w-prose {
max-width: 65ch !important;
}

.sm\:max-w-screen-sm {
max-width: 640px !important;
}
Expand Down Expand Up @@ -58063,6 +58071,10 @@ video {
max-width: max-content !important;
}

.md\:max-w-prose {
max-width: 65ch !important;
}

.md\:max-w-screen-sm {
max-width: 640px !important;
}
Expand Down Expand Up @@ -81009,6 +81021,10 @@ video {
max-width: max-content !important;
}

.lg\:max-w-prose {
max-width: 65ch !important;
}

.lg\:max-w-screen-sm {
max-width: 640px !important;
}
Expand Down Expand Up @@ -103955,6 +103971,10 @@ video {
max-width: max-content !important;
}

.xl\:max-w-prose {
max-width: 65ch !important;
}

.xl\:max-w-screen-sm {
max-width: 640px !important;
}
Expand Down Expand Up @@ -126901,6 +126921,10 @@ video {
max-width: max-content !important;
}

.\32xl\:max-w-prose {
max-width: 65ch !important;
}

.\32xl\:max-w-screen-sm {
max-width: 640px !important;
}
Expand Down
24 changes: 24 additions & 0 deletions __tests__/fixtures/tailwind-output-no-color-opacity.css
Original file line number Diff line number Diff line change
Expand Up @@ -11025,6 +11025,10 @@ video {
max-width: max-content;
}

.max-w-prose {
max-width: 65ch;
}

.max-w-screen-sm {
max-width: 640px;
}
Expand Down Expand Up @@ -32141,6 +32145,10 @@ video {
max-width: max-content;
}

.sm\:max-w-prose {
max-width: 65ch;
}

.sm\:max-w-screen-sm {
max-width: 640px;
}
Expand Down Expand Up @@ -53227,6 +53235,10 @@ video {
max-width: max-content;
}

.md\:max-w-prose {
max-width: 65ch;
}

.md\:max-w-screen-sm {
max-width: 640px;
}
Expand Down Expand Up @@ -74313,6 +74325,10 @@ video {
max-width: max-content;
}

.lg\:max-w-prose {
max-width: 65ch;
}

.lg\:max-w-screen-sm {
max-width: 640px;
}
Expand Down Expand Up @@ -95399,6 +95415,10 @@ video {
max-width: max-content;
}

.xl\:max-w-prose {
max-width: 65ch;
}

.xl\:max-w-screen-sm {
max-width: 640px;
}
Expand Down Expand Up @@ -116485,6 +116505,10 @@ video {
max-width: max-content;
}

.\32xl\:max-w-prose {
max-width: 65ch;
}

.\32xl\:max-w-screen-sm {
max-width: 640px;
}
Expand Down
24 changes: 24 additions & 0 deletions __tests__/fixtures/tailwind-output.css
Original file line number Diff line number Diff line change
Expand Up @@ -12141,6 +12141,10 @@ video {
max-width: max-content;
}

.max-w-prose {
max-width: 65ch;
}

.max-w-screen-sm {
max-width: 640px;
}
Expand Down Expand Up @@ -35117,6 +35121,10 @@ video {
max-width: max-content;
}

.sm\:max-w-prose {
max-width: 65ch;
}

.sm\:max-w-screen-sm {
max-width: 640px;
}
Expand Down Expand Up @@ -58063,6 +58071,10 @@ video {
max-width: max-content;
}

.md\:max-w-prose {
max-width: 65ch;
}

.md\:max-w-screen-sm {
max-width: 640px;
}
Expand Down Expand Up @@ -81009,6 +81021,10 @@ video {
max-width: max-content;
}

.lg\:max-w-prose {
max-width: 65ch;
}

.lg\:max-w-screen-sm {
max-width: 640px;
}
Expand Down Expand Up @@ -103955,6 +103971,10 @@ video {
max-width: max-content;
}

.xl\:max-w-prose {
max-width: 65ch;
}

.xl\:max-w-screen-sm {
max-width: 640px;
}
Expand Down Expand Up @@ -126901,6 +126921,10 @@ video {
max-width: max-content;
}

.\32xl\:max-w-prose {
max-width: 65ch;
}

.\32xl\:max-w-screen-sm {
max-width: 640px;
}
Expand Down
1 change: 1 addition & 0 deletions stubs/defaultConfig.stub.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ module.exports = {
full: '100%',
min: 'min-content',
max: 'max-content',
prose: '65ch',
...breakpoints(theme('screens')),
}),
minHeight: {
Expand Down

0 comments on commit 923e7af

Please sign in to comment.