feat(input): expand Araso Han/Eng contractions, acronyms, typo recovery, and fast cursor-tail replacement

This commit is contained in:
Yun Chan 2026-10-28 10:41:26 +09:00
parent 51bf664302
commit f403111256
80 changed files with 1449 additions and 458 deletions

View file

@ -58,7 +58,7 @@ function HeaderBar(): React.ReactElement {
FAIL-CLOSED SANDBOX
</TactileBadge>
</Box>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim, letterSpacing: '0.04em', mt: 0.25 }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim, letterSpacing: 0, mt: 0.25 }}>
Mediation waterfall roster, rewarded token grants, network integration state
</Typography>
</Box>
@ -95,7 +95,7 @@ function RewardKpis({ stats }: { stats: AdRewardStats }): React.ReactElement {
{cards.map((card) => (
<Box key={card.title} sx={{ ...panelSx, p: 2.5 }}>
<Typography
sx={{ fontFamily: FONT_SANS, fontSize: '11px', color: C.dim, mb: 1, textTransform: 'uppercase', letterSpacing: '0.08em' }}
sx={{ fontFamily: FONT_SANS, fontSize: '11px', fontWeight: 500, color: C.dim, mb: 1, letterSpacing: 0 }}
>
{card.title}
</Typography>

View file

@ -99,7 +99,7 @@ export default async function AuditLogPage({ searchParams }: PageProps): Promise
fontFamily: FONT_MONO,
fontSize: '11px',
color: C.dim,
letterSpacing: '0.04em',
letterSpacing: 0,
mt: 0.25,
}}
>

View file

@ -372,7 +372,7 @@ export default function ServiceModelsPage(): React.ReactElement {
fontFamily: FONT_MONO,
fontSize: '11px',
color: C.dim,
letterSpacing: '0.04em',
letterSpacing: 0,
mt: 0.25,
}}
>
@ -457,7 +457,7 @@ export default function ServiceModelsPage(): React.ReactElement {
width: 44,
height: 44,
borderRadius: '12px',
bgcolor: 'var(--d3-tag-cyan)',
bgcolor: 'var(--d3-tag-cyanBg)',
border: '1px solid var(--d3-tag-cyan)',
display: 'flex',
alignItems: 'center',
@ -483,7 +483,7 @@ export default function ServiceModelsPage(): React.ReactElement {
</Box>
<Box sx={{ display: 'flex', alignItems: 'center', gap: 2 }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.cyanLight, bgcolor: 'var(--d3-tag-cyan)', px: 1.5, py: 0.75, borderRadius: '8px', border: `1px solid ${C.borderHl}` }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.cyanLight, bgcolor: 'var(--d3-tag-cyanBg)', px: 1.5, py: 0.75, borderRadius: '8px', border: `1px solid ${C.borderHl}` }}>
🛡️ Auto Failover Route: {sttEndpoints.map((e) => e.providerType).join(' ➔ ')}
</Typography>
</Box>
@ -536,7 +536,7 @@ export default function ServiceModelsPage(): React.ReactElement {
</Box>
<Box component="td" sx={{ fontWeight: 600, color: C.bright }}>
{ep.name}
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: C.dim, mt: 0.25, maxWidth: 220, overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim, mt: 0.25, maxWidth: 220, overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap' }}>
{ep.endpointUrl}
</Typography>
</Box>
@ -556,7 +556,7 @@ export default function ServiceModelsPage(): React.ReactElement {
</Box>
<Box component="td">
{ep.isDefault ? (
<Box component="span" sx={{ px: 1, py: 0.3, borderRadius: '4px', bgcolor: 'var(--d3-status-success)', color: C.green400, fontSize: '10px', fontWeight: 500 }}>
<Box component="span" sx={{ px: 1, py: 0.3, borderRadius: '4px', bgcolor: 'var(--d3-status-successBg)', color: C.green400, fontSize: '11px', fontWeight: 500 }}>
⭐ DEFAULT
</Box>
) : (
@ -574,12 +574,12 @@ export default function ServiceModelsPage(): React.ReactElement {
onClick={() => handleSetDefaultStt(ep.id)}
sx={{
fontFamily: FONT_SANS,
fontSize: '10px',
fontSize: '11px',
color: C.green400,
borderColor: 'var(--d3-status-success)',
px: 1,
py: 0.25,
'&:hover': { bgcolor: 'var(--d3-status-success)', borderColor: C.green400 },
'&:hover': { bgcolor: 'var(--d3-status-successBg)', borderColor: C.green400 },
}}
>
Set Default
@ -591,7 +591,7 @@ export default function ServiceModelsPage(): React.ReactElement {
onClick={() => handlePingStt(ep.id)}
sx={{
fontFamily: FONT_MONO,
fontSize: '10px',
fontSize: '11px',
color: C.bright,
borderColor: C.borderHl,
px: 1,
@ -607,7 +607,7 @@ export default function ServiceModelsPage(): React.ReactElement {
onClick={() => openEditSttModal(ep)}
sx={{
fontFamily: FONT_SANS,
fontSize: '10px',
fontSize: '11px',
color: C.dim,
borderColor: C.border,
px: 1,
@ -621,7 +621,7 @@ export default function ServiceModelsPage(): React.ReactElement {
size="small"
color="error"
onClick={() => handleDeleteStt(ep.id)}
sx={{ fontFamily: FONT_MONO, fontSize: '10px', px: 1, py: 0.25 }}
sx={{ fontFamily: FONT_MONO, fontSize: '11px', px: 1, py: 0.25 }}
>
Delete
</Button>
@ -676,7 +676,7 @@ export default function ServiceModelsPage(): React.ReactElement {
<Box component="td" sx={{ fontFamily: FONT_MONO, fontSize: '12px', color: C.bright, fontWeight: 600 }}>
{ep.modelId}
{ep.isDefault && (
<Box component="span" sx={{ ml: 1, px: 0.75, py: 0.1, borderRadius: '4px', bgcolor: 'var(--d3-accent-glow)', color: C.cyanLight, fontSize: '9px' }}>
<Box component="span" sx={{ ml: 1, px: 0.75, py: 0.1, borderRadius: '4px', bgcolor: 'var(--d3-accent-glow)', color: C.cyanLight, fontSize: '11px' }}>
DEFAULT
</Box>
)}
@ -711,7 +711,7 @@ export default function ServiceModelsPage(): React.ReactElement {
onClick={() => handleDeleteLlm(ep.id)}
sx={{
fontFamily: FONT_MONO,
fontSize: '10px',
fontSize: '11px',
color: C.bright,
borderColor: C.borderHl,
px: 1,
@ -740,8 +740,7 @@ export default function ServiceModelsPage(): React.ReactElement {
fullWidth
PaperProps={{
sx: {
bgcolor: 'var(--d3-bg-card-soft)',
backdropFilter: 'blur(32px)',
bgcolor: C.card,
border: `1px solid ${C.borderHl}`,
borderRadius: '20px',
boxShadow: '0 24px 60px var(--d3-scrim)',
@ -1013,8 +1012,7 @@ export default function ServiceModelsPage(): React.ReactElement {
fullWidth
PaperProps={{
sx: {
bgcolor: 'var(--d3-bg-card-soft)',
backdropFilter: 'blur(32px)',
bgcolor: C.card,
border: `1px solid ${C.borderHl}`,
borderRadius: '20px',
boxShadow: '0 24px 60px var(--d3-scrim)',

View file

@ -156,7 +156,7 @@ export default async function AdminOverviewPage(): Promise<React.ReactElement> {
fontFamily: FONT_MONO,
fontSize: '11px',
color: C.dim,
letterSpacing: '0.04em',
letterSpacing: 0,
mt: 0.25,
}}
>
@ -222,7 +222,7 @@ export default async function AdminOverviewPage(): Promise<React.ReactElement> {
fontSize: '11px',
fontWeight: 500,
color: C.dim,
letterSpacing: '0.04em',
letterSpacing: 0,
}}
>
{card.title}
@ -285,7 +285,7 @@ export default async function AdminOverviewPage(): Promise<React.ReactElement> {
fontSize: '11px',
fontWeight: 500,
color: C.dim,
letterSpacing: '0.04em',
letterSpacing: 0,
}}
>
{card.title}
@ -373,7 +373,6 @@ export default async function AdminOverviewPage(): Promise<React.ReactElement> {
height: 8,
borderRadius: '50%',
bgcolor: node.status === 'operational' ? 'var(--d3-status-success)' : node.status === 'degraded' ? 'var(--d3-status-warning)' : 'var(--d3-status-danger)',
boxShadow: `0 0 8px ${node.status === 'operational' ? 'var(--d3-status-success)' : node.status === 'degraded' ? 'var(--d3-status-warning)' : 'var(--d3-status-danger)'}`,
}}
/>
</Box>
@ -383,10 +382,10 @@ export default async function AdminOverviewPage(): Promise<React.ReactElement> {
</Typography>
<Box sx={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', pt: 1, borderTop: `1px solid ${C.border}` }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: C.dim }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim }}>
Latency: <strong style={{ color: C.bright }}>{node.latencyMs}ms</strong>
</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: node.status === 'operational' ? C.green400 : node.status === 'degraded' ? C.orange400 : C.red400 }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: node.status === 'operational' ? C.green400 : node.status === 'degraded' ? C.orange400 : C.red400 }}>
{node.uptimePercent}% · {node.status.toUpperCase()}
</Typography>
</Box>

View file

@ -71,7 +71,7 @@ export default async function PipelinesPage(): Promise<React.ReactElement> {
fontFamily: FONT_MONO,
fontSize: '11px',
color: C.dim,
letterSpacing: '0.04em',
letterSpacing: 0,
mt: 0.25,
}}
>
@ -130,19 +130,19 @@ export default async function PipelinesPage(): Promise<React.ReactElement> {
<Box sx={{ display: 'grid', gridTemplateColumns: 'repeat(3, 1fr)', gap: 1.5, mb: 2.5 }}>
<Box sx={{ p: 1.5, borderRadius: '10px', bgcolor: 'var(--d3-bg-inset-soft)', border: `1px solid ${C.border}` }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: C.dim }}>AVG LATENCY</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim }}>AVG LATENCY</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '16px', fontWeight: 500, color: C.bright }}>
{whisper.avgLatencyMs}ms
</Typography>
</Box>
<Box sx={{ p: 1.5, borderRadius: '10px', bgcolor: 'var(--d3-bg-inset-soft)', border: `1px solid ${C.border}` }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: C.dim }}>SPEEDUP FACTOR</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim }}>SPEEDUP FACTOR</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '16px', fontWeight: 500, color: C.green400 }}>
{whisper.speedupFactor}
</Typography>
</Box>
<Box sx={{ p: 1.5, borderRadius: '10px', bgcolor: 'var(--d3-bg-inset-soft)', border: `1px solid ${C.border}` }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: C.dim }}>GPU VRAM</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim }}>GPU VRAM</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '16px', fontWeight: 500, color: C.cyanLight }}>
{whisper.gpuVramUsage}
</Typography>
@ -183,19 +183,19 @@ export default async function PipelinesPage(): Promise<React.ReactElement> {
<Box sx={{ display: 'grid', gridTemplateColumns: 'repeat(3, 1fr)', gap: 1.5, mb: 2.5 }}>
<Box sx={{ p: 1.5, borderRadius: '10px', bgcolor: 'var(--d3-bg-inset-soft)', border: `1px solid ${C.border}` }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: C.dim }}>THROUGHPUT</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim }}>THROUGHPUT</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '16px', fontWeight: 500, color: C.bright }}>
{ollama.tokensPerSecond} tok/s
</Typography>
</Box>
<Box sx={{ p: 1.5, borderRadius: '10px', bgcolor: 'var(--d3-bg-inset-soft)', border: `1px solid ${C.border}` }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: C.dim }}>CONTEXT LIMIT</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim }}>CONTEXT LIMIT</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '16px', fontWeight: 500, color: C.cyanLight }}>
{ollama.activeContextLimit}
</Typography>
</Box>
<Box sx={{ p: 1.5, borderRadius: '10px', bgcolor: 'var(--d3-bg-inset-soft)', border: `1px solid ${C.border}` }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: C.dim }}>VRAM OCCUPANCY</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim }}>VRAM OCCUPANCY</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '16px', fontWeight: 500, color: C.purple400 }}>
{ollama.vramAllocated}
</Typography>
@ -239,19 +239,19 @@ export default async function PipelinesPage(): Promise<React.ReactElement> {
<Box sx={{ display: 'grid', gridTemplateColumns: 'repeat(3, 1fr)', gap: 1.5, mb: 2.5 }}>
<Box sx={{ p: 1.5, borderRadius: '10px', bgcolor: 'var(--d3-bg-inset-soft)', border: `1px solid ${C.border}` }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: C.dim }}>LIVE STREAMS</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim }}>LIVE STREAMS</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '16px', fontWeight: 500, color: C.orange400 }}>
{realtimeVoice.activeStreams} Active
</Typography>
</Box>
<Box sx={{ p: 1.5, borderRadius: '10px', bgcolor: 'var(--d3-bg-inset-soft)', border: `1px solid ${C.border}` }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: C.dim }}>AUDIO RTT</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim }}>AUDIO RTT</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '16px', fontWeight: 500, color: C.bright }}>
{realtimeVoice.avgAudioRttMs}ms
</Typography>
</Box>
<Box sx={{ p: 1.5, borderRadius: '10px', bgcolor: 'var(--d3-bg-inset-soft)', border: `1px solid ${C.border}` }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: C.dim }}>LOCAL FALLBACK</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim }}>LOCAL FALLBACK</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '16px', fontWeight: 500, color: C.green400 }}>
{realtimeVoice.localFallbackRate}
</Typography>
@ -292,19 +292,19 @@ export default async function PipelinesPage(): Promise<React.ReactElement> {
<Box sx={{ display: 'grid', gridTemplateColumns: 'repeat(3, 1fr)', gap: 1.5, mb: 2.5 }}>
<Box sx={{ p: 1.5, borderRadius: '10px', bgcolor: 'var(--d3-bg-inset-soft)', border: `1px solid ${C.border}` }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: C.dim }}>INDEXED DOCS</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim }}>INDEXED DOCS</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '16px', fontWeight: 500, color: C.bright }}>
{ragVector.indexedDocuments.toLocaleString()}
</Typography>
</Box>
<Box sx={{ p: 1.5, borderRadius: '10px', bgcolor: 'var(--d3-bg-inset-soft)', border: `1px solid ${C.border}` }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: C.dim }}>VECTOR CHUNKS</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim }}>VECTOR CHUNKS</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '16px', fontWeight: 500, color: C.cyanLight }}>
{ragVector.totalVectorChunks.toLocaleString()}
</Typography>
</Box>
<Box sx={{ p: 1.5, borderRadius: '10px', bgcolor: 'var(--d3-bg-inset-soft)', border: `1px solid ${C.border}` }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: C.dim }}>SEARCH HIT RATE</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim }}>SEARCH HIT RATE</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '16px', fontWeight: 500, color: C.green400 }}>
{ragVector.topHitRatePercent}%
</Typography>
@ -346,7 +346,7 @@ export default async function PipelinesPage(): Promise<React.ReactElement> {
<Box sx={{ display: 'grid', gridTemplateColumns: { xs: '1fr', sm: 'repeat(2, 1fr)', md: 'repeat(4, 1fr)' }, gap: 2, mb: 3 }}>
<Box sx={{ p: 2, borderRadius: '12px', bgcolor: 'var(--d3-bg-inset-soft)', border: `1px solid ${C.border}` }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: C.dim }}>SPEAKER ACCURACY</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim }}>SPEAKER ACCURACY</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '20px', fontWeight: 500, color: C.green400 }}>
{meetingIntelligence.speakerAccuracyPercent}%
</Typography>
@ -355,7 +355,7 @@ export default async function PipelinesPage(): Promise<React.ReactElement> {
</Typography>
</Box>
<Box sx={{ p: 2, borderRadius: '12px', bgcolor: 'var(--d3-bg-inset-soft)', border: `1px solid ${C.border}` }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: C.dim }}>ACTIVE MEETINGS</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim }}>ACTIVE MEETINGS</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '20px', fontWeight: 500, color: C.cyanLight }}>
{meetingIntelligence.activeMeetingSessions} Live
</Typography>
@ -364,7 +364,7 @@ export default async function PipelinesPage(): Promise<React.ReactElement> {
</Typography>
</Box>
<Box sx={{ p: 2, borderRadius: '12px', bgcolor: 'var(--d3-bg-inset-soft)', border: `1px solid ${C.border}` }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: C.dim }}>TEMPLATES TODAY</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim }}>TEMPLATES TODAY</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '20px', fontWeight: 500, color: C.purple400 }}>
{meetingIntelligence.templatesGeneratedToday} Docs
</Typography>
@ -373,7 +373,7 @@ export default async function PipelinesPage(): Promise<React.ReactElement> {
</Typography>
</Box>
<Box sx={{ p: 2, borderRadius: '12px', bgcolor: 'var(--d3-bg-inset-soft)', border: `1px solid ${C.border}` }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: C.dim }}>MINDMAP EXPORTS</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim }}>MINDMAP EXPORTS</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '20px', fontWeight: 500, color: C.orange400 }}>
{meetingIntelligence.mindmapsExported} Maps
</Typography>

