Skip to content

Commit 6555bee

Browse files
committed
style(docs-site): remove solid backgrounds from logos and add transparent favicon
Update site branding assets for better appearance on varied backgrounds. - Remove solid background rectangles from light and dark logo SVGs - Add transparent theme-aware favicon with prefers-color-scheme media - Update Head.astro to reference /favicon.svg for browser tab icon The favicon now adapts its stroke and fill colors for light and dark system preferences, eliminating the need for separate favicon variants.
1 parent af86159 commit 6555bee

4 files changed

Lines changed: 52 additions & 7 deletions

File tree

docs-site/public/favicon.svg

Lines changed: 51 additions & 0 deletions
Loading

docs-site/src/assets/recursor-logo-dark.svg

Lines changed: 0 additions & 2 deletions
Loading

docs-site/src/assets/recursor-logo-light.svg

Lines changed: 0 additions & 2 deletions
Loading

docs-site/src/components/Head.astro

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
---
22
import Default from '@astrojs/starlight/components/Head.astro';
3-
import favicon from '../assets/recursor-logo-light.svg?url';
4-
53
interface Props {
64
title?: string;
75
description?: string;
@@ -19,7 +17,7 @@ interface Props {
1917
/>
2018

2119
<!-- Favicon and theme color -->
22-
<link rel="icon" type="image/svg+xml" href={favicon} />
20+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
2321
<meta name="theme-color" content="#0f1115" media="(prefers-color-scheme: dark)" />
2422
<meta name="theme-color" content="#FDFCF8" media="(prefers-color-scheme: light)" />
2523

0 commit comments

Comments
 (0)