primevue@4.0.0-rc.1 incorrect background colors #5894
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Hello,
Colors breaks from primevue@4.0.0-rc.1 where they worked well on beta4
Fieldset and Card are perfect white in light mode and transparent in darkmode. --p-content-background is defined to those colors.
Reproducer
https://stackblitz.com/edit/primevue-create-vue-issue-template
PrimeVue version
4.0.0-rc.1
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
Edge, chrome
Steps to reproduce the behavior
I use the following configuration from documentation:
// Initialize Prime vue
app.use(PrimeVue, {
theme: {
preset: Aura,
options: {
prefix: 'p',
darkModeSelector: 'system', // setting this to a class sets the background to pure white (p-surface-0 ffffff)
cssLayer: true // Changing this value did not seem to change a single thing.
}
},
ripple: true
});
I don't have any customization of the style variables or whatsoever
Expected behavior
The background colors or the components should have dark colors in dark mode and light colors (I'm guessing not perfect white) in light mode.
The text was updated successfully, but these errors were encountered: