aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/design-system/src/sonar-aligned/components/input/SelectCommon.tsx
diff options
context:
space:
mode:
authorDavid Cho-Lerat <david.cho-lerat@sonarsource.com>2024-10-11 09:31:53 +0200
committersonartech <sonartech@sonarsource.com>2024-10-11 20:02:43 +0000
commit440979d214213927ce1509fd8145edd3de5b0a0f (patch)
treeaa4a44730cf44c4bd723e16c8cb368e986a514b2 /server/sonar-web/design-system/src/sonar-aligned/components/input/SelectCommon.tsx
parenta413935aa2a1ae0e78eab1111244556ec46726b8 (diff)
downloadsonarqube-440979d214213927ce1509fd8145edd3de5b0a0f.tar.gz
sonarqube-440979d214213927ce1509fd8145edd3de5b0a0f.zip
SONAR-23136 Accessibility - Replace old blueGrey[300] color code by new Echoes tokens
Diffstat (limited to 'server/sonar-web/design-system/src/sonar-aligned/components/input/SelectCommon.tsx')
-rw-r--r--server/sonar-web/design-system/src/sonar-aligned/components/input/SelectCommon.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/design-system/src/sonar-aligned/components/input/SelectCommon.tsx b/server/sonar-web/design-system/src/sonar-aligned/components/input/SelectCommon.tsx
index a5c8b75b996..cd22d4c4cc6 100644
--- a/server/sonar-web/design-system/src/sonar-aligned/components/input/SelectCommon.tsx
+++ b/server/sonar-web/design-system/src/sonar-aligned/components/input/SelectCommon.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 { useTheme as themeInfo } from '@emotion/react';
import { RefObject } from 'react';
import { useIntl } from 'react-intl';
@@ -153,7 +154,7 @@ export function selectStyle<
: 'none',
borderRadius: '4px',
...(isDisabled && {
- color: themeContrast('inputDisabled')({ theme }),
+ color: 'var(--echoes-color-text-disabled)',
background: themeColor('inputDisabled')({ theme }),
border: themeBorder('default', 'inputDisabledBorder')({ theme }),
outline: 'none',