File tree Expand file tree Collapse file tree
emcn/src/components/chip-tag
workflow-renderer/src/workflow-block Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ import { cn } from '../../lib/cn'
2525 * when it sits *on* a `--surface-5` input, combobox trigger, or tag container.
2626 * - `gray` — a light surface over a slightly darker inset ring with muted
2727 * `--text-secondary` text for low-emphasis status labels.
28+ * - `workflow-inline` — an outlined slot embedded in workflow summary text.
29+ * Its inset ring preserves the text flow and dimensions when a placeholder
30+ * becomes a value. The surface and outline follow the workspace theme.
2831 * - `solid` — a filled inverse tag: a dark neutral surface (`--text-secondary`)
2932 * with inverse text (`--text-inverse`), mirroring {@link Chip}'s `primary`
3033 * inverse-surface convention one step softer than near-black. For eyebrow
@@ -70,6 +73,8 @@ const chipTagVariants = cva(
7073 field :
7174 'h-5 gap-[3px] px-1 bg-[var(--surface-6)] text-[var(--text-primary)] dark:bg-[var(--surface-3)]' ,
7275 gray : 'h-5 gap-[3px] px-1 border border-[var(--border-1)] bg-[var(--surface-5)] text-[var(--text-secondary)]' ,
76+ 'workflow-inline' :
77+ 'h-5 gap-[3px] px-1 bg-[var(--surface-2)] text-[var(--text-primary)] shadow-[inset_0_0_0_1px_var(--border-1)]' ,
7378 solid : 'h-5 gap-[3px] px-1 bg-[var(--text-secondary)] text-[var(--text-inverse)]' ,
7479 workflow : 'h-5 gap-[3px] px-1' ,
7580 brand : 'h-5 gap-[3px] px-1' ,
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export interface InlineChipProps {
1919export function InlineChip ( { children, muted } : InlineChipProps ) {
2020 return (
2121 < ChipTag
22- variant = 'gray '
22+ variant = 'workflow-inline '
2323 className = { cn (
2424 'max-w-[160px] translate-y-[-1px] align-middle' ,
2525 muted && 'text-[var(--text-muted)]'
You can’t perform that action at this time.
0 commit comments