Accordion variables are not used within _accordion.scss

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
tetzla
Posts: 16
Joined: 29 Apr 2021, 13:10

20 Apr 2022, 11:46

Hello,

there are several accordion variables wich are defined within _theme_<scheme>.scss but are never used within _accordion.scss.

_theme_<scheme>.scss::

Code: Select all

$accordionHeaderActiveBg:$panelHeaderBg !default;
...
$accordionContentBorder:$panelContentBorder !default;
$accordionContentBg:$panelContentBg !default;
$accordionContentTextColor:$panelContentTextColor !default;
$accordionContentPadding:$panelContentPadding !default;
_accordion.scss:

Code: Select all

...
    &.ui-state-active {
        ...
        background: $panelHeaderBg;
...
.ui-accordion-content {
    border: $panelContentBorder;
    background: $panelContentBg;
    color: $panelContentTextColor;
    padding: $panelContentPadding;
    ...
}
Currently it is not possible to define different settings for accordions and panels, because only the panel settings are used within _accordion.scss. I'm using Diamond 3.1.0. Please fix these bugs.

Regards tetzla

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

27 Apr 2022, 11:34

Hi,

Thanks a lot for your report! Fixed now.

Best Regards,

tetzla
Posts: 16
Joined: 29 Apr 2021, 13:10

28 Apr 2022, 09:20

Hello,

thanks a lot. Which version fixes the problem? When will the version be released?

Regards tetzla

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

28 Apr 2022, 09:49

Hi,

Fixed for v3.1.1. I plan to release it next week.

Best Regards,

Post Reply

Return to “Diamond - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 4 guests