Skip to content

Commit

Permalink
Fix dialog shadows for HA 2022.08
Browse files Browse the repository at this point in the history
  • Loading branch information
Madelena committed Aug 19, 2022
1 parent 361e585 commit fac2674
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions themes/metro.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -284,9 +284,9 @@ ________________________________________Common Base 2 (Do Not Use):
disabled-text-color: "rgba(255,255,255,.55)"

# Other Mode Specific Variables
mdc-dialog-scrim-color: rgba(0, 0, 0, 0.5)
mdc-dialog-scrim-color: "rgba(0, 0, 0, 0.5)"
dialog-backdrop-filter: none
mdc-dialog-box-shadow: 0 0px 16px 4px rgba(var(--rgb-accent-color), .15), 0 16px 64px 32px rgba(var(--rgb-primary-color), .5)
dialog-box-shadow: var(--rgb-accent-color)
slider-thumb-color: "#121212"

sidebar-icon-color: var(--secondary-text-color)
Expand All @@ -311,7 +311,7 @@ ________________________________________Common Base 2 (Do Not Use):
# Other Mode Specific Variables
mdc-dialog-scrim-color: rgba(var(--rgb-primary-background-color),.667)
dialog-backdrop-filter: none
mdc-dialog-box-shadow: 0 8px 16px 4px rgb(0 0 0 / 25%), 0 48px 64px 32px rgb(0 0 0 / 20%)
dialog-box-shadow: var(--rgb-primary-text-color)
slider-thumb-color: "#E8E8E8"

sidebar-icon-color: rgba(0,0,0,.5)
Expand Down Expand Up @@ -435,6 +435,9 @@ ________________________________________Common Base 3 (Do Not Use): &common-card
background-color: rgba(var(--rgb-mdc-theme-surface), .5) !important;
}
}
.mdc-dialog__surface {
box-shadow: 0 0px 16px 4px rgba(var(--dialog-box-shadow), .15), 0 16px 64px 32px rgba(var(--dialog-box-shadow), .5) !important;
}
ha-header-bar$: |
.mdc-top-app-bar {
background: none !important;
Expand Down

0 comments on commit fac2674

Please sign in to comment.