File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ const TopBar: React.FC<TopBarProps> = ({
3030 >
3131 < img src = { LeftButtonSrc || '' } alt = "뒤로가기" />
3232 </ LeftButton >
33- < StyledTextWrapper $textTheme = { { style : 'body1 -bold' } } color = { theme . colors . black } >
33+ < StyledTextWrapper $textTheme = { { style : 'heading1 -bold' } } color = { theme . colors . text . primary } >
3434 { text }
3535 </ StyledTextWrapper >
3636 < RightButton
Original file line number Diff line number Diff line change 11import styled from 'styled-components' ;
2+ import theme from '@styles/theme' ;
23import { StyledText } from '@components/Text/StyledText' ;
34import type { TopBarLayoutProps } from './dto' ;
4-
55export const TopBarLayout = styled . header < TopBarLayoutProps > `
66 display: flex;
77 position: sticky;
88 top: 0; /* 부모 요소의 상단에 붙도록 설정 */
99 z-index: 99;
10- background-color: white ;
10+ background-color: ${ theme . colors . background . primary } ;
1111 width: 100%; /* 부모 너비에 맞춤 */
1212 align-items: center;
1313 padding: 0.5rem 1.25rem;
1414 ${ ( { $withBorder, theme } ) =>
1515 $withBorder &&
1616 `
17- border-bottom: solid 0.0625rem ${ theme . colors . gray2 } ;
17+ border-bottom: solid 0.0625rem ${ theme . colors . border . divider } ;
1818 ` }
1919` ;
2020
You can’t perform that action at this time.
0 commit comments