-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add ThemeProvider * Add initial types * Forgot default export * Add colors to theme * Fix types * Allow ThemeProvider to update theme on instance * Merge incoming theme * Add theming to Button * Move button colors to context * Add theming for Checkbox * Make buttongroup themeable * Make header themeable * Make badge themeable * Pull correct references from theme for components * Make avatar themeable * Export lodash.merge from config * Make Divider themeable * Remove theme from avatar(doesn't need) * Make card themeable * Make Icon themeable * Make Input themeable * Make ListItem themeable * Make overlay themeable * Make PricingCard themeable, color no longer required prop * Make Rating themeable * Use error color from theme for Input * Properly theme Input (add instance methods) * Make SearchBar themeable * Make Slider themeable * Make SocialIcon themeable * Use right theming variables * Make Text themeable * Make Tile themeable * Make Tooltip themeable * Update components to use withTheme * Prettier avatar * fix: PricingCard normalizeText import * fix: Input errorProps and labelProps propType * fix(types): Add Badge to theme * fix: ThemeText component correctly * fix: Use colors from colors file * fix(Tile): Correct imports for BackgroundImage * fix(types): Typo for Tooltip theme * test: Update Text tests for the new theme * test: Update Badge tests for the new theme * test: Update CheckBox tests for the new theme * test: Update Icon tests for the new theme * test: Update Button tests for the new theme * test: Update SocialIcon tests for the new theme * test: Update Divider tests for the new theme * test(CheckBox): Use correct test prop * test: Update ButtonGroup tests for the new theme * test: Update Card tests for the new theme * test: Update Tile tests for the new theme * test: Update FeaturedTile tests for the new theme * fix(Button): Typo, should be StyleSheet.flatten * test: Update PricingCard tests for the new theme * test: Update Slider tests for the new theme * test: Update Header tests for the new theme * test: Update Rating tests for the new theme * test: Update Overlay tests for the new theme * test: Update ListItem tests for the new theme * test: Update Input tests for the new theme * test: Update SearchBar tests for the new theme * test: Update Tooltip tests for the new theme * test: Add test for ThemeProvider * test(Icon): Add test for using values from theme * style(tests): One line default import with object import * chore: Update yarn.lock * feat(theme): Pass updateTheme through the hoc * feat(theme): Export withTheme HOC * docs: Add documentation on theming * feat(theme): Make ThemeProvider usage optional * docs(theme): Add component instructions [ci-skip] * feat(theme): Make withTheme work with refs * test: Input and SearchBar now use withTheme HOC * style: Remove flow type from file [ci skip] * fix(types): Correct return type for withTheme
- Loading branch information
Showing
87 changed files
with
9,076 additions
and
6,168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.