Collapsible header always white

Hey guys,

I thought this one was fixed already, but I can’t get -BackgroundColor and -FontColor to work for the New-UDCollapsible cmdlet (UD 2.8.0)

$homePage = New-UDPage -Name "Home" -Icon home -Content {
    New-UDRow -Endpoint {
        New-UDCollapsible -Id "Collapsible" -BackgroundColor 'black' -FontColor 'white' -Items {
            New-UDCollapsibleItem -Title "First" -Icon user -Content {
                New-UDCard -Title "First"
            } -Active
            New-UDCollapsibleItem -Title "Second" -Icon group -Content {
                New-UDCard -Title "Second"
            }
            New-UDCollapsibleItem -Title "Third" -Icon user -Content {
                New-UDCard -Title "Third"
            }
        }
    }
}

$dashboard = New-UDDashboard -Title "MyPage" -Pages @(
    $homePage
)

Start-UDDashboard -Dashboard $dashboard -Port 1001 -Force

This produce only white collapsible.
Same at your place ?

Thanks ! :slight_smile:

Hey @Tristan I think logging this as a bug on the github page would probably be the best bet. You could manually style this using the CSS. If you want to know this give me a shout and can go through how you find out the CSS to add and make your own mini theme. It will be a work-around until a fix is put in place.

1 Like

Hello,
Will do, thank you very much for helping me all the time. :slight_smile:

Cheers,
Tristan