Skip to content

Commit b1c2086

Browse files
committed
fix: header color of table didn't change with style
1 parent 509471a commit b1c2086

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

styles/plugin.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,15 +67,15 @@
6767
}
6868

6969
.yasgui-table-plugin .tabulator-header {
70-
background-color: var(--table-header-background);
70+
background-color: var(--table-header-background) !important;
7171
border-bottom-color: var(--table-border);
7272
color: var(--table-text);
7373
}
7474

7575
.yasgui-table-plugin .tabulator-col {
76-
background-color: var(--table-header-background);
76+
background-color: var(--table-header-background) !important;
7777
border-right-color: var(--table-border);
78-
color: var(--table-text);
78+
color: var(--table-text) !important;
7979
}
8080

8181
.yasgui-table-plugin .tabulator-row {

styles/theme-dark.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Dark Theme Variables
33
*/
44

5-
[data-theme='dark'] {
5+
.yasgui-table-plugin[data-theme='dark'] {
66
/* Background colors */
77
--table-background: #1e1e1e;
88
--table-header-background: #2a2a2a;

styles/theme-light.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*/
44

55
:root,
6-
[data-theme='light'] {
6+
.yasgui-table-plugin[data-theme='light'] {
77
/* Background colors */
88
--table-background: #ffffff;
99
--table-header-background: #f5f5f5;

0 commit comments

Comments
 (0)