Closed mrzanirato closed 2 months ago
same problem has anyone got the solution here?
@mrzanirato @bilal-the-dev You'll see the config in layout.js
, but it will not trigger when app render.
There are two methods from primevue/themes
can set the primary
and surface
:
updatePreset
-> update primaryupdateSurfacePalette
-> update surfacepalette
value not name
( purple, gray, etc )layout.js
. It's primaryColors
and surface
primary
and surface
, please add two methods (updatePreset, updateSurfacePalette)
into App.vue => onBeforeMount()
You can prefer my own implementation:
Here is the result of my modification: https://enhanced-sakai-vue.vercel.app
Please use the discussions for support requests.
Hello,
I'm using the news SAKAI theme
I would like to change a different default color to replace the emerald
I changed my layou.js file as shown but when I reload the page, all the elements return to the default emerald color.
const layoutConfig = reactive({ preset: 'Aura', primary: 'purple', surface: null, darkTheme: false, menuMode: 'static' });
Can someone help me, please?
Thanks
Marco