Skip to content

[Bug Report][3.9.2] Theme "system" not found on the Vuetify theme instance #21819

@gotson

Description

@gotson

Environment

Vuetify Version: 3.9.2
Vue Version: 3.5.18
Browsers: Firefox 140.0
OS: Mac OS 10.15

Steps to reproduce

I was trying the new system theme from 3.9, but encountered some issue:

  • when trying to cycle using the "Cycle all themes" button, the theme is just changed like with the toggle button.
  • theme.name never returns system, but only the effective theme
  • when clicking "Change to system" or "cycle specific themes" the following warning shows in the console: Theme "system" not found on the Vuetify theme instance

Expected Behavior

Most importantly the theme.name should return system. This is required to implement some kind of Select that shows theme selection (like 'light', 'dark', 'system'), and show the actual value configured for the theme.

Actual Behavior

does not work as expected

Reproduction Link

https://play.vuetifyjs.com/#...

Metadata

Metadata

Assignees

Labels

E: themeTheme composableT: bugFunctionality that does not work as intended/expected

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions