Closed MarcJo closed 10 months ago
Hey @MarcJo
Im afraid i dont follow, Tabulator already has a Boostrap 5 built in.
If you would like to make changes to the built in theme, please feel free to submit a PR with the updates.
Cheers
Oli :)
My mistake, I wasn't very detailed. Of course I meant color themes, dark/light mode via css. My 'solution' addressed this issue.
I have little experience with Bootstrap and I don't know if this is a good option for Tabulator. All I know is that for basic use cases it works flawlessly.
thx
Hi, I think this is referring to the colour modes added in Bootstrap 5.3: https://getbootstrap.com/docs/5.3/customize/color-modes/
This adds support for light/dark mode
In order tabulator works with bootstrap 5.3 themes you have to do following:
I test this by manually change darken / lighten mixins with css filter:brightness and set sass variables like this
Works great (light / dark theme) for basic tables even with editing.
Would be great if you have time look into this, at least pt.1 because it breaks above code, so each update will force to do it manually.
thx