Skip to content

Use a local theme (dark aware).#4

Merged
kainino0x merged 1 commit intowebgpu:mainfrom
greggman:use-local-theme
Mar 31, 2026
Merged

Use a local theme (dark aware).#4
kainino0x merged 1 commit intowebgpu:mainfrom
greggman:use-local-theme

Conversation

@greggman
Copy link
Copy Markdown
Contributor

The current theme is not dark mode aware. As such it was showing the dark SVG logo on a hard coded light page.

This changes it to use a local theme so that it's entirely in the site's control.

current site

Screenshot 2026-03-10 at 11 04 36

with this change (light mode)

Screenshot 2026-03-10 at 11 05 29

with this change (dark mode)

Screenshot 2026-03-10 at 11 05 39

The current theme is not dark mode aware. As such it was showing
the dark SVG logo on a hard coded light page.

This changes it to use a local theme so that it's entirely in
the site's control.
@greggman greggman changed the title Use a local theme. Use a local theme (dark aware). Mar 10, 2026
@greggman greggman requested a review from kainino0x March 31, 2026 18:55
Copy link
Copy Markdown
Contributor

@kainino0x kainino0x left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Thanks for figuring out how to do the page template stuff, that'll make it possible to pretty up the page more later too.

@kainino0x kainino0x merged commit b17abfc into webgpu:main Mar 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants