Skip to content
Snippets Groups Projects
Commit d280da35 authored by xaralis's avatar xaralis
Browse files

Expose .copyleft, whitelist few classes

parent bdaadade
No related branches found
No related tags found
No related merge requests found
...@@ -101,7 +101,11 @@ a.icon-link:hover { ...@@ -101,7 +101,11 @@ a.icon-link:hover {
@apply hidden; @apply hidden;
} }
/** .copyleft {
* Custom utilities transform: matrix(-1, 0, 0, 1, 0, 0) !important;
*/ }
@import "./utils.pcss";
.inline-block-nogap {
/* Avoid gaps between inline-block elements */
font-size: 0;
}
.copyleft {
transform: matrix(-1, 0, 0, 1, 0, 0) !important;
}
.inline-block-nogap {
/* Avoid gaps between inline-block elements */
font-size: 0;
}
...@@ -17,17 +17,22 @@ module.exports = { ...@@ -17,17 +17,22 @@ module.exports = {
options: { options: {
whitelistPatterns: [ whitelistPatterns: [
/^((sm|md|lg|xl)\:)?w-\d\d?/, /^((sm|md|lg|xl)\:)?w-\d\d?/,
/^((sm|md|lg|xl)\:)?w-screen/,
/^((sm|md|lg|xl)\:)?h-\d\d?/, /^((sm|md|lg|xl)\:)?h-\d\d?/,
/^((sm|md|lg|xl)\:)?h-screen/,
/^((sm|md|lg|xl)\:)?m.?-\d\d?/, /^((sm|md|lg|xl)\:)?m.?-\d\d?/,
/^((sm|md|lg|xl)\:)?m.?-auto?/,
/^((sm|md|lg|xl)\:)?p.?-\d\d?/, /^((sm|md|lg|xl)\:)?p.?-\d\d?/,
/^((sm|md|lg|xl)\:)?grid-cols-*/, /^((sm|md|lg|xl)\:)?grid-cols-*/,
/^((sm|md|lg|xl)\:)?col-span-*/, /^((sm|md|lg|xl)\:)?col-span-*/,
/^((sm|md|lg|xl)\:)?row-span-*/, /^((sm|md|lg|xl)\:)?row-span-*/,
/^((sm|md|lg|xl)\:)?grid-flow-*/, // grid flow /^((sm|md|lg|xl)\:)?float-*/,
/^((sm|md|lg|xl)\:)?grid-flow-*/,
/^((sm|md|lg|xl)\:)?head-*/, /^((sm|md|lg|xl)\:)?head-*/,
/^((sm|md|lg|xl)\:)?clearfix/,
/^text-*/, /^text-*/,
/^max-w-*/, // maximum width /^max-w-*/,
/ico--*/, // icons /ico--*/,
], ],
} }
}, },
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment