allotment
allotment copied to clipboard
Pass border styling as props to allotment
I have different border colors dependent on light/dark theme and it was more of a pain to sort out than expected. Rather than the --separator-border
css var it would be nice to pass props to Allotment
for configuring that take precedence.
Perhaps something like:
<Allotment seperatorStyles="bg-gray-300 dark:bg-slate-700">
My eventual working solution in case anyone needs it. (wish i wasn't using !important
)
.split-view-view::before {
@apply bg-gray-300 !important;
@apply dark:bg-slate-700 !important;
}
Hello, are there updates about this issue?