diff options
Diffstat (limited to 'server/sonar-web/design-system/src/components/DropdownMenu.tsx')
-rw-r--r-- | server/sonar-web/design-system/src/components/DropdownMenu.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/design-system/src/components/DropdownMenu.tsx b/server/sonar-web/design-system/src/components/DropdownMenu.tsx index dff4f3b11e6..90fe7e05539 100644 --- a/server/sonar-web/design-system/src/components/DropdownMenu.tsx +++ b/server/sonar-web/design-system/src/components/DropdownMenu.tsx @@ -17,6 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + import { css } from '@emotion/react'; import styled from '@emotion/styled'; import classNames from 'classnames'; @@ -381,7 +382,7 @@ const itemStyle = (props: ThemedProps) => css` &:disabled, &.disabled { - color: ${themeContrast('dropdownMenuDisabled')(props)}; + color: var(--echoes-color-text-disabled); background-color: ${themeColor('dropdownMenuDisabled')(props)}; pointer-events: none !important; |