diff --git a/packages/design-system/src/components/Dropdown/Dropdown.tsx b/packages/design-system/src/components/Dropdown/Dropdown.tsx index e962c01ae0..c5919b9e07 100644 --- a/packages/design-system/src/components/Dropdown/Dropdown.tsx +++ b/packages/design-system/src/components/Dropdown/Dropdown.tsx @@ -248,7 +248,12 @@ export const Dropdown: React.FC = (props: DropdownProps) => { ...useLabelProps({ ...props, id, - labelClassName: classNames('ds-c-label', 'ds-c-dropdown__label', props.labelClassName), + labelClassName: classNames( + 'ds-c-label', + 'ds-c-dropdown__label', + props.inversed && 'ds-c-label--inverse', + props.labelClassName + ), }), }; diff --git a/packages/design-system/src/components/web-components/ds-dropdown/__snapshots__/ds-dropdown.test.tsx.snap b/packages/design-system/src/components/web-components/ds-dropdown/__snapshots__/ds-dropdown.test.tsx.snap index f74e056f6d..d267ab9f12 100644 --- a/packages/design-system/src/components/web-components/ds-dropdown/__snapshots__/ds-dropdown.test.tsx.snap +++ b/packages/design-system/src/components/web-components/ds-dropdown/__snapshots__/ds-dropdown.test.tsx.snap @@ -9,12 +9,12 @@ exports[`Dropdown renders a dropdown 1`] = `
- +