Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions packages/docs-site/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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' }],
Expand Down
2 changes: 2 additions & 0 deletions packages/docs-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Binary file not shown.
Binary file not shown.
Binary file added packages/docs-site/src/fonts/AppleGaramond.woff2
Binary file not shown.
Binary file added packages/docs-site/src/fonts/ChiKareGo2.woff2
Binary file not shown.
Binary file added packages/docs-site/src/fonts/ChicagoFLF.woff2
Binary file not shown.
48 changes: 48 additions & 0 deletions packages/docs-site/src/styles/fonts.css
Original file line number Diff line number Diff line change
@@ -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;
}