feat: update tailwindcss to v4

This commit is contained in:
st1020 2025-05-22 21:03:59 +08:00
parent 7b9affd848
commit 9bd80c84cc
15 changed files with 2392 additions and 2790 deletions

View file

@ -2,10 +2,10 @@
<div class="mb-16 flex items-start">
{% if config.extra.profile.avatar_url %}
<div
class="not-prose mr-5 shrink-0 rounded-full border-[0.5px] border-black/10 bg-white/50 p-3 shadow dark:bg-white/[15%]"
class="not-prose mr-5 shrink-0 rounded-full border-[0.5px] border-black/10 bg-white/50 p-3 shadow-sm dark:bg-white/10"
>
<img
class="{% if config.extra.profile.avatar_invert %}dark:invert{% endif %} my-0 aspect-square w-16 rounded-full !bg-black/5 hover:animate-spin"
class="{% if config.extra.profile.avatar_invert %}dark:invert{% endif %} my-0 aspect-square w-16 rounded-full bg-black/5! hover:animate-spin"
src="{{ get_url(path=config.extra.profile.avatar_url) }}"
alt="{{ config.extra.profile.name | default(value=config.title) }}"
/>
@ -23,7 +23,7 @@
<nav class="flex justify-start space-x-3 dark:invert">
{% for social in config.extra.profile.social %}
<a
class="primary-link h-8 w-8 text-[0] [background:var(--url)_center_center/cover_no-repeat]"
class="primary-link h-8 w-8 text-[0px] [background:var(--url)_center_center/cover_no-repeat]"
style="--url: url({{ macros::get_social_icon(icon=social.name) }})"
href="{{ social.url | replace(from=`$BASE_URL`, to=config.base_url) | safe }}"
target="_blank"