Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enterprise(2.3) / New-UDTheme / Applying theme for UDCard does not work. #632

Closed
BlairKingsley opened this issue Feb 14, 2019 · 1 comment
Labels
bug Something isn't working enterprise
Milestone

Comments

@BlairKingsley
Copy link
Contributor

Code which does not work when $Theme is used with New-UDDashboard -Theme
$Theme = New-UDTheme -Name 'Example' -Definition @{ UDCard = @{ BackgroundColor = "rgb(37,37,37)" FontColor = "rgb(255,255,255)" } }
Workaround which works...
$Theme = New-UDTheme -Name 'Example' -Definition @{ '.card-content' = @{ 'background-color' = "rgb(37,37,37)" } '.card-title' = @{ 'color' = "rgb(255,255,255)" } }

Seems similar to issue mentioned in https://forums.universaldashboard.io/t/new-udcard-not-accepting-colors/303

Just wondering if all fixes are committed to both community and enterprise?

@adamdriscoll
Copy link
Member

Yep. The forks are in sync. I will have to look at this. The issue that was resolved had to do with setting the color directly on the card and not using a theme.

@adamdriscoll adamdriscoll added bug Something isn't working enterprise labels Feb 14, 2019
@adamdriscoll adamdriscoll added this to the 2.3.2 milestone Feb 14, 2019
adamdriscoll added a commit that referenced this issue Feb 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enterprise
Projects
None yet
Development

No branches or pull requests

2 participants