Skip to content

Commit c5b63fa

Browse files
committed
fix(eds-core-react): use legacy token for Autocomplete chip outline
The chip outline in Autocomplete used a new token variable (--eds-color-accent-12) that is only available via the new CSS variables import. Stable components should work with only tokens.css, so this switches to the legacy token with fallback.
1 parent 2813ea5 commit c5b63fa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/eds-core-react/src/components/Autocomplete/MultipleInput.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ export const MultipleInput = () => {
100100
else chipRefs.current.delete(getLabel(item))
101101
}}
102102
style={{
103-
outline: '1px solid var(--eds-color-accent-12)',
103+
outline:
104+
'1px solid var(--eds_interactive_primary__resting, rgba(0, 112, 121, 1))',
104105
...(density === 'compact' && {
105106
height: '16px',
106107
fontSize: '12px',

0 commit comments

Comments
 (0)