Split custom utilities into partials

This commit is contained in:
Oliver Davies 2020-12-11 20:25:38 +00:00
parent d7b39a18e9
commit a7dce26971
4 changed files with 13 additions and 10 deletions
web/themes/custom/opdavies/assets/css

View file

@ -1,9 +0,0 @@
.no-js .js-hidden {
display: none
}
@responsive {
.first-of-type\:mt-0:first-of-type {
@apply mt-0 !important
}
}

View file

@ -7,4 +7,4 @@
@import './libraries/hljs.pcss';
@import 'tailwindcss/utilities';
@import './custom-utilities.pcss';
@import './utilities/*.pcss';

View file

@ -0,0 +1,7 @@
@layer utilities {
@responsive {
.first-of-type\:mt-0:first-of-type {
@apply mt-0 !important
}
}
}

View file

@ -0,0 +1,5 @@
@layer utilities {
.no-js .js-hidden {
display: none
}
}