But I still see that jspreadsheet hardcodes values for headers and other elements.
Looking at your example, I see there is a jspreadsheet.themes.css file that is not mentioned anywhere. I copied that whole thing into my code. So most values are now overwritten with that. Even though it's still not the same as the example on your theming docs page.
And the background-color: #fafbfd; comes from jspreadsheet/dist/jspreadsheet.css.
Now after importing jspreadsheet.themes.css, I still see a lot of hardcoded classes.
What's the right way to do theming? Simply adding CSS variables does not do the job.
Thanks
I'm trying to get themes working as described here: https://jspreadsheet.com/docs/themes
I added the css vars to my css like so.
But I still see that jspreadsheet hardcodes values for headers and other elements. Looking at your example, I see there is a
jspreadsheet.themes.css
file that is not mentioned anywhere. I copied that whole thing into my code. So most values are now overwritten with that. Even though it's still not the same as the example on your theming docs page.On your page I see
on mine I see
And the
background-color: #fafbfd;
comes fromjspreadsheet/dist/jspreadsheet.css
. Now after importingjspreadsheet.themes.css
, I still see a lot of hardcoded classes.What's the right way to do theming? Simply adding CSS variables does not do the job. Thanks