feat: icon
This commit is contained in:
@@ -1,6 +1,20 @@
|
|||||||
@import "tailwindcss";
|
@import "tailwindcss";
|
||||||
@plugin "@tailwindcss/typography";
|
@plugin "@tailwindcss/typography";
|
||||||
|
|
||||||
|
/* icon */
|
||||||
|
icon{
|
||||||
|
@apply inline-block;
|
||||||
|
width: 1em;
|
||||||
|
height: 1em;
|
||||||
|
--icon-src: '';
|
||||||
|
background: var(--icon-src);
|
||||||
|
background-size: contain;
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* prose */
|
||||||
|
|
||||||
@utility prose {
|
@utility prose {
|
||||||
@apply prose-h2:first:mt-0 prose-h3:first:mt-0 prose-h4:first:mt-0 prose-h5:first:mt-0;
|
@apply prose-h2:first:mt-0 prose-h3:first:mt-0 prose-h4:first:mt-0 prose-h5:first:mt-0;
|
||||||
code{
|
code{
|
||||||
|
|||||||
Reference in New Issue
Block a user