fix(icons): align table block icon and 12-unit icon stroke with the emcn family (#6708)

The table/table_v2 blocks and the table trigger used a local lucide-shaped
TableIcon (stroke 2.0, full-bleed 24 viewBox, 3x3 grid) while every other
table surface used emcn's Table. Consolidate onto the emcn icon and drop the
local copy.

Nested tool-call rows in Chat applied no color class, so a non-brand block
icon inherited body text instead of --text-icon.

redo/undo/zoom-in/zoom-out draw 0.85 stroke on a 12-unit viewBox, rendering
0.992px at a 14px box against the family's 0.904px. 0.775 restores parity.
This commit is contained in:
Waleed
2026-08-14 14:49:24 -07:00
committed by GitHub
parent 9664e7ec17
commit d5701d5b2b
18 changed files with 37 additions and 84 deletions
+2 -3
View File
@@ -3,7 +3,7 @@
// Maps block types to their icon component references
import type { ComponentType, SVGProps } from 'react'
import { Library, Rocket } from '@sim/emcn/icons'
import { Library, Rocket, Table } from '@sim/emcn/icons'
import {
A2AIcon,
AgentMailIcon,
@@ -225,7 +225,6 @@ import {
StagehandIcon,
StripeIcon,
SupabaseIcon,
TableIcon,
TailscaleIcon,
TavilyIcon,
TelegramIcon,
@@ -518,7 +517,7 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
stt: STTIcon,
stt_v2: STTIcon,
supabase: SupabaseIcon,
table: TableIcon,
table: Table,
tailscale: TailscaleIcon,
tavily: TavilyIcon,
telegram: TelegramIcon,