โป์ถ๊ฐ. ๊ฐ์๊ธฐ ์ ์ฉ ์ ๋์ด์ ๋๋ผ๊ฐ์ง๊ณ ์ถ๊ฐํฉ๋๋ค.โป
!important๋ฅผ ์ ์ฉ ์ ๋๋ ์ฝ๋ ๋ค์ ๋ถ์ด๋ฉด ๋ฉ๋๋ค.(์ฐ์ ์์ ๋์ด์น๊ธฐ ํ๋ ๊ฒ๋๋ค...)
ํฌ๋กฌ์์ User CSS๋ผ๋ ํ์ฅ ํ๋ก๊ทธ๋จ์ ๊น๋๋ค.(์จ์ผ์์ User javascript and CSS๋ผ๋ ํ์ฅ ํ๋ก๊ทธ๋จ๋ ๋ฉ๋๋ค.)
์ฝ์ฝํฌ๋ฆฌ์ ์ฌ์ดํธ ๋ค์ด๊ฐ์ ๊น๋ฆฐ ํ์ฅ ํ๋ก๊ทธ๋จ์ ๋๋ฌ์ ์ผ์ค๋๋ค.(์ฐ์ธก ์ ์์ด์ฝ ์ค ํผ์ฆ ๊ฐ์ ๊ฑฐ ์์ต๋๋ค.)
๋๋ ๊ฐ์ ์ฌ์ดํธ์์ HTML ์น ํฐํธ๊ฐ ์๋ ๊ฒ๋ค์ ์ฐพ์ต๋๋ค.
์ ๋ ๊ธฐ๋ณธ์ผ๋ก ChosunGu๋ผ๋ ํฐํธ์ THeJamsil5Bold๋ก ๋์ด์๋๋ฐ ์ด๋ ๊ฒ ํฐํธ 2๊ฐ๋ก ํ์๊ฑฐ๋ ํ๋๋ ๋ณผ๋๋ก ํด์ ๊ตฌ๋ถํ์๋ ๊ฒ ๊ฐ๋ ์ฑ์ด ์ข์ต๋๋ค.
@font-face ๋ค์ ์ค๊ดํธ ์๋ ๊ฒ๋ค์ ๊ณ ๋ฅธ ํฐํธ์ ์ฝ๋๋ก ๋ฐ๊พธ์ด์ค๋๋ค.
๊ทธ ์๋ ์ฃผ์ /*๋ก ๋์ด์๋ ๊ฒ์ด ์ค๋ช ์ด๊ณ ๊ทธ ์๋ font-family ๋ค์ ์ ํ ์๋ฐ์ดํ ์์ ๊ณ ๋ฅธ ํฐํธ ์ด๋ฆ๊ณผ ๋์ผํ๊ฒ ๋ฃ์ด์ค๋๋ค. ํฐํธ ์ฌ์ด์ฆ๋ ํ์ธํ๋ฉด์ ๋ฐ๊พธ์๊ณ ์.(์ฌ๋งํ๋ฉด UI ๋๋ฌธ์ ์ ๊ฑด๋๋ฆฌ๋ ๊ฒ ๋ซ์ต๋๋ค. ๊นจ์ง ์ ์์)
@font-face {
font-family: 'ChosunGu';
src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@1.0/ChosunGu.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'TheJamsil5Bold';
src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302_01@1.0/TheJamsil5Bold.woff2') format('woff2');
font-weight: 700;
font-style: normal;
}
/*์ธ์
์ ๋ชฉ, "๋ฃธ ์ฑํ
", ์บ๋ฆญํฐ ์ด๋ฆ*/
.MuiTypography-subtitle2{
font-size: 0.875rem;
font-family: "TheJamsil5Bold", Helvetica, Arial, sans-serif;
font-weight: bold;
line-height: 1.57;
letter-spacing: 0.00714em;
}
/*์บ๋ฆญํฐ ํ๋ฉด ์ด๋ฆ*/
.MuiTypography-caption{
font-size: 0.75rem;
font-family: "TheJamsil5Bold", Helvetica, Arial, sans-serif;
font-weight: 400;
line-height: 1.66;
letter-spacing: 0.03333em;
}
/*๋ธ๊ธ ๋ฒํผ*/
.MuiButton-root{
font-size: 0.8rem;
font-family: "ChosunGu", Helvetica, Arial, sans-serif;
font-weight: bold;
line-height: 1.75;
letter-spacing: 0.02857em;
}
/*์ผ์ชฝ ๋ฐ์ดํฐ, ์ฑํ
*/
.MuiTypography-body2{
font-size: 0.875rem;
font-family: "ChosunGu", Helvetica, Arial, sans-serif;
font-weight: 3600;
letter-spacing: 0.01071em;
}
/*ํ๋ฉด ํ
์คํธ*/
.MuiChip-root{
font-family: "ChosunGu", Helvetica, Arial, sans-serif;
}
/*์ฐฝ ์ ๋ชฉ*/
.MuiTypography-body1{
font-size: 1rem;
font-family: "TheJamsil5Bold", Helvetica, Arial, sans-serif;
font-weight: 400;
line-height: 1.5;
letter-spacing: 0.00938em;
}
/*์ฐฝ ๋ด์ ๋ถ๊ฐ์ค๋ช
*/
.MuiFormLabel-root{
font-size: 1rem;
font-family: "ChosunGu", Helvetica, Arial, sans-serif;
font-weight: 400;
line-height: 1;
letter-spacing: 0.00938em;
}
/*์ฐฝ ์์ ๋ฐ์ดํฐ*/
.MuiInputBase-root{
font-size: 1rem;
font-family: "ChosunGu", Helvetica, Arial, sans-serif;
font-weight: 400;
line-height: 1.1876em;
letter-spacing: 0.00938em;
}
/*์ฐํด๋ฆญ ์ฐฝ*/
.MuiMenuItem-dense{
font-size: 0.875rem;
font-family: "ChosunGu", Helvetica, Arial, sans-serif;
font-weight: 400;
line-height: 1.43;
letter-spacing: 0.01071em;
}
/*๋ง์ฐ์ค์ค๋ฒ*/
.MuiTooltip-tooltip {
font-size: 0.8rem;
max-width: 300px;
font-family: "ChosunGu", Helvetica, Arial, sans-serif;
font-weight: 500;
line-height: 1.4em;
}
ํฐํธ๊ฐ ๋ท์ฒด์ ๋ฐ๋ผ ๊นจ์ง๋ ํฐํธ๋ค์ด ๋ค์๋ผ์(์์ ์ค์ ๋ ํฐํธ๋ ํด๋นํ ๊ฒ์),
์ดํ๋ ์ ๊ฐ ์ง์ ์ฌ์ฉํ๋ ํฐํธ ๋ฃ์ด๋ ์ฝ๋์ ๋๋ค.(๋ชจ๋ ํฐํธ ๊ณ ์ด๋์์ผ๋ก ๋์ผ)
@font-face {
font-family: 'GowunDodum-Regular';
src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/GowunDodum-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
}
/*์ธ์
์ ๋ชฉ, "๋ฃธ ์ฑํ
", ์บ๋ฆญํฐ ์ด๋ฆ*/
.MuiTypography-subtitle2{
font-size: 0.875rem;
font-family: 'GowunDodum-Regular', Helvetica, Arial, sans-serif;
font-weight: bold;
line-height: 1.57;
letter-spacing: 0.00714em;
}
/*์บ๋ฆญํฐ ํ๋ฉด ์ด๋ฆ*/
.MuiTypography-caption{
font-size: 0.75rem;
font-family: 'GowunDodum-Regular', Helvetica, Arial, sans-serif;
font-weight: 400;
line-height: 1.66;
letter-spacing: 0.03333em;
}
/*๋ธ๊ธ ๋ฒํผ*/
.MuiButton-root{
font-size: 0.8rem;
font-family: 'GowunDodum-Regular', Helvetica, Arial, sans-serif;
font-weight: bold;
line-height: 1.75;
letter-spacing: 0.02857em;
}
/*์ผ์ชฝ ๋ฐ์ดํฐ, ์ฑํ
*/
.MuiTypography-body2{
font-size: 0.875rem;
font-family: 'GowunDodum-Regular', Helvetica, Arial, sans-serif;
font-weight: 3600;
letter-spacing: 0.01071em;
}
/*ํ๋ฉด ํ
์คํธ*/
.MuiChip-root{
font-family: 'GowunDodum-Regular', Helvetica, Arial, sans-serif;
}
/*์ฐฝ ์ ๋ชฉ*/
.MuiTypography-body1{
font-size: 1rem;
font-family: 'GowunDodum-Regular', Helvetica, Arial, sans-serif;
font-weight: 400;
line-height: 1.5;
letter-spacing: 0.00938em;
}
/*์ฐฝ ๋ด์ ๋ถ๊ฐ์ค๋ช
*/
.MuiFormLabel-root{
font-size: 1rem;
font-family: 'GowunDodum-Regular', Helvetica, Arial, sans-serif;
font-weight: 400;
line-height: 1;
letter-spacing: 0.00938em;
}
/*์ฐฝ ์์ ๋ฐ์ดํฐ*/
.MuiInputBase-root{
font-size: 1rem;
font-family: 'GowunDodum-Regular', Helvetica, Arial, sans-serif;
font-weight: 400;
line-height: 1.1876em;
letter-spacing: 0.00938em;
}
/*์ฐํด๋ฆญ ์ฐฝ*/
.MuiMenuItem-dense{
font-size: 0.875rem;
font-family: 'GowunDodum-Regular', Helvetica, Arial, sans-serif;
font-weight: 400;
line-height: 1.43;
letter-spacing: 0.01071em;
}
/*๋ง์ฐ์ค์ค๋ฒ*/
.MuiTooltip-tooltip {
font-size: 0.8rem;
max-width: 300px;
font-family: 'GowunDodum-Regular', Helvetica, Arial, sans-serif;
font-weight: 500;
line-height: 1.4em;
}