fin-hypergrid / fin-hypergrid/core
Bug in theme variables passed to grid instance
Open
- Dominant language
- JavaScript
- Stars
- 907
- Forks
- 139
- PR merge metrics
- No merged PRs in 30d
Description
Hi all,
Some theme variables do not work when passed by `grid.applyTheme()` on a grid instance.
Here are the one I tested:
```JS
HyperGrid.applyTheme({
hoverCellHighlight: {
enabled: true,
backgroundColor: "red", // $purple-100
},
hoverColumnHighlight: {
enabled: false,
backgroundColor: "blue",
},
hoverRowHighlight: {
enabled: false,
backgroundColor: "green",
},
vScrollbarClassPrefix: "scroll",
hScrollbarClassPrefix: "scroll",
});
```
On the other hand they do work when passed as a global theme with `Hypergrid.applyTheme()`.
Contributor guide
Assessment
This issue has not been assessed yet.