diff --git a/doc/nuxt/configuration/ImportThemeDoc.vue b/doc/nuxt/configuration/ImportThemeDoc.vue index 345f742be..8ebe66462 100644 --- a/doc/nuxt/configuration/ImportThemeDoc.vue +++ b/doc/nuxt/configuration/ImportThemeDoc.vue @@ -20,8 +20,7 @@ primevue: { code2: { basic: ` import { definePreset } from 'primevue/themes'; -import PrimeOne from 'primevue/themes/primeone'; -import Aura from 'primevue/themes/primeone/aura'; +import Aura from 'primevue/themes/aura'; const MyPreset = definePreset(Aura, { semantic: { @@ -42,7 +41,6 @@ const MyPreset = definePreset(Aura, { }); export default { - base: PrimeOne, preset: MyPreset, options: { darkModeSelector: '.p-dark' diff --git a/doc/theming/styled/DarkModeToggleDoc.vue b/doc/theming/styled/DarkModeToggleDoc.vue index 8623685dc..872d51e78 100644 --- a/doc/theming/styled/DarkModeToggleDoc.vue +++ b/doc/theming/styled/DarkModeToggleDoc.vue @@ -21,15 +21,13 @@ export default { code1: { basic: ` import PrimeVue from 'primevue/config'; -import PrimeOne from 'primevue/themes/primeone'; -import Aura from 'primevue/themes/primeone/aura'; +import Aura from 'primevue/themes/aura'; const app = createApp(App); app.use(PrimeVue, { // Default theme configuration theme: { - base: PrimeOne, preset: Aura, options: { darkModeSelector: '.my-app-dark', diff --git a/doc/theming/styled/PresetsDoc.vue b/doc/theming/styled/PresetsDoc.vue index 15d3ee77d..03d84d735 100644 --- a/doc/theming/styled/PresetsDoc.vue +++ b/doc/theming/styled/PresetsDoc.vue @@ -18,7 +18,7 @@ export default { return { code: { basic: ` -import accordion from 'primevue/themes/primeone/presets/aura/accordion'; +import accordion from 'primevue/themes/aura/accordion'; // ... imports of other component tokens export default { diff --git a/doc/theming/styled/configuration/ThemeDoc.vue b/doc/theming/styled/configuration/ThemeDoc.vue index ba86f588c..fe72e5d85 100644 --- a/doc/theming/styled/configuration/ThemeDoc.vue +++ b/doc/theming/styled/configuration/ThemeDoc.vue @@ -12,15 +12,13 @@ export default { code: { basic: ` import PrimeVue from 'primevue/config'; -import PrimeOne from 'primevue/themes/primeone'; -import Aura from 'primevue/themes/primeone/aura'; +import Aura from 'primevue/themes/aura'; const app = createApp(App); app.use(PrimeVue, { // Default theme configuration theme: { - base: PrimeOne, preset: Aura, options: { prefix: 'p', diff --git a/doc/theming/styled/customization/DefinePresetDoc.vue b/doc/theming/styled/customization/DefinePresetDoc.vue index 07f0cba5a..cb2e5fb71 100644 --- a/doc/theming/styled/customization/DefinePresetDoc.vue +++ b/doc/theming/styled/customization/DefinePresetDoc.vue @@ -13,8 +13,7 @@ export default { basic: ` import PrimeVue from 'primevue/config'; import { definePreset } from 'primevue/themes'; -import PrimeOne from 'primevue/themes/primeone'; -import Aura from 'primevue/themes/primeone/aura'; +import Aura from 'primevue/themes/aura'; const MyPreset = definePreset(Aura, { //Your customizations, see the following sections for examples @@ -22,7 +21,6 @@ const MyPreset = definePreset(Aura, { app.use(PrimeVue, { theme: { - base: PrimeOne, preset: MyPreset } });