Skip to content

Commit 3f1fb96

Browse files
committed
Change tag bg color
1 parent 8edb036 commit 3f1fb96

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/components/common/TagItem.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const TagItem: React.FC<TagItemProps> = ({ name, link }) => {
1919

2020
const tagStyle = css`
2121
margin-bottom: 0.875rem;
22-
background: ${themedPalette.bg_element3};
22+
background: ${themedPalette.bg_tag};
2323
padding-left: 1rem;
2424
padding-right: 1rem;
2525
height: 2rem;
@@ -49,7 +49,7 @@ const TagDiv = styled.div`
4949
const TagLink = styled(Link)`
5050
${tagStyle}
5151
&:hover {
52-
background: ${themedPalette.bg_element4};
52+
opacity: 0.75;
5353
}
5454
`;
5555

src/lib/styles/themes.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ type ThemeVariables = {
1111
bg_element8: string;
1212
bg_invert: string;
1313
bg_inline_code: string;
14+
bg_tag: string;
1415
text1: string;
1516
text2: string;
1617
text3: string;
@@ -63,6 +64,8 @@ const themeVariableSets: Record<Theme, ThemeVariables> = {
6364
bg_element8: '#FBFDFC',
6465
bg_invert: '#1E1E1E',
6566
bg_inline_code: '#E9ECEF',
67+
bg_tag: '#F8F9FA',
68+
6669
text1: '#212529',
6770
text2: '#495057',
6871
text3: '#868E96',
@@ -109,6 +112,7 @@ const themeVariableSets: Record<Theme, ThemeVariables> = {
109112
bg_element8: '#0c0c0c',
110113
bg_invert: '#FFFFFF',
111114
bg_inline_code: '#363636',
115+
bg_tag: '#252525',
112116
text1: '#ECECEC',
113117
text2: '#D9D9D9',
114118
text3: '#ACACAC',

0 commit comments

Comments
 (0)