diff --git a/apps/showcase/doc/theming/styled/DarkModeDoc.vue b/apps/showcase/doc/theming/styled/DarkModeDoc.vue
index 6411a7453..e8dbcb879 100644
--- a/apps/showcase/doc/theming/styled/DarkModeDoc.vue
+++ b/apps/showcase/doc/theming/styled/DarkModeDoc.vue
@@ -39,12 +39,12 @@ app.use(PrimeVue, {
},
code2: {
basic: `
-
+
`
},
code3: {
basic: `
-const toggleColorScheme() {
+function toggleDarkMode() {
const element = document.querySelector('html');
element.classList.toggle('my-app-dark');
}