style(empty-state): 配图加圆角,暗色模式降低亮度

- rounded-lg 圆角(= 项目的 --radius-paper 8px)
- dark:brightness-90 滤镜,让彩色配图在暗色主题下退后一些
This commit is contained in:
xfy 2026-06-25 13:48:46 +08:00
parent cfd2af1fab
commit df85df3d2e

View File

@ -38,7 +38,7 @@ pub fn EmptyState(
div { class: "flex flex-col items-center justify-center text-center py-20 px-4 page-enter", div { class: "flex flex-col items-center justify-center text-center py-20 px-4 page-enter",
// 配图:线条小狗(双手持相机,取景器内两只小狗)。 // 配图:线条小狗(双手持相机,取景器内两只小狗)。
img { img {
class: "w-48 h-auto select-none", class: "w-48 h-auto rounded-lg select-none dark:brightness-90",
src: "/images/xiaotiaoxiaogou_01.webp", src: "/images/xiaotiaoxiaogou_01.webp",
alt: "线条小狗插画", alt: "线条小狗插画",
draggable: "false", draggable: "false",