From 8c038b610685fdf1c1e5fe9e4e645ebae5dd528c Mon Sep 17 00:00:00 2001 From: Azahara Martinez Date: Thu, 5 Jun 2025 12:06:39 +0200 Subject: [PATCH] feat(components/molecule/dropdownOption): set color to description text when option is selected --- components/molecule/dropdownOption/src/styles/index.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/molecule/dropdownOption/src/styles/index.scss b/components/molecule/dropdownOption/src/styles/index.scss index 83369e48d1..264da9b54c 100644 --- a/components/molecule/dropdownOption/src/styles/index.scss +++ b/components/molecule/dropdownOption/src/styles/index.scss @@ -101,6 +101,10 @@ $base-class: '.sui-MoleculeDropdownOption'; align-items: stretch; justify-content: center; padding: $pt-molecule-dropdown-option-with-description $pl-molecule-dropdown-option; + + &.is-selected { + color: $c-molecule-dropdown-option-selected-text; + } } &--withDescriptionAndAddon {