File tree Expand file tree Collapse file tree
datahub-web-react/src/app/glossaryV2/GlossaryBrowser Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { LoadingOutlined } from '@ant-design/icons' ;
2- import { colors } from '@components' ;
32import { KeyboardArrowDownRounded , KeyboardArrowRightRounded } from '@mui/icons-material' ;
43import React , { useEffect , useState } from 'react' ;
54import 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;
Original file line number Diff line number Diff line change 1- import { colors } from '@components' ;
21import React from 'react' ;
32import { Link } from 'react-router-dom' ;
43import 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 } ;
You can’t perform that action at this time.
0 commit comments