From aab2c36769b4003f2fc7d4658eb17f26ce97969b Mon Sep 17 00:00:00 2001 From: Lukas Stracke Date: Thu, 5 Feb 2026 17:12:53 +0100 Subject: [PATCH] docs: Fix sentry logo in light mode --- docs/public/sentry-glyph.svg | 10 +++++++++- docs/src/components/icons/SentryLogo.astro | 23 ++++++++++++++++++++++ docs/src/layouts/BaseLayout.astro | 3 ++- 3 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 docs/src/components/icons/SentryLogo.astro diff --git a/docs/public/sentry-glyph.svg b/docs/public/sentry-glyph.svg index 83c115f1..37b24c48 100644 --- a/docs/public/sentry-glyph.svg +++ b/docs/public/sentry-glyph.svg @@ -1 +1,9 @@ - \ No newline at end of file + diff --git a/docs/src/components/icons/SentryLogo.astro b/docs/src/components/icons/SentryLogo.astro new file mode 100644 index 00000000..11501d88 --- /dev/null +++ b/docs/src/components/icons/SentryLogo.astro @@ -0,0 +1,23 @@ +--- +interface Props { + size?: number; + class?: string; +} + +const { size = 28, class: className = '' } = Astro.props; +--- + + diff --git a/docs/src/layouts/BaseLayout.astro b/docs/src/layouts/BaseLayout.astro index ea92c313..297ba6c7 100644 --- a/docs/src/layouts/BaseLayout.astro +++ b/docs/src/layouts/BaseLayout.astro @@ -4,6 +4,7 @@ import SearchModal from '../components/SearchModal.svelte'; import ThemeToggle from '../components/ThemeToggle.svelte'; import SearchIcon from '../components/icons/SearchIcon.astro'; import ExternalLinkIcon from '../components/icons/ExternalLinkIcon.astro'; +import SentryLogo from '../components/icons/SentryLogo.astro'; interface Props { title: string; @@ -40,7 +41,7 @@ const currentPath = Astro.url.pathname;