Split custom base classes into partials
This commit is contained in:
parent
f12da38a40
commit
d7b39a18e9
|
@ -0,0 +1,5 @@
|
||||||
|
@layer base {
|
||||||
|
iframe {
|
||||||
|
@apply max-w-full
|
||||||
|
}
|
||||||
|
}
|
5
web/themes/custom/opdavies/assets/css/base/forms.pcss
Normal file
5
web/themes/custom/opdavies/assets/css/base/forms.pcss
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
@layer base {
|
||||||
|
input {
|
||||||
|
@apply dark:text-gray-900
|
||||||
|
}
|
||||||
|
}
|
13
web/themes/custom/opdavies/assets/css/base/iframe.pcss
Normal file
13
web/themes/custom/opdavies/assets/css/base/iframe.pcss
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
@layer base {
|
||||||
|
h1, h2, h3 {
|
||||||
|
@apply font-bold
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
@apply text-3xl leading-normal
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
@apply text-2xl leading-normal
|
||||||
|
}
|
||||||
|
}
|
5
web/themes/custom/opdavies/assets/css/base/images.pcss
Normal file
5
web/themes/custom/opdavies/assets/css/base/images.pcss
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
@layer base {
|
||||||
|
img {
|
||||||
|
@apply max-w-full h-auto
|
||||||
|
}
|
||||||
|
}
|
5
web/themes/custom/opdavies/assets/css/base/links.pcss
Normal file
5
web/themes/custom/opdavies/assets/css/base/links.pcss
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
@layer base {
|
||||||
|
a {
|
||||||
|
@apply text-blue-500 no-underline hover:underline
|
||||||
|
}
|
||||||
|
}
|
5
web/themes/custom/opdavies/assets/css/base/tables.pcss
Normal file
5
web/themes/custom/opdavies/assets/css/base/tables.pcss
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
@layer base {
|
||||||
|
th {
|
||||||
|
@apply dark:text-white
|
||||||
|
}
|
||||||
|
}
|
13
web/themes/custom/opdavies/assets/css/base/typography.pcss
Normal file
13
web/themes/custom/opdavies/assets/css/base/typography.pcss
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
@layer base {
|
||||||
|
h1, h2, h3 {
|
||||||
|
@apply font-bold
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
@apply text-3xl leading-normal
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
@apply text-2xl leading-normal
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,35 +0,0 @@
|
||||||
h1, h2, h3 {
|
|
||||||
@apply font-bold
|
|
||||||
}
|
|
||||||
|
|
||||||
h1 {
|
|
||||||
@apply text-3xl leading-normal
|
|
||||||
}
|
|
||||||
|
|
||||||
h2 {
|
|
||||||
@apply text-2xl leading-normal
|
|
||||||
}
|
|
||||||
|
|
||||||
img {
|
|
||||||
@apply max-w-full h-auto
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
@apply text-blue-500 no-underline hover:underline
|
|
||||||
}
|
|
||||||
|
|
||||||
blockquote {
|
|
||||||
@apply pl-5 border-l-4 border-gray-200 italic dark:text-gray-200
|
|
||||||
}
|
|
||||||
|
|
||||||
iframe {
|
|
||||||
@apply max-w-full
|
|
||||||
}
|
|
||||||
|
|
||||||
input {
|
|
||||||
@apply dark:text-gray-900
|
|
||||||
}
|
|
||||||
|
|
||||||
th {
|
|
||||||
@apply dark:text-white
|
|
||||||
}
|
|
|
@ -1,5 +1,5 @@
|
||||||
@import 'tailwindcss/base';
|
@import 'tailwindcss/base';
|
||||||
@import './custom-base.pcss';
|
@import './base/*.pcss';
|
||||||
|
|
||||||
@import 'tailwindcss/components';
|
@import 'tailwindcss/components';
|
||||||
@import './components/*.pcss';
|
@import './components/*.pcss';
|
||||||
|
|
Loading…
Reference in a new issue