Skip to content

Commit 8f884b0

Browse files
author
Marko Petzold
committed
fix: update background color property in registerTheme method
1 parent ffd9c32 commit 8f884b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/widget-mapbox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export class WidgetMapbox extends LitElement {
8181

8282
registerTheme(theme?: Theme) {
8383
const cssTextColor = getComputedStyle(this).getPropertyValue('--re-text-color').trim()
84-
const cssBgColor = getComputedStyle(this).getPropertyValue('--re-background-color').trim()
84+
const cssBgColor = getComputedStyle(this).getPropertyValue('--re-tile-background-color').trim()
8585
this.themeBgColor = cssBgColor || this.theme?.theme_object?.backgroundColor
8686
this.themeTitleColor = cssTextColor || this.theme?.theme_object?.title?.textStyle?.color
8787
this.themeSubtitleColor =

0 commit comments

Comments
 (0)