add notification-border(-color) to config option #728
Mariusthvdb
started this conversation in
Ideas
Replies: 1 comment 6 replies
I see that it is applying the right color. What :host([expanded]) ha-list-item-button > .badge {
border: 1px solid var(--custom-sidebar-notification-color);
}If you want to set the variable with a fallback (for the cases in which you don't set the background color of the notification), you can do something like this: :host([expanded]) ha-list-item-button > .badge {
border: 1px solid var(--custom-sidebar-notification-color, var(--accent-color));
} |
6 replies
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.
https://elchininet.github.io/custom-sidebar/configuration/themeable-configuration-options#root-configuration-options
would be sweet if we could set a border color for our notification badges
see how subtle that can work out in this screen, where I set the border of the buttons to current color
instead of the full notification to get the desired status color, only set the border, and make it more light weight
maybe even just the -border, so we can do
border: 1px solid greenfwiw, I did test currentColor in the main Styles config
because that would have been a sweet option, but it doesnt apply the right color, or at all, and makes all border the same white
better visible in a darker theme
All reactions