Skip to content

Commit

Permalink
Merge pull request #119 from softeerbootcamp4th/hotfix
Browse files Browse the repository at this point in the history
hotfix: 배경 이미지 경로 수정 및 폰트 수정
  • Loading branch information
DaeWon9 authored Aug 23, 2024
2 parents c7f0fe9 + 22a333f commit 009ef8e
Show file tree
Hide file tree
Showing 20 changed files with 38 additions and 51 deletions.
6 changes: 3 additions & 3 deletions packages/core/src/theme/globalStyles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import { css } from "@emotion/react";
export const globalStyles = css`
@font-face {
font-family: "Pretendard-Bold";
src: url("/fonts/pretendard/Pretendard-Bold.otf") format("opentype");
src: url("/fonts/pretendard/Pretendard-Bold.woff") format("woff");
}
@font-face {
font-family: "Pretendard-Medium";
src: url("/fonts/pretendard/Pretendard-Medium.otf") format("opentype");
src: url("/fonts/pretendard/Pretendard-Medium.woff") format("woff");
}
@font-face {
font-family: "Pretendard-SemiBold";
src: url("/fonts/pretendard/Pretendard-SemiBold.otf") format("opentype");
src: url("/fonts/pretendard/Pretendard-SemiBold.woff") format("woff");
}
@font-face {
font-family: "PyeongChang-Bold";
Expand Down
46 changes: 23 additions & 23 deletions packages/core/src/theme/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,94 +101,94 @@ export const theme: ITheme = {
},
font: {
preM: css`
font-family: "Pretendard-Medium";
font-family: "Pretendard-Medium", serif;
`,
preSB: css`
font-family: "Pretendard-SemiBold";
font-family: "Pretendard-SemiBold", serif;
`,
preB: css`
font-family: "Pretendard-Bold";
font-family: "Pretendard-Bold", serif;
`,

preM20: css`
font-family: "Pretendard-Medium";
font-family: "Pretendard-Medium", serif;
font-size: 20px;
`,
preM18: css`
font-family: "Pretendard-Medium";
font-family: "Pretendard-Medium", serif;
font-size: 18px;
`,
preM14: css`
font-family: "Pretendard-Medium";
font-family: "Pretendard-Medium", serif;
font-size: 14px;
`,
preSB86: css`
font-family: "Pretendard-SemiBold";
font-family: "Pretendard-SemiBold", serif;
font-size: 86px;
`,
preB38: css`
font-family: "Pretendard-Bold";
font-family: "Pretendard-Bold", serif;
font-size: 38px;
`,
preB28: css`
font-family: "Pretendard-Bold";
font-family: "Pretendard-Bold", serif;
font-size: 28px;
`,
preB24: css`
font-family: "Pretendard-Bold";
font-family: "Pretendard-Bold", serif;
font-size: 24px;
`,
preB18: css`
font-family: "Pretendard-Bold";
font-family: "Pretendard-Bold", serif;
font-size: 18px;
`,
preB16: css`
font-family: "Pretendard-Bold";
font-family: "Pretendard-Bold", serif;
font-size: 16px;
`,

pcpL: css`
font-family: "PyeongChangPeace-Light";
font-family: "PyeongChangPeace-Light", serif;
`,
pcpB: css`
font-family: "PyeongChangPeace-Bold";
font-family: "PyeongChangPeace-Bold", serif;
`,
pcpL80: css`
font-family: "PyeongChangPeace-Light";
font-family: "PyeongChangPeace-Light", serif;
font-size: 80px;
`,
pcpL32: css`
font-family: "PyeongChangPeace-Light";
font-family: "PyeongChangPeace-Light", serif;
font-size: 32px;
`,
pcpL28: css`
font-family: "PyeongChangPeace-Light";
font-family: "PyeongChangPeace-Light", serif;
font-size: 28px;
`,

pcpB82: css`
font-family: "PyeongChangPeace-Bold";
font-family: "PyeongChangPeace-Bold", serif;
font-size: 82px;
`,
pcpB28: css`
font-family: "PyeongChangPeace-Bold";
font-family: "PyeongChangPeace-Bold", serif;
font-size: 28px;
`,

pcB: css`
font-family: "PyeongChang-Bold";
font-family: "PyeongChang-Bold", serif;
`,

pcB40: css`
font-family: "PyeongChang-Bold";
font-family: "PyeongChang-Bold", serif;
font-size: 40px;
`,
pcB28: css`
font-family: "PyeongChang-Bold";
font-family: "PyeongChang-Bold", serif;
font-size: 28px;
`,
pcB16: css`
font-family: "PyeongChang-Bold";
font-family: "PyeongChang-Bold", serif;
font-size: 16px;
`,
},
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
5 changes: 2 additions & 3 deletions packages/service/src/common/components/Button/Button.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ export const smallDarkButtonStyle = css`