View file

@ -83,7 +83,7 @@ function HeaderBar({ feedLive, repoHtmlUrl }: { feedLive: boolean; repoHtmlUrl:
</TactileBadge>
)}
</Box>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim, letterSpacing: '0.04em', mt: 0.25 }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim, letterSpacing: 0, mt: 0.25 }}>
Desktop &amp; mobile installers, SHA-256 integrity, download telemetry
</Typography>
</Box>
@ -162,7 +162,7 @@ function KpiCards({ hub }: { hub: ReleaseHub }): React.ReactElement {
{cards.map((card) => (
<Box key={card.title} sx={{ ...panelSx, p: 2.5 }}>
<Typography
sx={{ fontFamily: FONT_SANS, fontSize: '11px', color: C.dim, mb: 1, textTransform: 'uppercase', letterSpacing: '0.08em' }}
sx={{ fontFamily: FONT_SANS, fontSize: '11px', fontWeight: 500, color: C.dim, mb: 1, letterSpacing: 0 }}
>
{card.title}
</Typography>

View file

@ -20,7 +20,7 @@ export function NewSubscriptionClient({ initialUserId }: NewSubscriptionClientPr
return (
<Box>
<Box sx={{ mb: 3 }}>
<Typography sx={{ fontFamily: FONT_SANS, fontSize: '13px', fontWeight: 600, color: C.dim, mb: 1, textTransform: 'uppercase' }}>
<Typography sx={{ fontFamily: FONT_SANS, fontSize: '13px', fontWeight: 600, color: C.dim, mb: 1 }}>
Target Account User ID or UID
</Typography>
<TextField

View file

@ -142,7 +142,7 @@ export default async function AdminSubscriptionsPage({ searchParams }: PageProps
fontFamily: FONT_MONO,
fontSize: '11px',
color: C.dim,
letterSpacing: '0.04em',
letterSpacing: 0,
mt: 0.25,
}}
>
@ -175,7 +175,7 @@ export default async function AdminSubscriptionsPage({ searchParams }: PageProps
<Box sx={{ display: 'grid', gridTemplateColumns: { xs: '1fr', sm: 'repeat(3, 1fr)' }, gap: 2.5 }}>
<DoubleBezelCard interactive bezelPadding="5px" innerPadding="20px">
<Box sx={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', mb: 1.5 }}>
<Typography sx={{ fontFamily: FONT_SANS, fontSize: '11px', fontWeight: 600, color: C.dim, textTransform: 'uppercase' }}>
<Typography sx={{ fontFamily: FONT_SANS, fontSize: '11px', fontWeight: 600, color: C.dim }}>
Total Subscription Records
</Typography>
<StatRing color="purple" size={38}>
@ -192,7 +192,7 @@ export default async function AdminSubscriptionsPage({ searchParams }: PageProps
<DoubleBezelCard interactive bezelPadding="5px" innerPadding="20px">
<Box sx={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', mb: 1.5 }}>
<Typography sx={{ fontFamily: FONT_SANS, fontSize: '11px', fontWeight: 600, color: C.dim, textTransform: 'uppercase' }}>
<Typography sx={{ fontFamily: FONT_SANS, fontSize: '11px', fontWeight: 600, color: C.dim }}>
Active Subscriptions
</Typography>
<StatRing color="blue" size={38}>
@ -209,7 +209,7 @@ export default async function AdminSubscriptionsPage({ searchParams }: PageProps
<DoubleBezelCard interactive bezelPadding="5px" innerPadding="20px">
<Box sx={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', mb: 1.5 }}>
<Typography sx={{ fontFamily: FONT_SANS, fontSize: '11px', fontWeight: 600, color: C.dim, textTransform: 'uppercase' }}>
<Typography sx={{ fontFamily: FONT_SANS, fontSize: '11px', fontWeight: 600, color: C.dim }}>
Renewal Failures
</Typography>
<StatRing color="green" size={38}>
@ -267,7 +267,7 @@ export default async function AdminSubscriptionsPage({ searchParams }: PageProps
<Typography sx={{ fontFamily: FONT_SANS, fontSize: '13px', fontWeight: 600, color: C.accentLight }}>
{s.profile_name ?? s.user_id}
</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: C.dim }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim }}>
{s.user_id}
</Typography>
</Link>

View file

@ -111,7 +111,7 @@ export default async function AdminUsagePage(): Promise<React.ReactElement> {
fontFamily: FONT_MONO,
fontSize: '11px',
color: C.dim,
letterSpacing: '0.04em',
letterSpacing: 0,
mt: 0.25,
}}
>
@ -134,7 +134,7 @@ export default async function AdminUsagePage(): Promise<React.ReactElement> {
{metricCards.map((m) => (
<DoubleBezelCard key={m.title} interactive bezelPadding="5px" innerPadding="20px">
<Box sx={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', mb: 1.5 }}>
<Typography sx={{ fontFamily: FONT_SANS, fontSize: '11px', fontWeight: 600, color: C.dim, textTransform: 'uppercase' }}>
<Typography sx={{ fontFamily: FONT_SANS, fontSize: '11px', fontWeight: 600, color: C.dim }}>
{m.title}
</Typography>
<StatRing color={m.color} size={38}>

View file

@ -143,10 +143,9 @@ export default async function AdminUserDetailPage({ params }: PageProps): Promis
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
color: 'var(--d3-text-inverse)',
color: 'var(--d3-accent-ink)',
fontWeight: 500,
fontSize: '20px',
boxShadow: '0 0 20px var(--d3-accent-glow)',
}}
>
{((profile.name as string) || (profile.email as string) || '?').charAt(0).toUpperCase()}

View file

@ -95,7 +95,7 @@ export default async function AdminUsersPage({ searchParams }: PageProps): Promi
fontFamily: FONT_MONO,
fontSize: '11px',
color: C.dim,
letterSpacing: '0.04em',
letterSpacing: 0,
mt: 0.25,
}}
>
@ -170,10 +170,9 @@ export default async function AdminUsersPage({ searchParams }: PageProps): Promi
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
color: 'var(--d3-text-inverse)',
color: 'var(--d3-accent-ink)',
fontWeight: 500,
fontSize: '13px',
boxShadow: isProPlus ? '0 0 12px var(--d3-tag-purple)' : 'none',
}}
>
{u.name.charAt(0)}
@ -206,7 +205,7 @@ export default async function AdminUsersPage({ searchParams }: PageProps): Promi
{/* Daily Quota Status */}
<Box component="td">
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: C.dim }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim }}>
Open user detail for measured usage
</Typography>
</Box>

View file

@ -128,10 +128,11 @@ function LoginForm(): React.ReactElement {
mb: 2,
}}
>
<LockOutlinedIcon sx={{ color: 'var(--d3-text-inverse)', fontSize: 28 }} />
<LockOutlinedIcon sx={{ color: 'var(--d3-accent-ink)', fontSize: 28 }} />
</Box>
<Typography
component="h1"
sx={{
fontFamily: FONT_SANS,
fontSize: '22px',
@ -149,7 +150,7 @@ function LoginForm(): React.ReactElement {
fontFamily: FONT_MONO,
fontSize: '11px',
color: C.dim,
letterSpacing: '0.08em',
letterSpacing: 0,
mt: 0.5,
}}
>
@ -168,7 +169,7 @@ function LoginForm(): React.ReactElement {
severity="error"
sx={{
mb: 2.5,
bgcolor: 'var(--d3-status-danger)',
bgcolor: 'var(--d3-status-dangerBg)',
color: 'var(--d3-status-danger)',
border: '1px solid var(--d3-status-danger)',
borderRadius: '10px',
@ -246,7 +247,7 @@ function LoginForm(): React.ReactElement {
<Box sx={{ display: 'flex', alignItems: 'center', gap: 1.5, my: 1 }}>
<Box sx={{ flex: 1, height: '1px', bgcolor: C.border }} />
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: C.dim }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim }}>
OR VIA OAUTH
</Typography>
<Box sx={{ flex: 1, height: '1px', bgcolor: C.border }} />
@ -279,7 +280,7 @@ function LoginForm(): React.ReactElement {
{/* Footer Note */}
<Box sx={{ mt: 3.5, textAlign: 'center' }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '10px', color: C.dim }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', color: C.dim }}>
Protected by D3RO Unified Auth & Session Cookie Cryptography
</Typography>
</Box>

View file

@ -168,34 +168,19 @@ export function AdminSidebar({ identity }: {
height: '100%',
display: 'flex',
flexDirection: 'column',
bgcolor: 'var(--d3-bg-card-soft)',
backdropFilter: 'blur(28px)',
border: `1px solid ${C.border}`,
borderRadius: '22px',
bgcolor: C.sidebar,
border: `1px solid ${C.borderHl}`,
borderRadius: '12px',
flexShrink: 0,
position: 'relative',
overflow: 'hidden',
boxShadow: '0 24px 60px var(--d3-scrim), inset 0 1px 0 var(--d3-glass-hairlineStrong)',
}}
>
{/* Top Ambient Sheen */}
<Box
sx={{
position: 'absolute',
top: 0,
left: 0,
right: 0,
height: 120,
background: 'radial-gradient(ellipse 80% 60% at 50% -10%, var(--d3-accent-glow) 0%, transparent 80%)',
pointerEvents: 'none',
}}
/>
{/* Brand Header */}
<Box
sx={{
px: 3,
pt: 3.5,
pt: 3,
pb: 2.5,
borderBottom: `1px solid ${C.border}`,
position: 'relative',
@ -210,14 +195,13 @@ export function AdminSidebar({ identity }: {
width: 34,
height: 34,
borderRadius: '10px',
background: 'linear-gradient(135deg, var(--d3-tag-cyan) 0%, var(--d3-accent-main) 50%, var(--d3-tag-purple) 100%)',
bgcolor: 'var(--d3-accent-solid)',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
boxShadow: '0 0 20px var(--d3-accent-glow)',
}}
>
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="#ffffff" strokeWidth="2.2">
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="var(--d3-accent-ink)" strokeWidth="2.2">
<path d="M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z" />
<path d="M19 10v2a7 7 0 0 1-14 0v-2" />
<line x1="12" y1="19" x2="12" y2="22" />
@ -230,7 +214,7 @@ export function AdminSidebar({ identity }: {
fontFamily: FONT_SANS,
fontSize: '15px',
fontWeight: 500,
letterSpacing: '-0.02em',
letterSpacing: '-0.01em',
color: C.bright,
lineHeight: 1.2,
}}
@ -240,10 +224,10 @@ export function AdminSidebar({ identity }: {
<Typography
sx={{
fontFamily: FONT_MONO,
fontSize: '10px',
fontSize: '11px',
fontWeight: 600,
color: C.cyan,
letterSpacing: '0.04em',
color: C.cyanLight,
letterSpacing: 0,
}}
>
INTELLIGENCE CRM
@ -260,7 +244,7 @@ export function AdminSidebar({ identity }: {
px: 1,
py: 0.35,
borderRadius: '999px',
bgcolor: 'var(--d3-status-success)',
bgcolor: 'var(--d3-status-successBg)',
border: '1px solid var(--d3-status-success)',
}}
>
@ -270,11 +254,10 @@ export function AdminSidebar({ identity }: {
height: 6,
borderRadius: '50%',
bgcolor: 'var(--d3-status-success)',
boxShadow: '0 0 8px var(--d3-status-success)',
animation: 'pulse-ring 2s infinite',
}}
/>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '9px', fontWeight: 600, color: 'var(--d3-status-success)' }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', fontWeight: 600, color: 'var(--d3-status-success)' }}>
SESSION
</Typography>
</Box>
@ -284,6 +267,7 @@ export function AdminSidebar({ identity }: {
{/* Nav Scroll Area */}
<Box
component="nav"
aria-label="관리자 메뉴"
sx={{
flex: 1,
overflowY: 'auto',
@ -306,8 +290,7 @@ export function AdminSidebar({ identity }: {
fontSize: '11px',
fontWeight: 600,
color: C.dim,
textTransform: 'uppercase',
letterSpacing: '0.08em',
letterSpacing: 0,
}}
>
{group.title}
@ -318,29 +301,33 @@ export function AdminSidebar({ identity }: {
return (
<Box
key={item.key}
role="button"
tabIndex={0}
aria-current={active ? 'page' : undefined}
onClick={() => router.push(item.path)}
onKeyDown={(e) => {
if (e.key === 'Enter' || e.key === ' ') {
e.preventDefault()
router.push(item.path)
}
}}
sx={{
display: 'flex',
alignItems: 'center',
justifyContent: 'space-between',
px: 1.75,
py: 1.1,
borderRadius: '12px',
borderRadius: '8px',
cursor: 'pointer',
position: 'relative',
border: `1px solid ${active ? 'var(--d3-accent-glow)' : 'transparent'}`,
bgcolor: active ? 'var(--d3-accent-glow)' : 'transparent',
border: `1px solid ${active ? 'var(--d3-accent-dim)' : 'transparent'}`,
bgcolor: active ? 'var(--d3-accent-dim)' : 'transparent',
color: active ? C.bright : C.text,
boxShadow: active ? '0 0 20px var(--d3-accent-glow), inset 0 1px 0 var(--d3-overlay-strong)' : 'none',
transition: 'all 0.18s cubic-bezier(0.16, 1, 0.3, 1)',
transition: 'background-color 160ms cubic-bezier(0.22, 1, 0.36, 1), border-color 160ms cubic-bezier(0.22, 1, 0.36, 1), color 160ms cubic-bezier(0.22, 1, 0.36, 1)',
'&:hover': {
bgcolor: active ? 'var(--d3-accent-glow)' : 'var(--d3-bg-raised-soft)',
bgcolor: active ? 'var(--d3-accent-dim)' : 'var(--d3-overlay-soft)',
borderColor: active ? 'var(--d3-accent-light)' : C.border,
color: C.bright,
transform: 'translateX(3px)',
},
'&:active': {
transform: 'scale(0.98)',
},
}}
>
@ -360,7 +347,7 @@ export function AdminSidebar({ identity }: {
fontFamily: FONT_SANS,
fontSize: '13px',
fontWeight: active ? 600 : 500,
letterSpacing: '-0.01em',
letterSpacing: 0,
}}
>
{item.label}
@ -391,9 +378,9 @@ export function AdminSidebar({ identity }: {
alignItems: 'center',
justifyContent: 'space-between',
p: 1.25,
borderRadius: '12px',
borderRadius: '10px',
border: `1px solid ${C.borderHl}`,
bgcolor: 'var(--d3-bg-card-soft)',
bgcolor: C.card,
transition: 'border-color 0.15s ease',
'&:hover': {
borderColor: C.accentLight,
@ -406,14 +393,13 @@ export function AdminSidebar({ identity }: {
width: 32,
height: 32,
borderRadius: '8px',
background: 'linear-gradient(135deg, var(--d3-accent-dark) 0%, var(--d3-accent-main) 100%)',
bgcolor: 'var(--d3-accent-solid)',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
fontWeight: 500,
fontSize: '13px',
color: 'var(--d3-text-inverse)',
boxShadow: '0 0 12px var(--d3-accent-glow)',
color: 'var(--d3-accent-ink)',
}}
>
{identity.email.slice(0, 1).toUpperCase()}
@ -422,18 +408,23 @@ export function AdminSidebar({ identity }: {
<Typography sx={{ fontFamily: FONT_SANS, fontSize: '12px', fontWeight: 600, color: C.bright, lineHeight: 1.2 }}>
{identity.email}
</Typography>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '9px', fontWeight: 600, color: C.purple400, letterSpacing: '0.04em' }}>
<Typography sx={{ fontFamily: FONT_MONO, fontSize: '11px', fontWeight: 600, color: C.purple400, letterSpacing: 0 }}>
{identity.role.toUpperCase()}
</Typography>
</Box>
</Box>
<Box
component="button"
type="button"
aria-label="로그아웃"
onClick={() => void handleLogout()}
title="Sign Out"
sx={{
p: 0.75,
borderRadius: '8px',
bgcolor: 'transparent',
border: 'none',
color: C.dim,
cursor: 'pointer',
display: 'flex',
@ -442,7 +433,7 @@ export function AdminSidebar({ identity }: {
transition: 'all 0.15s ease',
'&:hover': {
color: C.red400,
bgcolor: 'var(--d3-status-danger)',
bgcolor: 'var(--d3-status-dangerBg)',
},
}}
>

View file

@ -32,10 +32,10 @@ export function DauChart({ data }: DauChartProps): React.ReactElement {
<CartesianGrid strokeDasharray="3 3" stroke={d3roPalette.border.subtle} />
<XAxis
dataKey="date"
tick={{ fill: d3roPalette.text.muted, fontFamily: d3roFontMono, fontSize: 10 }}
tick={{ fill: d3roPalette.text.muted, fontFamily: d3roFontMono, fontSize: 11 }}
tickFormatter={(val: string) => val.slice(5)}
/>
<YAxis tick={{ fill: d3roPalette.text.muted, fontFamily: d3roFontMono, fontSize: 10 }} />
<YAxis tick={{ fill: d3roPalette.text.muted, fontFamily: d3roFontMono, fontSize: 11 }} />
<Tooltip
contentStyle={{
background: d3roPalette.bg.card,

View file

@ -59,10 +59,10 @@ export function FeatureUsageChart({ data }: FeatureUsageChartProps): React.React
<CartesianGrid strokeDasharray="3 3" stroke={d3roPalette.border.subtle} />
<XAxis
dataKey="date"
tick={{ fill: d3roPalette.text.muted, fontFamily: d3roFontMono, fontSize: 10 }}
tick={{ fill: d3roPalette.text.muted, fontFamily: d3roFontMono, fontSize: 11 }}
tickFormatter={(val: string) => val.slice(5)}
/>
<YAxis tick={{ fill: d3roPalette.text.muted, fontFamily: d3roFontMono, fontSize: 10 }} />
<YAxis tick={{ fill: d3roPalette.text.muted, fontFamily: d3roFontMono, fontSize: 11 }} />
<Tooltip
contentStyle={{
background: d3roPalette.bg.card,

View file

@ -40,13 +40,13 @@ export function TopUsersChart({ data }: TopUsersChartProps): React.ReactElement
<CartesianGrid strokeDasharray="3 3" stroke={d3roPalette.border.subtle} />
<XAxis
type="number"
tick={{ fill: d3roPalette.text.muted, fontFamily: d3roFontMono, fontSize: 10 }}
tick={{ fill: d3roPalette.text.muted, fontFamily: d3roFontMono, fontSize: 11 }}
/>
<YAxis
type="category"
dataKey="name"
width={100}
tick={{ fill: d3roPalette.text.muted, fontFamily: d3roFontMono, fontSize: 10 }}
tick={{ fill: d3roPalette.text.muted, fontFamily: d3roFontMono, fontSize: 11 }}
/>
<Tooltip
contentStyle={{

View file

@ -134,7 +134,7 @@ export function LicenseIssuerDialog({ open, onClose }: LicenseIssuerDialogProps)
ED25519 SERVER-SIGNED OFFLINE / ENTERPRISE TOKEN
</Typography>
</Box>
<IconButton onClick={onClose} size="small" sx={{ color: C.dim }}>
<IconButton onClick={onClose} size="small" aria-label="닫기" sx={{ color: C.dim }}>
✕
</IconButton>
</DialogTitle>

View file

@ -131,7 +131,7 @@ export function PaymentHistory({ userId }: PaymentHistoryProps): React.ReactElem
}}
>
<Box sx={{ display: 'flex', gap: 1, alignItems: 'baseline' }}>
<Box component="span" sx={{ color: d3roPalette.text.muted, fontSize: 10 }}>
<Box component="span" sx={{ color: d3roPalette.text.muted, fontSize: 11 }}>
{new Date(log.created_at).toLocaleString()}
</Box>
<Box component="span" sx={{ color: d3roPalette.accent.main }}>

View file

@ -22,10 +22,10 @@ export const C = {
borderStrong: 'rgba(148, 180, 255, 0.24)',
// text
dim: '#67789e',
dim: '#7e8eb0',
text: '#93a4c8',
bright: '#eef2fb',
muted: '#3c4763',
muted: '#5c6b8a',
// accents & gradients
accent: '#3b82f6',
@ -46,31 +46,28 @@ export const C = {
export const FONT_SANS = d3roFontSans
export const FONT_MONO = d3roFontMono
/** High-End Double-Bezel Glass Panel Style */
/** Flat Precision Panel Style (v4) */
export const panelSx = {
position: 'relative' as const,
bgcolor: 'rgba(17, 26, 48, 0.65)',
backdropFilter: 'blur(24px)',
border: `1px solid ${C.border}`,
borderRadius: '20px',
bgcolor: C.card,
border: `1px solid ${C.borderHl}`,
borderRadius: '12px',
overflow: 'hidden',
boxShadow: '0 16px 40px rgba(3, 7, 18, 0.5), inset 0 1px 0 rgba(148, 180, 255, 0.08)',
transition: 'border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, transform 0.25s ease',
boxShadow: 'none',
transition: 'border-color 160ms cubic-bezier(0.22, 1, 0.36, 1)',
'&:hover': {
borderColor: C.borderHl,
boxShadow: '0 20px 48px rgba(3, 7, 18, 0.6), inset 0 1px 0 rgba(148, 180, 255, 0.15)',
borderColor: C.borderStrong,
},
}
/** Inner Glass Core Style (Double-Bezel nested architecture) */
/** Inner Core Style (v4) */
export const innerCoreSx = {
position: 'relative' as const,
borderRadius: '14px',
bgcolor: 'rgba(13, 21, 38, 0.75)',
backdropFilter: 'blur(16px)',
borderRadius: '10px',
bgcolor: C.inset,
border: `1px solid ${C.border}`,
p: 2.5,
boxShadow: 'inset 0 2px 6px rgba(3, 7, 18, 0.5)',
boxShadow: 'none',
}
/** Interactive Table Style */
@ -85,8 +82,7 @@ export const tableSx = {
pb: 1.5,
fontWeight: 500,
fontSize: '11px',
textTransform: 'uppercase' as const,
letterSpacing: '0.08em',
letterSpacing: 0,
color: C.dim,
textAlign: 'left' as const,
borderBottom: `1px solid ${C.borderHl}`,
@ -96,23 +92,23 @@ export const tableSx = {
py: 1.75,
textAlign: 'left' as const,
color: C.text,
bgcolor: 'rgba(17, 26, 48, 0.45)',
bgcolor: C.card,
borderTop: `1px solid ${C.border}`,
borderBottom: `1px solid ${C.border}`,
transition: 'all 0.15s cubic-bezier(0.16, 1, 0.3, 1)',
transition: 'background-color 160ms cubic-bezier(0.22, 1, 0.36, 1), border-color 160ms cubic-bezier(0.22, 1, 0.36, 1), color 160ms cubic-bezier(0.22, 1, 0.36, 1)',
'&:first-of-type': {
borderLeft: `1px solid ${C.border}`,
borderTopLeftRadius: '10px',
borderBottomLeftRadius: '10px',
borderTopLeftRadius: '8px',
borderBottomLeftRadius: '8px',
},
'&:last-of-type': {
borderRight: `1px solid ${C.border}`,
borderTopRightRadius: '10px',
borderBottomRightRadius: '10px',
borderTopRightRadius: '8px',
borderBottomRightRadius: '8px',
},
},
'& tr:hover td': {
bgcolor: 'rgba(26, 38, 68, 0.75)',
bgcolor: C.cardHover,
borderColor: C.borderHl,
color: C.bright,
},
@ -126,35 +122,30 @@ export const filterBtnSx = (active: boolean) => ({
fontFamily: FONT_SANS,
fontSize: '11px',
fontWeight: 500,
letterSpacing: '0.04em',
letterSpacing: 0,
textTransform: 'none' as const,
cursor: 'pointer',
border: `1px solid ${active ? 'rgba(59, 130, 246, 0.4)' : C.border}`,
bgcolor: active ? 'rgba(59, 130, 246, 0.16)' : 'rgba(17, 26, 48, 0.5)',
border: `1px solid ${active ? 'rgba(59, 130, 246, 0.4)' : C.borderHl}`,
bgcolor: active ? 'rgba(59, 130, 246, 0.16)' : C.card,
color: active ? C.bright : C.dim,
boxShadow: active ? '0 0 16px rgba(59, 130, 246, 0.25)' : 'none',
backdropFilter: 'blur(12px)',
boxShadow: 'none',
'&:hover': {
bgcolor: active ? 'rgba(59, 130, 246, 0.22)' : 'rgba(26, 38, 68, 0.8)',
borderColor: active ? C.accentLight : C.borderHl,
bgcolor: active ? 'rgba(59, 130, 246, 0.22)' : C.cardHover,
borderColor: active ? C.accentLight : C.borderStrong,
color: C.bright,
transform: 'translateY(-1px)',
},
'&:active': {
transform: 'translateY(0) scale(0.98)',
},
transition: 'all 0.15s cubic-bezier(0.16, 1, 0.3, 1)',
transition: 'background-color 160ms cubic-bezier(0.22, 1, 0.36, 1), border-color 160ms cubic-bezier(0.22, 1, 0.36, 1), color 160ms cubic-bezier(0.22, 1, 0.36, 1)',
})
/** Semantic Status Badge Style */
export function statusBadgeSx(variant: 'green' | 'red' | 'orange' | 'blue' | 'purple' | 'cyan') {
const colorMap = {
green: { bg: 'rgba(16, 185, 129, 0.12)', fg: C.green400, border: 'rgba(16, 185, 129, 0.3)', glow: '0 0 12px rgba(16, 185, 129, 0.2)' },
red: { bg: 'rgba(239, 68, 68, 0.12)', fg: C.red400, border: 'rgba(239, 68, 68, 0.3)', glow: '0 0 12px rgba(239, 68, 68, 0.2)' },
orange: { bg: 'rgba(245, 158, 11, 0.12)', fg: C.orange400, border: 'rgba(245, 158, 11, 0.3)', glow: '0 0 12px rgba(245, 158, 11, 0.2)' },
blue: { bg: 'rgba(59, 130, 246, 0.12)', fg: C.accentLight, border: 'rgba(59, 130, 246, 0.3)', glow: '0 0 12px rgba(59, 130, 246, 0.2)' },
purple: { bg: 'rgba(139, 92, 246, 0.12)', fg: C.purple400, border: 'rgba(139, 92, 246, 0.3)', glow: '0 0 12px rgba(139, 92, 246, 0.2)' },
cyan: { bg: 'rgba(6, 182, 212, 0.12)', fg: C.cyanLight, border: 'rgba(6, 182, 212, 0.3)', glow: '0 0 12px rgba(6, 182, 212, 0.2)' },
green: { bg: 'rgba(16, 185, 129, 0.12)', fg: C.green400, border: 'rgba(16, 185, 129, 0.3)' },
red: { bg: 'rgba(239, 68, 68, 0.12)', fg: C.red400, border: 'rgba(239, 68, 68, 0.3)' },
orange: { bg: 'rgba(245, 158, 11, 0.12)', fg: C.orange400, border: 'rgba(245, 158, 11, 0.3)' },
blue: { bg: 'rgba(59, 130, 246, 0.12)', fg: C.accentLight, border: 'rgba(59, 130, 246, 0.3)' },
purple: { bg: 'rgba(139, 92, 246, 0.12)', fg: C.purple400, border: 'rgba(139, 92, 246, 0.3)' },
cyan: { bg: 'rgba(6, 182, 212, 0.12)', fg: C.cyanLight, border: 'rgba(6, 182, 212, 0.3)' },
}
const c = colorMap[variant]
return {
@ -167,35 +158,30 @@ export function statusBadgeSx(variant: 'green' | 'red' | 'orange' | 'blue' | 'pu
fontSize: '11px',
fontFamily: FONT_SANS,
fontWeight: 500,
letterSpacing: '0.04em',
letterSpacing: 0,
bgcolor: c.bg,
color: c.fg,
border: `1px solid ${c.border}`,
boxShadow: c.glow,
backdropFilter: 'blur(8px)',
boxShadow: 'none',
}
}
/** Primary Action Button Style with Gradient & Glow */
/** Primary Action Button Style */
export const primaryButtonSx = {
background: 'linear-gradient(135deg, #1d4ed8 0%, #3b82f6 55%, #60a5fa 100%)',
bgcolor: C.accentDark,
color: '#ffffff',
fontFamily: FONT_SANS,
fontSize: '13px',
fontWeight: 500,
borderRadius: '10px',
borderRadius: '8px',
px: 2.5,
py: 1,
boxShadow: '0 0 0 1px rgba(59,130,246,0.35), 0 8px 24px rgba(37,99,235,0.35)',
boxShadow: 'none',
textTransform: 'none' as const,
transition: 'all 0.2s cubic-bezier(0.16, 1, 0.3, 1)',
transition: 'background-color 160ms cubic-bezier(0.22, 1, 0.36, 1)',
'&:hover': {
filter: 'brightness(1.12)',
boxShadow: '0 0 0 1px rgba(96,165,250,0.5), 0 12px 32px rgba(59,130,246,0.5)',
transform: 'translateY(-1px)',
},
'&:active': {
transform: 'translateY(0) scale(0.98)',
bgcolor: C.accent,
boxShadow: 'none',
},
}