Closed kaphula closed 1 year ago
I have found some mistakes, all of them are correctly documented on the second example of https://orefalo.github.io/svelte-splitpanes/examples/styling/splitters:
:global
CSS modifier, or if you don't have any local one, you may also write <style global>
like mentioned in the examples.The following code is working for me well in Svelte REPL:
<script>
import { Pane, Splitpanes } from 'svelte-splitpanes';
</script>
<main class="container">
<button> button </button>
<Splitpanes theme="my-theme">
<Pane minSize={10}>
<button> button </button>
</Pane>
<Pane minSize={10} >
<button> button </button>
</Pane>
</Splitpanes>
</main>
<style>
:global(.splitpanes.my-theme .splitpanes__splitter) {
background-color: #c44c4c;
box-sizing: border-box;
position: relative;
flex-shrink: 0;
}
</style>
Closing the issue since I think it was a misunderstanding or bad documentation, you may ask here to reopen or to open a new issue if needed.
I can't get the homepage styling examples to work at all. I don't have SCSS.
Trying to change some basic colors but nothing happens. Any tips?