primefaces / primevue

Next Generation Vue UI Component Library
https://primevue.org
MIT License
9.52k stars 1.15k forks source link

Accordion: Theming content background not working #5997

Closed Willen17 closed 1 month ago

Willen17 commented 1 month ago

Describe the bug

components/lib/accordion/style/AccordionStyle.js

Changing background for the content in the accordion does not work. There is a mistake present in the code, ther should not be a color: property after background:

.p-accordioncontent-content { /../ background: color: ${dt('accordion.content.background')}; /../ }

it should be:

.p-accordioncontent-content { /../ background: ${dt('accordion.content.background')}; /../ }

Reproducer

-

PrimeVue version

4.0.0-rc.2

Vue version

3.x

Language

TypeScript

Build / Runtime

Nuxt

Browser(s)

No response

Steps to reproduce the behavior

Check the applied background styling for Accordion-content-content.

Expected behavior

No response

eneeio-nm commented 1 month ago

I can confirm this via Devtools:

screenshot-2024-07-09--09 18 02@2x

eneeio-nm commented 1 month ago

@Willen17 I believe it should actually be .p-accordioncontent-content { /../ background-color: ${dt('accordion.content.background')}; /../ }