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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Themes Using React Context #550

Merged
merged 65 commits into from
Apr 22, 2015
Merged

Added Themes Using React Context #550

merged 65 commits into from
Apr 22, 2015

Conversation

mmrtnz
Copy link
Contributor

@mmrtnz mmrtnz commented Apr 18, 2015

  • Merged with master
  • Added ThemeManager
    • Handles themes through-out a project.
  • Removed CustomVariables.js
    • All variables are now included in theme files which are accesible to components via context
  • Included 2 predefined themes
    • Light (Default)
    • Dark
  • Updated documentation to include the Themes feature.
  • Modified MenusPage in the docs site has been slightly modified to be an example of page specific theme overriding.

Fixes #202, also mentioning #30.

Alexander Price and others added 30 commits March 26, 2015 10:33
Remove DOMIdable and replace it with a unique ID generator
External links to resources don't work on http://material-ui.com/. I think this fix should help.
Fix LinkMenuItem anchor attribute name
Added in onNavOpen/ onNavClose properties to LeftNav
> Warning: Don't set .props.className of the React component <FlatButton />. Instead, specify the correct value when initially creating the > element. The element was created by LoginDialog.

elements should be cloned instead. React.cloneElement was added with React 0.13. 
http://facebook.github.io/react/blog/2015/03/03/react-v0.13-rc2.html#react.cloneelement

Fixed a missing var statement, too.
Conflicts:
	src/js/enhanced-switch.jsx
Enhanced button events now respect the disabled prop.
fix error on enhanced-switch && disabled && mobile
remove unused key-line import
Fixed IE toString.call() issue.
when receiving props. It will warn when setting it to an invalid value
Don't crash dropdown menu when selectedIndex is less than 0
mmrtnz and others added 27 commits April 14, 2015 22:00
Improvement in DatePicker:

autoOk - true for automatically Accepting if click on a date directly;
minDate - minimiun selectable date;
maxDate - maximum selectable date.

issue #427
Added autoOk in docs
[Perf] do not rerender the icon-button when no tooltip is provided
Check that the document has element on clickaway
Adds disable month buttons with max and min date, hide the ok button
when autoOk is true
Addresses root level clickawayable bug
[Improvement] DatePicker properties autoOk, minDate e maxDate
overwriting props will create console warnings. Fixes mui#547
mmrtnz added a commit that referenced this pull request Apr 22, 2015
Added Themes Using React Context. Fixes #202
@mmrtnz mmrtnz merged commit 07a87b9 into mui:css-in-js Apr 22, 2015
@zannager zannager added the customization: theme Centered around the theming features label Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customization: theme Centered around the theming features
Projects
None yet
Development

Successfully merging this pull request may close these issues.