2017-07-27 20:31:59 -04:00
|
|
|
// Application styles must come first in order, to allow for overrides
|
|
|
|
import 'assets/styles/etherwallet-master.less';
|
2017-07-31 18:14:30 -05:00
|
|
|
import 'font-awesome/scss/font-awesome.scss';
|
v3 Style Import (#151)
* Convert bootstrap to sass instead of checked in and less
* Darken body, adjust header.
* First pass at tab styles, each tab will need a lot of individual love tho.
* Update footer to main site content, improve responsiveness.
* Missing key added.
* Fix dropdowns.
* Convert GenerateWallet HTML over, still needs styling.
* Send form.
* Current rates styled.
* CurrencySwap form styles.
* SwapInfoHeader styled.
* Finish up swap restyling, minor usability improvements for mobile.
* Fix up notifications / alert customizations
* Import v3 variables.
* Fix notification spacing.
* Align input height base with buttons.
* Revert height base, add additional bootstrap overrides.
* Grid overrides.
* Move overrides to their own folder. Adjust naming.
* Fix inconsistencies.
* Style generate wallet pt 1.
* Style generate wallet pt 2
* Style generate wallet pt 3
* Fix swap
* Added some missing overries, fixed the fallout.
* Remove header text, indicate alpha version.
* Fix radio / checkbox weights.
* Bind => arrow
* Convert simpledropdown to proper form select, instead of weirdly implemented nonfuncitoning dropdown.
* Fix token balances buttons, footr icons.
2017-09-05 15:52:01 -04:00
|
|
|
import 'sass/styles.scss';
|
2017-07-27 20:31:59 -04:00
|
|
|
|
2017-06-23 20:26:08 -05:00
|
|
|
import React from 'react';
|
|
|
|
import { render } from 'react-dom';
|
2017-07-05 18:28:54 -05:00
|
|
|
import { syncHistoryWithStore } from 'react-router-redux';
|
|
|
|
|
2017-06-23 20:26:08 -05:00
|
|
|
import { Root } from 'components';
|
2017-09-08 12:57:50 -04:00
|
|
|
import { history } from './routing';
|
2017-07-05 18:28:54 -05:00
|
|
|
import { store } from './store';
|
2017-04-12 00:04:27 -05:00
|
|
|
|
2017-06-23 20:26:08 -05:00
|
|
|
const renderRoot = Root => {
|
|
|
|
let syncedHistory = syncHistoryWithStore(history, store);
|
|
|
|
render(
|
2017-09-08 12:57:50 -04:00
|
|
|
<Root history={syncedHistory} store={store} />,
|
2017-06-23 20:26:08 -05:00
|
|
|
document.getElementById('app')
|
|
|
|
);
|
2017-04-12 00:04:27 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
renderRoot(Root);
|
|
|
|
|
|
|
|
if (module.hot) {
|
2017-07-03 13:23:44 -05:00
|
|
|
module.hot.accept('reducers/index', () =>
|
|
|
|
store.replaceReducer(require('reducers/index').default)
|
2017-07-02 12:55:58 -05:00
|
|
|
);
|
2017-09-08 12:57:50 -04:00
|
|
|
module.hot.accept();
|
2017-04-12 00:04:27 -05:00
|
|
|
}
|