Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug in theme variables passed to grid instance #840

Open
nicoladaniello opened this issue Sep 12, 2022 · 0 comments
Open

Bug in theme variables passed to grid instance #840

nicoladaniello opened this issue Sep 12, 2022 · 0 comments

Comments

@nicoladaniello
Copy link

Hi all,

Some theme variables do not work when passed by grid.applyTheme() on a grid instance.

Here are the one I tested:

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().

@nicoladaniello nicoladaniello changed the title Bug in applyTheme Bug in theme variables passed to grid instance Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant