fix: update glossary icon color (#11202)

This commit is contained in:
karanh37 2023-04-21 23:46:06 +05:30 committed by GitHub
parent 0679d427b3
commit defa77c09b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 2 deletions

View File

@ -50,7 +50,11 @@ export const EntityHeader = ({
serviceName, serviceName,
}: Props) => { }: Props) => {
return ( return (
<Row className="w-full" gutter={0} justify="space-between" wrap={false}> <Row
className="w-full font-medium"
gutter={0}
justify="space-between"
wrap={false}>
<Col> <Col>
<div <div
className={classNames( className={classNames(

View File

@ -40,6 +40,7 @@ import { ReactComponent as TableIcon } from '../assets/svg/table-grey.svg';
import { ReactComponent as TopicIcon } from '../assets/svg/topic-grey.svg'; import { ReactComponent as TopicIcon } from '../assets/svg/topic-grey.svg';
import { FQN_SEPARATOR_CHAR } from '../constants/char.constants'; import { FQN_SEPARATOR_CHAR } from '../constants/char.constants';
import { import {
DE_ACTIVE_COLOR,
getDashboardDetailsPath, getDashboardDetailsPath,
getDatabaseDetailsPath, getDatabaseDetailsPath,
getDatabaseSchemaDetailsPath, getDatabaseSchemaDetailsPath,
@ -274,7 +275,7 @@ export const getEntityLink = (
export const getServiceIcon = (source: SourceType) => { export const getServiceIcon = (source: SourceType) => {
if (source.entityType === EntityType.GLOSSARY_TERM) { if (source.entityType === EntityType.GLOSSARY_TERM) {
return <IconFlatFolder className="h-9" />; return <IconFlatFolder className="h-9" color={DE_ACTIVE_COLOR} />;
} else if (source.entityType === EntityType.TAG) { } else if (source.entityType === EntityType.TAG) {
return <IconTag className="h-9" />; return <IconTag className="h-9" />;
} else { } else {