export const smallLightButtonStyle = css`
${theme.flex.center}
${theme.font.preM20}
${theme.font.preB}
font-size: 20;
color: ${theme.color.black};
font-weight: 600;
background: ${theme.color.white};
width: 180px;
height: 52px;
Expand All @@ -102,7 +102,6 @@ export const hugeButtonStyle = css`
width: 597px;
height: 115px;
padding: 35px 138px;
font-weight: 700;
gap: 10px;
flex-shrink: 0;
border: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export const clipButtonStyle = css`
width: 265px;
height: 50px;
padding: 9px 57px;
font-weight: 500;
gap: 10px;
flex-shrink: 0;
border-radius: 8px;
Expand Down Expand Up @@ -40,15 +39,13 @@ export const clipButtonContentStyle = css`
${theme.flex.center}
${theme.font.preB18}
color: ${theme.color.black};
font-weight: 500;
gap: 10px;
`;

export const clipButtonSuccessContentStyle = css`
${theme.flex.center}
${theme.font.preB18}
color: ${theme.color.eventBlue};
font-weight: 500;
gap: 10px;
rect {
stroke: ${theme.color.eventBlue};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const eventNumber = css`
`;

export const eventTitle = css`
${theme.font.pcpB};
${theme.font.preB};
${theme.margin.mg12}
font-size: 30px;
Expand Down
3 changes: 1 addition & 2 deletions packages/service/src/pages/Error/Error.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import { css } from "@emotion/react";
import { theme } from "@watermelon-clap/core/src/theme";

export const errorContainerStyle = css`
background-image: url("/images/common/main-bg.webp"),
url("/images/common/main-bg.webp");
background-image: url("/images/common/main-bg.webp");
background-size: cover;
background-position: center;
Expand Down
3 changes: 1 addition & 2 deletions packages/service/src/pages/Loading/Loading.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import { css } from "@emotion/react";
import { theme } from "@watermelon-clap/core/src/theme";

export const loadingStyle = css`
background-image: url("/images/common/main-bg.webpg"),
url("images/common/main-bg.webp");
background-image: url("/images/common/main-bg.webp");
background-size: cover;
background-position: center;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import { mobile } from "@service/common/responsive/responsive";
import { theme } from "@watermelon-clap/core/src/theme";

export const mainBg = css`
background-image: url("/images/common/main-bg.webp"),
url("/images/common/main-bg.webp");
background-image: url("/images/common/main-bg.webp");
background-size: cover;
padding-bottom: 200px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import { mobile } from "@service/common/responsive/responsive";
import { theme } from "@watermelon-clap/core/src/theme";

export const mainBg = css`
background-image: url("/images/common/main-bg.webp"),
url("/images/common/main-bg.webp");
background-image: url("/images/common/main-bg.webp");
background-size: cover;
padding-bottom: 200px;
min-height: calc(100vh - 356px);
Expand Down
3 changes: 1 addition & 2 deletions packages/service/src/pages/Main/Main.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import { css } from "@emotion/react";
import { mobile } from "@service/common/responsive/responsive";

export const mainBg = css`
background-image: url("images/common/main-bg.webp"),
url("images/common/main-bg.webp");
background-image: url("/images/common/main-bg.webp");
background-size: cover;
padding-bottom: 200px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import { mobile } from "@service/common/responsive/responsive";
import { theme } from "@watermelon-clap/core/src/theme";

export const mainBg = css`
background-image: url("/images/common/main-bg.webp"),
url("/images/common/main-bg.webp");
background-image: url("/images/common/main-bg.webp");
background-size: cover;
padding: 0 5%;
padding-bottom: 100px;
Expand Down
3 changes: 1 addition & 2 deletions packages/service/src/pages/PartsPick/PartsPick.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import { mobile } from "@service/common/responsive/responsive";
import { theme } from "@watermelon-clap/core/src/theme";

export const partsPickBackgroundStyle = css`
background-image: url("/images/common/main-bg.webp"),
url("/images/common/main-bg.webp");
background-image: url("/images/common/main-bg.webp");
background-size: cover;
background-position: center;
Expand Down
3 changes: 1 addition & 2 deletions packages/service/src/pages/PickEvent/PickEvent.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import { mobile } from "@service/common/responsive/responsive";
import { theme } from "@watermelon-clap/core/src/theme";

export const bg = css`
background-image: url("images/common/main-bg.webp"),
url("images/common/main-bg.webp");
background-image: url("/images/common/main-bg.webp");
background-size: cover;
padding-top: 54px;
padding-bottom: 200px;
Expand Down
3 changes: 1 addition & 2 deletions packages/service/src/pages/Share/Share.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import { SHARE_BREAKPOINT } from "@service/constants/breakpoints";
import { theme } from "@watermelon-clap/core/src/theme";

export const mainBg = css`
background-image: url("/images/common/main-bg.webp"),
url("/images/common/main-bg.webp");
background-image: url("/images/common/main-bg.webp");
background-size: cover;
padding-bottom: 200px;
Expand Down

0 comments on commit 009ef8e

Please sign in to comment.