The spread order of the internal highlight component was overriding the theme provided by props. This fixes the bug where not providing a theme (and falling back to the internal one) will work correctly.
How to test:
Build the library and run the /demo project
Remove active prop theme from <Highlight />or pass in undefined
Addresses #212
The spread order of the internal highlight component was overriding the theme provided by props. This fixes the bug where not providing a theme (and falling back to the internal one) will work correctly.
How to test:
active
prop theme from<Highlight />
or pass inundefined