commit c28e24d9439afd64180b49891827e69bf3d18f7d
parent 814f68f846eedbf852d456aedd35277eecef84b2
Author: Amit Dutta <mail@amit.is-a.dev>
Date: Fri, 7 Aug 2026 20:05:07 +0530
Merge pull request #28 from notamitgamer/edit-20260807-200434
changed the font
Diffstat:
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts
@@ -13,7 +13,7 @@ const vitePressConfig = {
['link', { rel: 'icon', type: 'image/svg+xml', href: '/logo_light.svg' }],
['link', { rel: 'preconnect', href: 'https://fonts.googleapis.com' }],
['link', { rel: 'preconnect', href: 'https://fonts.gstatic.com', crossorigin: '' }],
- ['link', { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700&display=swap' }],
+ ['link', { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap' }],
// Algolia Search warm-up
['link', { rel: 'preconnect', href: 'https://5PYB0FB4RG-dsn.algolia.net', crossorigin: '' }],
@@ -175,8 +175,8 @@ const vitePressConfig = {
lazyLoading: true
},
theme: {
- light: 'github-light',
- dark: 'github-dark'
+ light: 'catppuccin-latte',
+ dark: 'catppuccin-mocha'
} as any
},
}
@@ -197,4 +197,4 @@ const sidebarConfig = {
capitalizeFirst: true,
}
-export default defineConfig(withSidebar(vitePressConfig, sidebarConfig))
+export default defineConfig(withSidebar(vitePressConfig, sidebarConfig))+
\ No newline at end of file
diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css
@@ -73,7 +73,8 @@
--vp-c-info: #1e66f5;
/* Font */
- --vp-font-family-base: 'Lexend', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+ --vp-font-family-base: 'IBM Plex Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+ --vp-font-family-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', 'Menlo', 'Consolas', 'Liberation Mono', monospace;
}