Skip to content

Conversation

@vincentfretin
Copy link
Contributor

@vincentfretin vincentfretin commented Dec 9, 2025

Add a theme selector with a choice of default theme + 24 new themes. This adds 77kB (14kB gzipped) to the bundle.
The themes comes from https://daisyui.com/docs/themes/
Some themes were not included because of low color ratio on some parts of the inspector.
All themes rules are prefixed with #aframeInspector to not have any conflicts with your site. The applied theme is also using data-theme attribute on #aframeInspector instead the html element to not conflict with your site.
The selected theme is saved to localStorage with the aframe-inspector-theme key.

theme_selector_default

theme_selector

@dmarcos dmarcos merged commit 8de513c into aframevr:master Dec 9, 2025
1 check passed
@vincentfretin vincentfretin deleted the add-theme-switcher branch December 9, 2025 09:24
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