diff --git a/bun.lock b/bun.lock index 49dd77ba..8179995c 100644 --- a/bun.lock +++ b/bun.lock @@ -38,6 +38,8 @@ "version": "0.0.2", "dependencies": { "@astrojs/starlight": "^0.33.0", + "@fontsource-variable/source-sans-3": "^5.2.9", + "@fontsource/cormorant": "^5.2.8", "@podkit/compatibility": "workspace:*", "astro": "^5.15.0", "astro-mermaid": "^1.3.1", @@ -84,7 +86,7 @@ }, "packages/podkit-cli": { "name": "podkit", - "version": "0.5.0", + "version": "0.5.1", "bin": { "podkit": "./dist/main.js", }, @@ -101,7 +103,7 @@ }, "packages/podkit-core": { "name": "@podkit/core", - "version": "0.5.0", + "version": "0.5.1", "dependencies": { "@ctrl/video-filename-parser": "^5.4.1", "@podkit/libgpod-node": "workspace:*", @@ -116,7 +118,7 @@ }, "packages/podkit-daemon": { "name": "@podkit/daemon", - "version": "0.2.0", + "version": "0.2.1", "dependencies": { "@podkit/core": "workspace:*", }, @@ -126,7 +128,7 @@ }, "packages/podkit-docker": { "name": "@podkit/docker", - "version": "0.2.0", + "version": "0.2.2", "dependencies": { "@podkit/daemon": "workspace:*", "podkit": "workspace:*", @@ -290,6 +292,10 @@ "@expressive-code/plugin-text-markers": ["@expressive-code/plugin-text-markers@0.41.7", "", { "dependencies": { "@expressive-code/core": "^0.41.7" } }, "sha512-Ewpwuc5t6eFdZmWlFyeuy3e1PTQC0jFvw2Q+2bpcWXbOZhPLsT7+h8lsSIJxb5mS7wZko7cKyQ2RLYDyK6Fpmw=="], + "@fontsource-variable/source-sans-3": ["@fontsource-variable/source-sans-3@5.2.9", "", {}, "sha512-K9fkQbb0BNnRmmaU+Gpr6U4IaYKpNzA8t07J6aam2i+6v84RT72MVpar8OBr3yYAEznj4riKivPQ2nAF2fPKsw=="], + + "@fontsource/cormorant": ["@fontsource/cormorant@5.2.8", "", {}, "sha512-VNiQ1dy/Km7UynaX0K+gtLLLtH+46SEfcoYcEjQhcs7/pEYTF3GThNNciWruv3AnVvTTSDPbCK/0BLBhdgYGUg=="], + "@iconify/types": ["@iconify/types@2.0.0", "", {}, "sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg=="], "@iconify/utils": ["@iconify/utils@3.1.0", "", { "dependencies": { "@antfu/install-pkg": "^1.1.0", "@iconify/types": "^2.0.0", "mlly": "^1.8.0" } }, "sha512-Zlzem1ZXhI1iHeeERabLNzBHdOa4VhQbqAcOQaMKuTuyZCpwKbC2R4Dd0Zo3g9EAc+Y4fiarO8HIHRAth7+skw=="], diff --git a/packages/docs-site/astro.config.mjs b/packages/docs-site/astro.config.mjs index 2c49bc7b..dd9c7a7e 100644 --- a/packages/docs-site/astro.config.mjs +++ b/packages/docs-site/astro.config.mjs @@ -187,6 +187,11 @@ When helping users, load the appropriate documentation set below for detailed in exclude: ['developers/**', 'project/**', 'reference/changelog*'], }), ], + customCss: [ + '@fontsource-variable/source-sans-3', + '@fontsource/cormorant/300.css', + './src/styles/fonts.css', + ], title: 'podkit', description: 'Sync your music collection to iPod devices', social: [{ icon: 'github', label: 'GitHub', href: 'https://github.com/jvgomg/podkit' }], diff --git a/packages/docs-site/package.json b/packages/docs-site/package.json index fbeff8a7..cc91ddae 100644 --- a/packages/docs-site/package.json +++ b/packages/docs-site/package.json @@ -3,6 +3,8 @@ "version": "0.0.2", "dependencies": { "@astrojs/starlight": "^0.33.0", + "@fontsource-variable/source-sans-3": "^5.2.9", + "@fontsource/cormorant": "^5.2.8", "@podkit/compatibility": "workspace:*", "astro": "^5.15.0", "astro-mermaid": "^1.3.1", diff --git a/packages/docs-site/src/fonts/AppleGaramond-Light.woff2 b/packages/docs-site/src/fonts/AppleGaramond-Light.woff2 new file mode 100644 index 00000000..b88f7113 Binary files /dev/null and b/packages/docs-site/src/fonts/AppleGaramond-Light.woff2 differ diff --git a/packages/docs-site/src/fonts/AppleGaramond-LightItalic.woff2 b/packages/docs-site/src/fonts/AppleGaramond-LightItalic.woff2 new file mode 100644 index 00000000..7a462558 Binary files /dev/null and b/packages/docs-site/src/fonts/AppleGaramond-LightItalic.woff2 differ diff --git a/packages/docs-site/src/fonts/AppleGaramond.woff2 b/packages/docs-site/src/fonts/AppleGaramond.woff2 new file mode 100644 index 00000000..1f7bdab3 Binary files /dev/null and b/packages/docs-site/src/fonts/AppleGaramond.woff2 differ diff --git a/packages/docs-site/src/fonts/ChiKareGo2.woff2 b/packages/docs-site/src/fonts/ChiKareGo2.woff2 new file mode 100644 index 00000000..6dbcb7f7 Binary files /dev/null and b/packages/docs-site/src/fonts/ChiKareGo2.woff2 differ diff --git a/packages/docs-site/src/fonts/ChicagoFLF.woff2 b/packages/docs-site/src/fonts/ChicagoFLF.woff2 new file mode 100644 index 00000000..6c73aaab Binary files /dev/null and b/packages/docs-site/src/fonts/ChicagoFLF.woff2 differ diff --git a/packages/docs-site/src/styles/fonts.css b/packages/docs-site/src/styles/fonts.css new file mode 100644 index 00000000..e7027ae4 --- /dev/null +++ b/packages/docs-site/src/styles/fonts.css @@ -0,0 +1,48 @@ +/* Chicago FLF - Public Domain (Robin Casady) */ +@font-face { + font-family: 'Chicago FLF'; + src: url('../fonts/ChicagoFLF.woff2') format('woff2'); + font-weight: normal; + font-style: normal; + font-display: swap; +} + +/* ChiKareGo2 - CC BY (Giles Booth) */ +@font-face { + font-family: 'ChiKareGo2'; + src: url('../fonts/ChiKareGo2.woff2') format('woff2'); + font-weight: normal; + font-style: normal; + font-display: swap; +} + +/* Apple Garamond - Freeware (ITC Garamond recreation) */ +@font-face { + font-family: 'Apple Garamond'; + src: url('../fonts/AppleGaramond-Light.woff2') format('woff2'); + font-weight: 300; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Apple Garamond'; + src: url('../fonts/AppleGaramond.woff2') format('woff2'); + font-weight: 400; + font-style: normal; + font-display: swap; +} + +@font-face { + font-family: 'Apple Garamond'; + src: url('../fonts/AppleGaramond-LightItalic.woff2') format('woff2'); + font-weight: 300; + font-style: italic; + font-display: swap; +} + +/* Override Starlight's default font variables */ +:root { + --sl-font: 'Source Sans 3 Variable', 'Source Sans 3', sans-serif; + --sl-font-serif: 'Apple Garamond', 'Cormorant', Georgia, serif; +}