Skip to content

Commit 9cd9fe6

Browse files
committed
fix(workflow): update content block teal
1 parent 66bfb91 commit 9cd9fe6

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

apps/sim/lib/workflows/blocks/workflow-block-view-interaction.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ describe('WorkflowTypeTag colors', () => {
220220
)
221221

222222
expect(host.querySelector('[data-workflow-type-icon="knowledge"]')).toHaveClass(
223-
'bg-[#B4B4B4]',
224-
'text-[#1A1A1A]'
223+
'bg-[#005D5F]',
224+
'text-[#FFFFFF]'
225225
)
226226
expect(host.querySelector('[data-workflow-type-icon="image_generator_v2"]')).toHaveClass(
227227
'bg-[#AA00FF]',

packages/emcn/src/components/chip-tag/chip-tag.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ import { cn } from '../../lib/cn'
3535
*
3636
* These are fixed brand values, not derived ones — do not "correct" a hex
3737
* for contrast or gamut. Labels use `#F8F8F8` on dark semantic fills and
38-
* `#1A1A1A` on light fills. `#3B3B3B` appears only as `inverse`'s fill,
39-
* never as text. One value serves both modes; the tones carry no `dark:`
40-
* overrides.
38+
* `#1A1A1A` on light fills; the content tone uses true white (`#FFFFFF`) on
39+
* `#005D5F`. `#3B3B3B` appears only as `inverse`'s fill, never as text. One
40+
* value serves both modes; the tones carry no `dark:` overrides.
4141
*
4242
* Contrast against the paired ink varies, and two pairs sit under WCAG AA
4343
* (4.5:1) for normal text: `green` at 3.98:1 and `orange` at 3.15:1. These
@@ -113,7 +113,7 @@ const chipTagVariants = cva(
113113
{ variant: 'workflow', tone: 'green', className: 'bg-[#188F00] text-[#F8F8F8]' },
114114
{ variant: 'workflow', tone: 'yellow', className: 'bg-[#FFEF08] text-[#1A1A1A]' },
115115
{ variant: 'workflow', tone: 'purple', className: 'bg-[#AA00FF] text-[#F8F8F8]' },
116-
{ variant: 'workflow', tone: 'content', className: 'bg-[#B4B4B4] text-[#1A1A1A]' },
116+
{ variant: 'workflow', tone: 'content', className: 'bg-[#005D5F] text-[#FFFFFF]' },
117117
{ variant: 'brand', brandForeground: 'light', className: 'text-[#FFFFFF]' },
118118
{ variant: 'brand', brandForeground: 'dark', className: 'text-[#000000]' },
119119
],

0 commit comments

Comments
 (0)