Skip to content

Commit 5dd02d7

Browse files
author
Marko Petzold
committed
fix: update background color property in registerTheme method
1 parent bd8b26f commit 5dd02d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/widget-value.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export class WidgetValue extends LitElement {
7070

7171
registerTheme(theme?: Theme) {
7272
const cssTextColor = getComputedStyle(this).getPropertyValue('--re-text-color').trim()
73-
const cssBgColor = getComputedStyle(this).getPropertyValue('--re-background-color').trim()
73+
const cssBgColor = getComputedStyle(this).getPropertyValue('--re-tile-background-color').trim()
7474
this.themeBgColor = cssBgColor || this.theme?.theme_object?.backgroundColor
7575
this.themeTitleColor = cssTextColor || this.theme?.theme_object?.title?.textStyle?.color
7676
this.themeSubtitleColor =

0 commit comments

Comments
 (0)