Skip to content

Commit bae9138

Browse files
committed
Change inline code bg
1 parent af63acc commit bae9138

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/components/common/Typography.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const TypographyBlock = styled.div`
2323
font-weight: 400;
2424
}
2525
code {
26-
background: ${themedPalette.bg_element3};
26+
background: ${themedPalette.bg_inline_code};
2727
padding: 0.2em 0.4em;
2828
font-size: 85%;
2929
border-radius: 3px;

src/lib/styles/themes.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ type ThemeVariables = {
1010
bg_element7: string;
1111
bg_element8: string;
1212
bg_invert: string;
13+
bg_inline_code: string;
1314
text1: string;
1415
text2: string;
1516
text3: string;
@@ -61,6 +62,7 @@ const themeVariableSets: Record<Theme, ThemeVariables> = {
6162
bg_element7: '#FFFFFF',
6263
bg_element8: '#FBFDFC',
6364
bg_invert: '#1E1E1E',
65+
bg_inline_code: '#E9ECEF',
6466
text1: '#212529',
6567
text2: '#495057',
6668
text3: '#868E96',
@@ -106,6 +108,7 @@ const themeVariableSets: Record<Theme, ThemeVariables> = {
106108
bg_element7: '#252525',
107109
bg_element8: '#1E1E1E',
108110
bg_invert: '#FFFFFF',
111+
bg_inline_code: '##2c4840',
109112
text1: '#ECECEC',
110113
text2: '#D9D9D9',
111114
text3: '#ACACAC',

0 commit comments

Comments
 (0)