Last active
April 1, 2016 12:09
-
-
Save martindrzka/fc205315d2a081a1ac1b to your computer and use it in GitHub Desktop.
PostCSS Sorting settings for Sublime Text settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
//"sort-order": "default", | |
"sort-order": [ | |
[ "$variable" ], | |
[ "@extend", | |
"@mixin" | |
], | |
[ "content" ], | |
[ "position", | |
"z-index", | |
"top", | |
"right", | |
"bottom", | |
"left", | |
"display", | |
"visibility", | |
"flex", | |
"flex-grow", | |
"flex-shrink", | |
"flex-basis", | |
"flex-direction", | |
"flex-flow", | |
"flex-wrap", | |
"align-content", | |
"align-items", | |
"align-self", | |
"justify-content", | |
"order", | |
"float", | |
"clear", | |
"overflow", | |
"overflow-x", | |
"overflow-y", | |
"-webkit-overflow-scrolling", | |
"clip", | |
"box-sizing", | |
"margin", | |
"margin-top", | |
"margin-right", | |
"margin-bottom", | |
"margin-left", | |
"padding", | |
"padding-top", | |
"padding-right", | |
"padding-bottom", | |
"padding-left", | |
"min-width", | |
"min-height", | |
"max-width", | |
"max-height", | |
"width", | |
"height", | |
], | |
[ "color", | |
"font", | |
"font-family", | |
"font-weight", | |
"font-style", | |
"font-variant", | |
"font-size-adjust", | |
"font-stretch", | |
"font-size", | |
"letter-spacing", | |
"line-height", | |
"hyphens", | |
"text-align", | |
"text-align-last", | |
"text-decoration", | |
"text-emphasis", | |
"text-emphasis-position", | |
"text-emphasis-style", | |
"text-emphasis-color", | |
"text-indent", | |
"text-justify", | |
"text-outline", | |
"text-transform", | |
"text-wrap", | |
"text-overflow", | |
"text-overflow-ellipsis", | |
"text-overflow-mode", | |
"text-shadow", | |
"white-space", | |
"word-spacing", | |
"word-wrap", | |
"word-break", | |
"direction", | |
"outline", | |
"outline-width", | |
"outline-style", | |
"outline-color", | |
"outline-offset", | |
"border", | |
"border-spacing", | |
"border-collapse", | |
"border-width", | |
"border-style", | |
"border-color", | |
"border-top", | |
"border-top-width", | |
"border-top-style", | |
"border-top-color", | |
"border-right", | |
"border-right-width", | |
"border-right-style", | |
"border-right-color", | |
"border-bottom", | |
"border-bottom-width", | |
"border-bottom-style", | |
"border-bottom-color", | |
"border-left", | |
"border-left-width", | |
"border-left-style", | |
"border-left-color", | |
"border-radius", | |
"border-top-left-radius", | |
"border-top-right-radius", | |
"border-bottom-right-radius", | |
"border-bottom-left-radius", | |
"border-image", | |
"border-image-source", | |
"border-image-slice", | |
"border-image-width", | |
"border-image-outset", | |
"border-image-repeat", | |
"border-top-image", | |
"border-right-image", | |
"border-bottom-image", | |
"border-left-image", | |
"border-corner-image", | |
"border-top-left-image", | |
"border-top-right-image", | |
"border-bottom-right-image", | |
"border-bottom-left-image", | |
"background", | |
"filter:progid:DXImageTransform.Microsoft.AlphaImageLoader", | |
"background-color", | |
"background-image", | |
"background-attachment", | |
"background-position", | |
"background-position-x", | |
"background-position-y", | |
"background-clip", | |
"background-origin", | |
"background-size", | |
"background-repeat", | |
"box-decoration-break", | |
"box-shadow", | |
"table-layout", | |
"caption-side", | |
"empty-cells", | |
"list-style", | |
"list-style-position", | |
"list-style-type", | |
"list-style-image", | |
"quotes", | |
"counter-increment", | |
"counter-reset", | |
"-ms-writing-mode", | |
"vertical-align", | |
"tab-size", | |
"src", | |
"filter", | |
"resize", | |
"cursor", | |
"nav-index", | |
"nav-up", | |
"nav-right", | |
"nav-down", | |
"nav-left", | |
"pointer-events", | |
"unicode-bidi", | |
"columns", | |
"column-span", | |
"column-width", | |
"column-count", | |
"column-fill", | |
"column-gap", | |
"column-rule", | |
"column-rule-width", | |
"column-rule-style", | |
"column-rule-color", | |
"break-before", | |
"break-inside", | |
"break-after", | |
"page-break-before", | |
"page-break-inside", | |
"page-break-after", | |
"orphans", | |
"widows", | |
"zoom", | |
"max-zoom", | |
"min-zoom", | |
"user-zoom", | |
"orientation", | |
"user-select", | |
"fill", | |
"stroke", | |
"..." | |
], | |
[ "opacity", | |
"transition", | |
"transition-delay", | |
"transition-timing-function", | |
"transition-duration", | |
"transition-property", | |
"transform", | |
"transform-origin", | |
"animation", | |
"animation-name", | |
"animation-duration", | |
"animation-play-state", | |
"animation-timing-function", | |
"animation-delay", | |
"animation-iteration-count", | |
"animation-direction", | |
"animation-fill-mode", | |
], | |
[ ">child" ] | |
], | |
// Set true to sort on save every file with supported syntax | |
"sort-on-save": false | |
} | |
// Please visit https://github.com/hudochenkov/postcss-sorting for all rules and predefined configs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment