react-css-super-themr test/demo

Default theme

Themable Component

Default theme + Parent-provided styling

Themable Component

Default theme + Context styling

Themable Component

Default theme + Context styling + Parent-provided styling

Themable Component

Default theme + Context styling, inject async with 3 sec delay

When you look into the source code, pay attention to the change of key property of ThemeProvider!

Themable Component

Test of nested theme providers.

The external theme provider tries to set the same theme as in the ‌Default theme + Parent-provided styling example, and the innter one tries to set the same theme as in the Default theme + Context styling example. The question is, which will win with the current version of react-css-super-themr?

Themable Component