feat(ui): refine gem-blue acrylic palette and focus borders
Derive the gem-blue palette with OKLCH tonal and complementary-color rules while preserving acrylic opacity, blur and surface hierarchy. Darker focus tokens exposed stacked field rings, fallback outlines and persistent basemap selection rings. Keep fallback focus styles in the base layer and use one themed field boundary or inset card stroke. Preserve keyboard focus, invalid states and native input semantics. Add browser regression coverage for pointer and keyboard focus, all basemap presentations, narrow layouts and rendered contrast. Validation in an isolated checkout: pnpm lint, pnpm typecheck, pnpm test (393 tests), focused browser suites and pnpm build.
This commit is contained in:
@@ -450,7 +450,7 @@ function LegendPanel({ legendItems }: { legendItems: MapLegendItem[] }) {
|
||||
<MapLegendList items={legendItems} />
|
||||
<div role="note" className="surface-control rounded-xl border px-3 py-2.5">
|
||||
<p className="text-[11px] font-semibold text-slate-700">图例随图层显隐同步</p>
|
||||
<p className="mt-1 text-[10px] leading-relaxed text-slate-500">
|
||||
<p className="mt-1 text-[10px] leading-relaxed text-[var(--ink-muted)]">
|
||||
管线颜色和线宽表示口径,设施颜色表示类型,风险色仅用于分析覆盖。
|
||||
</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user