feat: icon
This commit is contained in:
parent
63b8c5d8d2
commit
e8ce7b7216
|
|
@ -1,6 +1,20 @@
|
|||
@import "tailwindcss";
|
||||
@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 {
|
||||
@apply prose-h2:first:mt-0 prose-h3:first:mt-0 prose-h4:first:mt-0 prose-h5:first:mt-0;
|
||||
code{
|
||||
|
|
|
|||
Loading…
Reference in New Issue