Open justindoody opened 1 year ago
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.
--separator-border
Allotment
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)
!important
.split-view-view::before { @apply bg-gray-300 !important; @apply dark:bg-slate-700 !important; }
Hello, are there updates about this issue?
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 toAllotment
for configuring that take precedence.Perhaps something like:
My eventual working solution in case anyone needs it. (wish i wasn't using
!important
)