fix: Viewer not overriding default styles with host-set theme

Added [Tailwind's `@layer` directive](https://tailwindcss.com/docs/adding-custom-styles#using-css-and-layer) to fix specificity overruling
pull/159/head
tycrek 2 years ago
parent 2ae16b5a0c
commit 9055cfeaff
No known key found for this signature in database
GPG Key ID: 25D74F3943625263

@ -2,11 +2,14 @@
@tailwind components;
@tailwind utilities;
.res-media {
@layer base {}
@layer components {
.res-media {
@apply border-l-4 rounded max-h-half-port;
}
}
.link {
.link {
@apply no-underline hover_no-underline active_no-underline visited_no-underline
/* regular, visited */
@ -24,4 +27,7 @@
/* transitions */
ease-linear duration-150 transition-all;
}
}
@layer utilities {}

Loading…
Cancel
Save