Skip to content

Commit

Permalink
feat: use pretendard
Browse files Browse the repository at this point in the history
  • Loading branch information
dotoleeoak committed Feb 29, 2024
1 parent d55c954 commit c0c0915
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
25 changes: 12 additions & 13 deletions .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,20 @@ export default defineConfig({
},

head: [
['link', { rel: 'icon', href: '/logo.png' }],
['link', { rel: 'preconnect', href: 'https://fonts.googleapis.com' }],
[
'link',
{
rel: 'preconnect',
href: 'https://fonts.gstatic.com',
crossorigin: ''
rel: 'icon',
href: '/logo.png'
}
],
[
'link',
{
rel: 'stylesheet',
href: 'https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700&display=swap'
as: 'style',
crossorigin: '',
href: 'https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/variable/pretendardvariable-dynamic-subset.min.css'
}
]
],
Expand Down Expand Up @@ -54,19 +53,19 @@ export default defineConfig({
text: 'Introduction',
items: [
{
text: 'What is Codedang?',
text: '코드당이 뭔가요?',
link: '/intro/'
},
{
text: 'Getting Started',
text: '시작하기',
link: '/intro/getting-started'
},
{
text: 'Contributing Guide',
link: 'https://github.com/skkuding/next/blob/main/CONTRIBUTING.md'
},
{
text: 'API Documentation',
text: 'API 문서',
link: '/intro/bruno'
}
]
Expand All @@ -75,19 +74,19 @@ export default defineConfig({
text: 'Project',
items: [
{
text: 'Tech Stack',
text: '기술 스택',
link: '/project/tech-stack'
},
{
text: 'Hierarchy',
text: '프로젝트 구조',
link: '/project/hierarchy'
},
{
text: 'How Deployments Work',
text: '배포 과정',
link: '/project/deploy'
},
{
text: 'Stage Server',
text: 'Staging vs Production',
link: '/project/stage-server'
},
{
Expand Down
7 changes: 4 additions & 3 deletions .vitepress/theme/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
--c-blue-dark: #2e6de9;
--c-blue-light: #4d9dfc;

--vp-font-family-base: 'Inter var experimental', 'Inter var', 'Noto Sans KR',
-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
--vp-font-family-base: 'Inter var experimental', 'Inter var',
'Pretendard Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;

--vp-home-hero-name-color: transparent;
--vp-home-hero-name-background: var(--c-blue);
Expand Down

0 comments on commit c0c0915

Please sign in to comment.