Skip to content

Commit 38d5aee

Browse files
committed
update remaining colors in glossaryV2 folder
1 parent f6ac3f1 commit 38d5aee

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

datahub-web-react/src/app/glossaryV2/GlossaryBrowser/NodeItem.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { LoadingOutlined } from '@ant-design/icons';
2-
import { colors } from '@components';
32
import { KeyboardArrowDownRounded, KeyboardArrowRightRounded } from '@mui/icons-material';
43
import React, { useEffect, useState } from 'react';
54
import styled from 'styled-components/macro';
@@ -48,7 +47,7 @@ const NodeWrapper = styled.div<{ $isSelected: boolean; $depth: number }>`
4847
padding-left: calc(${(props) => (props.$depth ? props.$depth * 18 + 12 : 12)}px);
4948
5049
&:hover {
51-
background-color: ${colors.gray[100]};
50+
background-color: ${(props) => props.theme.colors.bgHover};
5251
${NameWrapper} {
5352
color: ${(props) => props.theme.colors.textBrand};
5453
}
@@ -96,8 +95,8 @@ const ChildrenCount = styled.div`
9695
align-items: center;
9796
justify-content: center;
9897
border-radius: 20px;
99-
background-color: ${colors.gray[100]};
100-
color: ${colors.gray[1700]};
98+
background-color: ${(props) => props.theme.colors.bgHover};
99+
color: ${(props) => props.theme.colors.textSecondary};
101100
font-size: 12px;
102101
height: 22px;
103102
min-width: 28px;

datahub-web-react/src/app/glossaryV2/GlossaryBrowser/TermItem.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { colors } from '@components';
21
import React from 'react';
32
import { Link } from 'react-router-dom';
43
import styled from 'styled-components/macro';
@@ -18,7 +17,7 @@ const TermWrapper = styled.div<{ $isSelected: boolean; $depth: number }>`
1817
align-items: center;
1918
2019
&:hover {
21-
background-color: ${colors.gray[100]};
20+
background-color: ${(props) => props.theme.colors.bgHover};
2221
a,
2322
span {
2423
color: ${(props) => props.theme.colors.textBrand};

0 commit comments

Comments
 (0)