You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In versions before v3.9, you manually change the global name value on the theme instance:
157
206
158
207
```html { resource="src/App.vue" }
159
208
<template>
@@ -174,6 +223,10 @@ function toggleTheme () {
174
223
</script>
175
224
```
176
225
226
+
</details>
227
+
228
+
<br>
229
+
177
230
You should keep in mind that most of the Vuetify components support the **theme** prop. When used a new context is created for _that_ specific component and **all** of its children. In the following example, the [v-btn](/components/buttons/) uses the **dark** theme because it is applied to its parent [v-card](/components/cards/).
0 commit comments