-
Notifications
You must be signed in to change notification settings - Fork 168
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
Theme Styling For More Non-Dashboard Pages and Dialogs #373
Comments
It looks like sidebar does have theme variable for the sidebar |
I dont think I can target the tables though with the sidebar right? |
No, but I listed the sidebar as one of the areas I had trouble styling. I've updated the original list. |
Note that |
The wiki has a page for using card-mod to change the CSS of anything under
hui-root
,hui-view
(which is already underhui-root
), andmore-info
, which I've been using to great affect in my theme Material Rounded. I've recently started to implement user customizable Material You style colors using these card-mod special theme variables, but have found that I am not able to alter the CSS of all Home Assistant pages using card-mod. Namely, the developer tools, settings, view configuration, add card, and edit card,and sidebarpages and elements.Being able to apply card-mod styles to the following HTML elements would help fill in the gaps of what we can theme using card-mod:
ha-panel-developer-tools
ha-panel-config
ha-card
for elements, which do get styled.hui-dialog-edit-view
hui-dialog-create-card
ha-card
previews do get modified, but not the outer dialog.hui-dialog-edit-card
Sidebar:ha-sidebar
card-mod-sidebar-yaml
is already supported, just wasn't in the wiki.ha-voice-command-dialog
Would it also make sense to allow us to apply styles directly to the
home-assistant
HTML element and navigate down using shadow roots instead, if possible?The text was updated successfully, but these errors were encountered: