Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

ThemeProvider: Add nesting support #19

Merged
merged 5 commits into from
Jun 29, 2018
Merged

Commits on Jun 29, 2018

  1. ThemeProvider: Add nesting support

    This update adds nesting support to `ThemeProvider`, allowing you to
    continously add onto the outer/parent Theme as required.
    
    The `scope` feature was also abstracted from `ThemeProvider` into a dedicated
    `ScopeProvider`. How it influences the compiled CSS remains the same.
    
    Internally, the `StyleSheet` class instantiation has been changed into a
    factory to produces a Singleton, used throughout the Providers and `styled`.
    ItsJonQ committed Jun 29, 2018
    Configuration menu
    Copy the full SHA
    5371b3d View commit details
    Browse the repository at this point in the history
  2. Remove makeProvider, and add scope tests

    ItsJonQ committed Jun 29, 2018
    Configuration menu
    Copy the full SHA
    d34b833 View commit details
    Browse the repository at this point in the history
  3. Improve Theming/Scoping with context

    Also update + improve tests
    ItsJonQ committed Jun 29, 2018
    Configuration menu
    Copy the full SHA
    a7b761f View commit details
    Browse the repository at this point in the history
  4. Update babel env [skip ci]

    ItsJonQ committed Jun 29, 2018
    Configuration menu
    Copy the full SHA
    ad5e4dd View commit details
    Browse the repository at this point in the history
  5. Merge branch 'master' into theme-provider-nesting

    ItsJonQ committed Jun 29, 2018
    Configuration menu
    Copy the full SHA
    8c8266e View commit details
    Browse the repository at this point in the history