ItalyPaleAle / svelte-spa-router

Router for SPAs using Svelte 3
MIT License
1.53k stars 105 forks source link

Active links - allow duplicate classes #293

Open uranderu opened 1 year ago

uranderu commented 1 year ago

Hi,

Currently when having the same class(es) in both "className" and "inactiveClassName" causes it to be removed from "className" this is a bummer for users of utility based CSS frameworks like TailwindCSS (me included). A workaround is to create two custom classes and applying the tailwind styles in there. But this is far from ideal and in my opinion, unnecessary.

Thanks in advance!