Add global option for section background and box-shadow #3326
Unanswered
Mariusthvdb
asked this question in
Dashboards & cards
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What type of request is this?
New dashboard feature
Existing card or feature name
{"View" => "Sections"}
Describe the enhancement
allow setting ha-section-background-color in a theme, and have 1 global setting to make that apply to all sections
Use cases
as it appears, we can now only apply that on sections that have an individual setting for
background: truemy main goal would be to make the sections stand out against the background in a view, and have that themed, and all over in the dashboards.
requiring a setting per section is a terrible inconvenience, where setting a global
section-background: true (default false) would make the world of difference
Visual examples
No response
Anything else?
Yes, since you ask: having
ha-section-background-color, means we can not use a gradient, or an image for that option. It would be truly magnificent if could also useha-section-backgroundto set those additional styling options, so I would hope you consider adding support for that too:please add option for
ha-section-backgroundalso, experimenting with the backgrounds a bit, it reveals the 'need' to be able to use a box-shadow to the colored section.
using a box-shadow on a markdown card in the header of the view, the section below that without a box-shadow feels uncomfortably 'flat'. Would be great if we could simply add the same box-shadow to the section background to make them all flow into the same theme styling
please consider adding that too, I'll add to the title
Beta Was this translation helpful? Give feedback.
All reactions