Skip to content

Commit aefa3e1

Browse files
author
Marko Petzold
committed
fix: update background color property in registerTheme method
1 parent b106d1f commit aefa3e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/widget-table.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class WidgetTable extends LitElement {
4343

4444
registerTheme(theme?: Theme) {
4545
const cssTextColor = getComputedStyle(this).getPropertyValue('--re-text-color').trim()
46-
const cssBgColor = getComputedStyle(this).getPropertyValue('--re-background-color').trim()
46+
const cssBgColor = getComputedStyle(this).getPropertyValue('--re-tile-background-color').trim()
4747
this.themeBgColor = cssBgColor || this.theme?.theme_object?.backgroundColor
4848
this.themeTitleColor = cssTextColor || this.theme?.theme_object?.title?.textStyle?.color
4949
this.themeSubtitleColor =

0 commit comments

Comments
 (0)