orefalo / svelte-splitpanes

MIT License
360 stars 17 forks source link

dark theme #75

Open joleeee opened 11 months ago

joleeee commented 11 months ago

Is there a built in dark theme? Im playing around with a bare bones setup from npm init vite, and it looks quite horrible:

image

white text on white background!

  <div class="card">
    <Splitpanes style="height: 20em; width: 50em">
      <Pane>left</Pane>
      <Pane>right</Pane>
    </Splitpanes>
  </div>
orefalo commented 3 months ago

I would gladly take a contribution on this one

xl0 commented 1 month ago

I don't understand why Splitpanes has to manage the theme instead of leaving it alone as much as possible and letting the user there the individual elements.

This makes it unnecessarily hard to integrate with tailwind/daisyui/etc. :/

Excellent library otherwise!

orefalo commented 1 month ago

Indeed, it should be headless with default settings.

Also, it would be preferable if users could copy and paste the core files into their project, rather than relying on an npm library, to allow easy modifications.

all of those will eventually make it in the library