Skip to content
Merged
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

Handle async tasks in your svelte application with ease thanks to `@sheepdog/svelte`.

![Sheepdog logo](./apps/docs/src/assets/1c-plus.svg#gh-dark-mode-only)
![Sheepdog logo](./apps/docs/src/assets/full-color.svg#gh-light-mode-only)
![Sheepdog logo](./apps/docs/src/assets/logo-dark.svg#gh-dark-mode-only)
![Sheepdog logo](./apps/docs/src/assets/logo-light.svg#gh-light-mode-only)

> [!NOTE]
> Sheepdog was written and is maintained by [Mainmatter](https://mainmatter.com) and contributors.
Expand Down
16 changes: 14 additions & 2 deletions apps/docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,18 @@ export default defineConfig({
},
integrations: [
starlight({
favicon: '/images/favicon.svg',
head: [
// Add ICO favicon fallback for Safari.
{
tag: 'link',
attrs: {
rel: 'icon',
href: '/images/favicon.ico',
sizes: '32x32',
},
},
],
routeMiddleware: './src/route-data.ts',
components: {
SiteTitle: './src/components/SiteTitle.astro',
Expand All @@ -42,15 +54,15 @@ export default defineConfig({
tag: 'link',
attrs: {
rel: 'shortcut icon',
href: '/full-color.svg',
href: '/logo-light.svg',
media: '(prefers-color-scheme: light)',
},
},
{
tag: 'link',
attrs: {
rel: 'shortcut icon',
href: '/1c-plus.svg',
href: '/logo-dark.svg',
media: '(prefers-color-scheme: dark)',
},
},
Expand Down
1 change: 0 additions & 1 deletion apps/docs/public/favicon.svg

This file was deleted.

20 changes: 1 addition & 19 deletions apps/docs/public/logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 1 addition & 19 deletions apps/docs/public/logo-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading