mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-08-22 16:16:41 +00:00
refactor(design): align typography, colors, and card surfaces to DESIGN.md (#859)
* refactor(design): align surface tokens to DESIGN.md §2 * refactor(design): canonicalize tracked-mono kickers and display rungs * refactor(design): collapse to five-slot palette and align card surfaces
This commit is contained in:
@@ -37,7 +37,7 @@ type LevelConfig = {
|
||||
};
|
||||
|
||||
const LEVEL_CONFIG: Record<NotificationItem['level'], LevelConfig> = {
|
||||
info: { icon: Info, iconClass: 'text-info', railClass: 'bg-info' },
|
||||
info: { icon: Info, iconClass: 'text-brand', railClass: 'bg-brand' },
|
||||
warning: { icon: AlertTriangle, iconClass: 'text-warning', railClass: 'bg-warning' },
|
||||
error: { icon: AlertOctagon, iconClass: 'text-destructive', railClass: 'bg-destructive' },
|
||||
};
|
||||
@@ -220,7 +220,7 @@ export function NotificationPanel({
|
||||
Notifications
|
||||
</span>
|
||||
{unreadCount > 0 ? (
|
||||
<span className="font-mono text-[11px] uppercase tracking-[0.14em] tabular-nums text-brand">
|
||||
<span className="font-mono text-[10px] leading-3 uppercase tracking-[0.18em] tabular-nums text-brand">
|
||||
{unreadCount} unread
|
||||
</span>
|
||||
) : null}
|
||||
|
||||
Reference in New Issue
Block a user