Skip to content

Commit

Permalink
Move list utilities to very top, fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed Nov 6, 2017
1 parent aee9e3c commit 78d6642
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
60 changes: 30 additions & 30 deletions __tests__/fixtures/tailwind-output.css
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,12 @@ button,
}
}

.list-reset {
list-style: none;
margin: 0;
padding: 0;
}

.appearance-none {
appearance: none;
}
Expand Down Expand Up @@ -3534,18 +3540,18 @@ button,
cursor: not-allowed;
}

.list-reset {
list-style: none;
margin: 0;
padding: 0;
}

.example {
font-weight: 700;
color: #e3342f;
}

@media (min-width: 576px) {
.sm\:list-reset {
list-style: none;
margin: 0;
padding: 0;
}

.sm\:appearance-none {
appearance: none;
}
Expand Down Expand Up @@ -6494,19 +6500,19 @@ button,
cursor: not-allowed;
}

.sm\:list-reset {
list-style: none;
margin: 0;
padding: 0;
}

.sm\:example {
font-weight: 700;
color: #e3342f;
}
}

@media (min-width: 768px) {
.md\:list-reset {
list-style: none;
margin: 0;
padding: 0;
}

.md\:appearance-none {
appearance: none;
}
Expand Down Expand Up @@ -9455,19 +9461,19 @@ button,
cursor: not-allowed;
}

.md\:list-reset {
list-style: none;
margin: 0;
padding: 0;
}

.md\:example {
font-weight: 700;
color: #e3342f;
}
}

@media (min-width: 992px) {
.lg\:list-reset {
list-style: none;
margin: 0;
padding: 0;
}

.lg\:appearance-none {
appearance: none;
}
Expand Down Expand Up @@ -12416,19 +12422,19 @@ button,
cursor: not-allowed;
}

.lg\:list-reset {
list-style: none;
margin: 0;
padding: 0;
}

.lg\:example {
font-weight: 700;
color: #e3342f;
}
}

@media (min-width: 1200px) {
.xl\:list-reset {
list-style: none;
margin: 0;
padding: 0;
}

.xl\:appearance-none {
appearance: none;
}
Expand Down Expand Up @@ -15377,12 +15383,6 @@ button,
cursor: not-allowed;
}

.xl\:list-reset {
list-style: none;
margin: 0;
padding: 0;
}

.xl\:example {
font-weight: 700;
color: #e3342f;
Expand Down
2 changes: 1 addition & 1 deletion src/lib/generateUtilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ export default function(config) {
css.walkAtRules('tailwind', atRule => {
if (atRule.params === 'utilities') {
const utilities = _.flatten([
forms(options),
lists(options),
forms(options),
textSizes(options),
textWeights(options),
textFonts(options),
Expand Down

0 comments on commit 78d6642

Please sign in to comment.