Skip to content

Commit e351285

Browse files
committed
메인 테마 변경에 따른 마크다운 테이블 스타일 변경
1 parent 9c33516 commit e351285

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

frontend/assets/styles/markdown.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ const MarkdownStyle = styled.div`
5555
font-weight: bold;
5656
}
5757
tr {
58-
border-bottom: solid 1px ${theme.colors.grey_d9};
58+
border-bottom: solid 1px ${theme.colors.white};
59+
background-color: ${theme.colors.grey_e9};
5960
height: 3rem;
6061
}
6162
tbody > tr:nth-of-type(odd) {

frontend/assets/styles/theme.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ const Theme = {
1212
black_10: '#100F0F',
1313
white: '#ffffff',
1414
grey_f9: '#f9f9f9',
15+
grey_e9: '#e9e9e9',
1516
grey_d9: '#d9d9d9',
1617
grey_99: '#999999',
1718
grey_66: '#666666',
1819
grey_33: '#333333'
1920
},
20-
gradient_violet: `linear-gradient(96.32deg, #7B61FF 0%, #C5C5F2 100%)`
21+
gradient_violet: `linear-gradient(96.32deg, #9884fc 0%, #C5C5F2 100%)`
2122
}
2223

2324
export default Theme

frontend/components/core/NavBarMobile.tsx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { useTranslation } from 'react-i18next'
55
import { useRouter } from 'next/router'
66
import { media } from '../../assets/styles/mixin'
77
import {
8-
Link,
98
SubMenuList,
109
SubMenuListItem,
1110
SubMenuToggleCheckbox,
@@ -16,6 +15,7 @@ import {
1615
import SnsLink from './SnsLink'
1716
import PyconLogoWhite from '../../public/images/pyconkr_2022_logo_white.png'
1817
import Image from 'next/image'
18+
import Link from 'next/link'
1919

2020
const Container = styled.div`
2121
display: none;
@@ -34,6 +34,10 @@ const Container = styled.div`
3434
return `background: ${props.theme.black_10};`
3535
}}
3636
`
37+
export const BlockLink = styled(Link)`
38+
display: block;
39+
cursor: pointer;
40+
`
3741

3842
const HomeLink = styled.a`
3943
display: block;
@@ -232,22 +236,22 @@ const NavBarMobile = (props: NavProps) => {
232236
<MobileSubMenuList>
233237
{route.subMenu.map((subMenu, index) => (
234238
<MobileSubMenuListItem key={index}>
235-
<Link
239+
<BlockLink
236240
href={getPath(subMenu.path)}
237241
>
238242
{t(
239243
`pageTitle:${subMenu.name}`
240244
)}
241-
</Link>
245+
</BlockLink>
242246
</MobileSubMenuListItem>
243247
))}
244248
</MobileSubMenuList>
245249
</ListItem>
246250
) : (
247251
<ListItem key={index} active={isActive(route)}>
248-
<Link href={getPath(route.path)}>
252+
<BlockLink href={getPath(route.path)}>
249253
{t(`pageTitle:${route.name}`)}
250-
</Link>
254+
</BlockLink>
251255
</ListItem>
252256
)
253257
})}

frontend/components/layout/LayoutSponsorList.tsx

Whitespace-only changes.

0 commit comments

Comments
 (0)