Skip to content

Commit

Permalink
fix: 폰트 선택 시 summary 컴포넌트에 반영되도록 수정 #23
Browse files Browse the repository at this point in the history
  • Loading branch information
jinlee1703 committed Feb 7, 2024
1 parent 4ec7a69 commit 31d992d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/production/content/summary/index.style.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const Container = styled.div`
.font_example {
border: 1px solid #000000;
background-color: gray;
font-size: 90px;
font-size: 70px;
font-weight: 600;
}
`;
5 changes: 4 additions & 1 deletion src/pages/production/content/summary/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ function Summary() {
</div>
<hr className="sep" />
<Explanation>
<p className="font_example" style={{ color: color[selectedColor].name }}>
<p
className="font_example"
style={{ color: color[selectedColor].name, fontFamily: font[selectedFont].name }}
>
Outfit Of Tire
</p>
</Explanation>
Expand Down

0 comments on commit 31d992d

Please sign in to comment.