aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cho-Lerat <david.cho-lerat@sonarsource.com>2024-10-11 14:54:58 +0200
committersonartech <sonartech@sonarsource.com>2024-10-11 20:02:43 +0000
commit2c0543c539f5c0d52bad69c7b5eec20e541814c1 (patch)
tree4a6e702d20c24138a974f202e3792ad4a1c83250
parent428af7fca058c643f2c163f372a4f48777e07221 (diff)
downloadsonarqube-2c0543c539f5c0d52bad69c7b5eec20e541814c1.tar.gz
sonarqube-2c0543c539f5c0d52bad69c7b5eec20e541814c1.zip
SONAR-23136 Replace 'tab' color usage in Tabs
-rw-r--r--server/sonar-web/design-system/src/components/Tabs.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/sonar-web/design-system/src/components/Tabs.tsx b/server/sonar-web/design-system/src/components/Tabs.tsx
index e498755333b..8bc9dec8b74 100644
--- a/server/sonar-web/design-system/src/components/Tabs.tsx
+++ b/server/sonar-web/design-system/src/components/Tabs.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 styled from '@emotion/styled';
import { PropsWithChildren } from 'react';
import { FormattedMessage } from 'react-intl';
@@ -119,7 +120,8 @@ const TabButton = styled(BareButton)<{
height: 34px;
background: ${(props) => (props.selected ? themeColor('backgroundSecondary') : 'none')};
- color: ${(props) => (props.selected ? themeColor('tabSelected') : themeColor('tab'))};
+ color: ${(props) =>
+ props.selected ? themeColor('tabSelected') : 'var(--echoes-color-text-subdued)'};
border: ${(props) =>
props.selected ? props.borderColor : themeBorder('default', 'transparent')};
border-bottom: ${(props) =>