|
1 | 1 | /** |
2 | 2 | * Light Theme Variables |
| 3 | + * Uses YASGUI CSS custom properties with fallback colors |
3 | 4 | */ |
4 | 5 |
|
5 | 6 | :root, |
6 | 7 | .yasgui-table-plugin[data-theme='light'] { |
7 | 8 | /* Background colors */ |
8 | | - --table-background: #ffffff; |
9 | | - --table-header-background: #f5f5f5; |
10 | | - --table-row-hover: #f9f9f9; |
11 | | - --table-row-selected: #e3f2fd; |
12 | | - --table-rownumber-background: #fafafa; |
| 9 | + --table-background: var(--yasgui-bg-primary, #ffffff); |
| 10 | + --table-header-background: var(--yasgui-bg-secondary, #f5f5f5); |
| 11 | + --table-row-hover: var(--yasgui-bg-secondary, #f9f9f9); |
| 12 | + --table-row-selected: var(--yasgui-bg-tertiary, #e3f2fd); |
| 13 | + --table-rownumber-background: var(--yasgui-bg-secondary, #fafafa); |
13 | 14 |
|
14 | 15 | /* Text colors */ |
15 | | - --table-text: #000000; |
16 | | - --table-header-text: #333333; |
17 | | - --table-text-muted: #999999; |
18 | | - --table-rownumber-text: #666666; |
| 16 | + --table-text: var(--yasgui-text-primary, #000000); |
| 17 | + --table-header-text: var(--yasgui-text-primary, #333333); |
| 18 | + --table-text-muted: var(--yasgui-text-secondary, #999999); |
| 19 | + --table-rownumber-text: var(--yasgui-text-secondary, #666666); |
19 | 20 |
|
20 | 21 | /* Border colors */ |
21 | | - --table-border: #dddddd; |
22 | | - --table-border-light: #eeeeee; |
| 22 | + --table-border: var(--yasgui-border-color, #dddddd); |
| 23 | + --table-border-light: var(--yasgui-input-border, #eeeeee); |
23 | 24 |
|
24 | 25 | /* Interactive colors */ |
25 | | - --table-primary: #1976d2; |
26 | | - --table-link: #1976d2; |
27 | | - --table-link-hover: #1565c0; |
| 26 | + --table-primary: var(--yasgui-accent-color, #1976d2); |
| 27 | + --table-link: var(--yasgui-accent-color, #1976d2); |
| 28 | + --table-link-hover: var(--yasgui-link-hover, #1565c0); |
28 | 29 |
|
29 | 30 | /* URI and literal styling */ |
30 | | - --table-uri-color: #0066cc; |
31 | | - --table-literal-color: #000000; |
32 | | - --table-datatype-color: #666666; |
33 | | - --table-bnode-color: #999999; |
| 31 | + --table-uri-color: var(--yasgui-accent-color, #0066cc); |
| 32 | + --table-literal-color: var(--yasgui-text-primary, #000000); |
| 33 | + --table-datatype-color: var(--yasgui-text-secondary, #666666); |
| 34 | + --table-bnode-color: var(--yasgui-text-secondary, #999999); |
34 | 35 |
|
35 | 36 | /* Search highlight */ |
36 | 37 | --table-search-highlight: #ffeb3b; |
37 | 38 | --table-search-highlight-text: #000000; |
38 | 39 |
|
39 | 40 | /* Controls */ |
40 | | - --table-control-background: #f5f5f5; |
41 | | - --table-control-border: #dddddd; |
42 | | - --table-control-hover: #e8e8e8; |
43 | | - --table-text-secondary: #666666; |
| 41 | + --table-control-background: var(--yasgui-bg-secondary, #f5f5f5); |
| 42 | + --table-control-border: var(--yasgui-border-color, #dddddd); |
| 43 | + --table-control-hover: var(--yasgui-button-hover, #e8e8e8); |
| 44 | + --table-text-secondary: var(--yasgui-text-secondary, #666666); |
44 | 45 | } |
0 commit comments