Skip to content

Instantly share code, notes, and snippets.

@anaclumos
Created October 23, 2019 01:20
Show Gist options
  • Save anaclumos/37acce7d5f1ee1ab2d4b50382761d272 to your computer and use it in GitHub Desktop.
Save anaclumos/37acce7d5f1ee1ab2d4b50382761d272 to your computer and use it in GitHub Desktop.
Spoqa Sans 영문 폰트가 (Noto) 마음에 들지 않아서 영문의 경우 시스템 폰트를 쓰도록 만든 CSS
@font-face {
font-family: 'Spoqa Han Sans';
font-weight: 400;
src: local('Spoqa Han Sans Regular'), url('https://cdn.jsdelivr.net/gh/spoqa/spoqa-han-sans@01ff0283e4f36e159ffbf744b36e16ef742da6d8/Subset/SpoqaHanSans/SpoqaHanSansRegular.woff2') format('woff2'), url('https://cdn.jsdelivr.net/gh/spoqa/spoqa-han-sans@01ff0283e4f36e159ffbf744b36e16ef742da6d8/Subset/SpoqaHanSans/SpoqaHanSansRegular.woff') format('woff'), url('https://cdn.jsdelivr.net/gh/spoqa/spoqa-han-sans@01ff0283e4f36e159ffbf744b36e16ef742da6d8/Subset/SpoqaHanSans/SpoqaHanSansRegular.ttf') format('truetype');
unicode-range: U+AC00-D7AF, U+0000-0040, U+005B-0060, U+007B-007F
}
@font-face {
font-family: 'Spoqa Han Sans';
font-weight: 300;
src: local('Spoqa Han Sans Light'), url('https://cdn.jsdelivr.net/gh/spoqa/spoqa-han-sans@01ff0283e4f36e159ffbf744b36e16ef742da6d8/Subset/SpoqaHanSans/SpoqaHanSansLight.woff2') format('woff2'), url('https://cdn.jsdelivr.net/gh/spoqa/spoqa-han-sans@01ff0283e4f36e159ffbf744b36e16ef742da6d8/Subset/SpoqaHanSans/SpoqaHanSansLight.woff') format('woff'), url('https://cdn.jsdelivr.net/gh/spoqa/spoqa-han-sans@01ff0283e4f36e159ffbf744b36e16ef742da6d8/Subset/SpoqaHanSans/SpoqaHanSansLight.ttf') format('truetype');
unicode-range: U+AC00-D7AF, U+0000-0040, U+005B-0060, U+007B-007F
}
:root {
--font-family-primary: 'Spoqa Han Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
--font-weight-primary-regular: 300;
--font-weight-primary-bold: 400;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment