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 -2
View File
@@ -18,14 +18,14 @@ export function Redo(props: SVGProps<SVGSVGElement>) {
<path
d='M9.5 4.5H4C2.62 4.5 1.5 5.62 1.5 7C1.5 8.38 2.62 9.5 4 9.5H7'
stroke='currentColor'
strokeWidth='0.85'
strokeWidth='0.775'
strokeLinecap='round'
strokeLinejoin='round'
/>
<path
d='M8 2.5L10 4.5L8 6.5'
stroke='currentColor'
strokeWidth='0.85'
strokeWidth='0.775'
strokeLinecap='round'
strokeLinejoin='round'
/>
+2 -2
View File
@@ -18,14 +18,14 @@ export function Undo(props: SVGProps<SVGSVGElement>) {
<path
d='M2.5 4.5H8C9.38 4.5 10.5 5.62 10.5 7C10.5 8.38 9.38 9.5 8 9.5H5'
stroke='currentColor'
strokeWidth='0.85'
strokeWidth='0.775'
strokeLinecap='round'
strokeLinejoin='round'
/>
<path
d='M4 2.5L2 4.5L4 6.5'
stroke='currentColor'
strokeWidth='0.85'
strokeWidth='0.775'
strokeLinecap='round'
strokeLinejoin='round'
/>
+4 -4
View File
@@ -20,28 +20,28 @@ export function ZoomIn(props: SVGProps<SVGSVGElement>) {
cy='5'
r='3.5'
stroke='currentColor'
strokeWidth='0.85'
strokeWidth='0.775'
strokeLinecap='round'
strokeLinejoin='round'
/>
<path
d='M5 3.5V6.5'
stroke='currentColor'
strokeWidth='0.85'
strokeWidth='0.775'
strokeLinecap='round'
strokeLinejoin='round'
/>
<path
d='M3.5 5H6.5'
stroke='currentColor'
strokeWidth='0.85'
strokeWidth='0.775'
strokeLinecap='round'
strokeLinejoin='round'
/>
<path
d='M7.5 7.5L10.5 10.5'
stroke='currentColor'
strokeWidth='0.85'
strokeWidth='0.775'
strokeLinecap='round'
strokeLinejoin='round'
/>
+3 -3
View File
@@ -20,21 +20,21 @@ export function ZoomOut(props: SVGProps<SVGSVGElement>) {
cy='5'
r='3.5'
stroke='currentColor'
strokeWidth='0.85'
strokeWidth='0.775'
strokeLinecap='round'
strokeLinejoin='round'
/>
<path
d='M3.5 5H6.5'
stroke='currentColor'
strokeWidth='0.85'
strokeWidth='0.775'
strokeLinecap='round'
strokeLinejoin='round'
/>
<path
d='M7.5 7.5L10.5 10.5'
stroke='currentColor'
strokeWidth='0.85'
strokeWidth='0.775'
strokeLinecap='round'
strokeLinejoin='round'
/>