feat: US-019 - Update global layout tokens and Card/CardHeader component

This commit is contained in:
2026-02-14 20:17:27 +00:00
parent f6463cc4b1
commit 645088bbc1
2 changed files with 12 additions and 12 deletions
+6 -6
View File
@@ -16,7 +16,7 @@ export function Card({ children, full, className, tileId }: CardProps) {
? '1px solid var(--border)'
: '1px solid var(--border-light)',
borderRadius: 'var(--radius)',
padding: '20px',
padding: '24px',
boxShadow: isHovered ? 'var(--shadow-md)' : 'var(--shadow-sm)',
transition: 'box-shadow 0.2s, border-color 0.2s',
gridColumn: full ? '1 / -1' : undefined,
@@ -56,19 +56,19 @@ export function CardHeader({ dotColor, title, rightText }: CardHeaderProps) {
display: 'flex',
alignItems: 'center',
gap: '8px',
marginBottom: '16px',
marginBottom: '18px',
}
const dotStyles: React.CSSProperties = {
width: '8px',
height: '8px',
width: '9px',
height: '9px',
borderRadius: '50%',
backgroundColor: dotColorMap[dotColor],
flexShrink: 0,
}
const titleStyles: React.CSSProperties = {
fontSize: '12px',
fontSize: '13px',
fontWeight: 600,
textTransform: 'uppercase',
letterSpacing: '0.06em',
@@ -76,7 +76,7 @@ export function CardHeader({ dotColor, title, rightText }: CardHeaderProps) {
}
const rightTextStyles: React.CSSProperties = {
fontSize: '10px',
fontSize: '11px',
fontWeight: 400,
textTransform: 'none',
letterSpacing: 'normal',