feat: add inline_svg shortcode

This commit is contained in:
st1020 2025-07-20 16:10:11 +08:00
parent b869da36fb
commit 4bfc2728dc
23 changed files with 198 additions and 115 deletions

View file

@ -1,4 +1,4 @@
/*! tailwindcss v4.1.7 | MIT License | https://tailwindcss.com */
/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
@ -712,6 +712,9 @@
.grid {
display: grid;
}
.inline {
display: inline;
}
.aspect-square {
aspect-ratio: 1 / 1;
}
@ -1448,6 +1451,17 @@ article {
}
}
}
figure {
max-width: 100%;
svg {
height: auto;
max-width: 100%;
color-scheme: light !important;
&:where(.dark, .dark *) {
color-scheme: dark !important;
}
}
}
}
.header {
background-color: var(--header);