Skip to content

Commit eecaa1a

Browse files
Bill LeoutsakosBill Leoutsakos
authored andcommitted
refactor(emcn): compose compact search from shared chip surface
1 parent ff1f7f2 commit eecaa1a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎packages/emcn/src/components/chip-input/chip-input.tsx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ export const chipInputVariants = cva('', {
4040
variants: {
4141
appearance: {
4242
chip: '',
43-
compactSearch:
44-
'h-[23px] items-center rounded-sm border border-[var(--border-1)] bg-[var(--surface-5)] px-2 transition-colors',
43+
compactSearch: `${chipFieldSurfaceClass} h-[23px] items-center rounded-sm px-2 dark:bg-[var(--surface-5)]`,
4544
},
4645
},
4746
defaultVariants: { appearance: 'chip' },

0 commit comments

Comments
 (0)