feat: add Typography EmptyState and Breadcrumbs

This commit is contained in:
maoyingjie
2026-10-22 13:07:13 +08:00
parent bcadbeaf8c
commit e4d817ce55
50 changed files with 3130 additions and 90 deletions
+3
View File
@@ -49,6 +49,7 @@ const groups = [
{ title: "Avatar 头像", url: "/components/avatar" },
{ title: "AvatarGroup 头像组", url: "/components/avatar-group" },
{ title: "Badge 徽章", url: "/components/badge" },
{ title: "Breadcrumbs 面包屑", url: "/components/breadcrumbs" },
{ title: "Button 按钮", url: "/components/button" },
{ title: "Card 卡片", url: "/components/card" },
{ title: "Checkbox 复选框", url: "/components/checkbox" },
@@ -56,6 +57,7 @@ const groups = [
{ title: "Chip 标签", url: "/components/chip" },
{ title: "CloseButton 关闭按钮", url: "/components/close-button" },
{ title: "Description 描述", url: "/components/description" },
{ title: "EmptyState 空状态", url: "/components/empty-state" },
{ title: "FieldError 字段错误", url: "/components/field-error" },
{ title: "Fieldset 字段组", url: "/components/fieldset" },
{ title: "Input 输入框", url: "/components/input" },
@@ -72,6 +74,7 @@ const groups = [
{ title: "Switch 开关", url: "/components/switch" },
{ title: "TextArea 多行文本框", url: "/components/textarea" },
{ title: "TextField 文本输入框", url: "/components/text-field" },
{ title: "Typography 排版", url: "/components/typography" },
],
},
];
+3 -3
View File
@@ -194,7 +194,7 @@ button {
.breadcrumb span {
opacity: 0.5;
}
h1 {
.docs-main > h1 {
font-size: 32px;
font-weight: 600;
line-height: 1.25;
@@ -266,7 +266,7 @@ h1 {
.docs-content h3:hover .header-anchor {
opacity: 1;
}
.docs-content :not(pre) > code {
.docs-content :not(pre) > code:not(:where(.not-prose, .not-prose *)) {
background: var(--default);
border-radius: 5px;
padding: 2px 5px;
@@ -549,7 +549,7 @@ a:focus-visible {
padding: 20px;
min-height: 300px;
}
h1 {
.docs-main > h1 {
font-size: 28px;
}
.variant-card {