@zmzai/theme 0.9.5 → 0.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
* · page 一律 text-2xl + 内联图标,不再区分公开页与控制台
|
|
14
14
|
* · 图标取 currentColor,不引入新色;hero 徽章用 accent 载体(墨底白图)
|
|
15
15
|
* · 描述统一 text-sm text-ink-2 —— ink-3 只有 3.69:1,副文案不用它
|
|
16
|
+
*
|
|
17
|
+
* v0.9.5 追加 centered(居中 Hero,/quill 首页用)。
|
|
16
18
|
*/
|
|
17
19
|
|
|
18
20
|
import type { ReactNode } from "react";
|
|
@@ -95,7 +97,7 @@ export function PageHeader({
|
|
|
95
97
|
{eyebrow}
|
|
96
98
|
</small>
|
|
97
99
|
) : null}
|
|
98
|
-
<div className="flex items-center gap-2">
|
|
100
|
+
<div className="flex min-w-0 items-center gap-2">
|
|
99
101
|
{icon ? <Icon name={icon} size={20} className="shrink-0 text-ink" /> : null}
|
|
100
102
|
<h1
|
|
101
103
|
className={`font-serif text-2xl font-semibold tracking-tight text-ink ${titleClassName}`}
|
package/src/tokens/theme.css
CHANGED