2017-07-28 00:31:59 +00:00
|
|
|
// Application styles must come first in order, to allow for overrides
|
|
|
|
import 'assets/styles/etherwallet-master.less';
|
2017-07-31 23:14:30 +00: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 19:52:01 +00:00
|
|
|
import 'sass/styles.scss';
|
2017-07-28 00:31:59 +00:00
|
|
|
|
2017-06-24 01:26:08 +00:00
|
|
|
import React from 'react';
|
|
|
|
import { render } from 'react-dom';
|
2017-07-05 23:28:54 +00:00
|
|
|
import { syncHistoryWithStore } from 'react-router-redux';
|
|
|
|
|
2017-06-24 01:26:08 +00:00
|
|
|
import { Root } from 'components';
|
|
|
|
import { Routing, history } from './routing';
|
2017-07-05 23:28:54 +00:00
|
|
|
import { store } from './store';
|
2017-04-12 05:04:27 +00:00
|
|
|
|
2017-06-24 01:26:08 +00:00
|
|
|
const renderRoot = Root => {
|
|
|
|
let syncedHistory = syncHistoryWithStore(history, store);
|
|
|
|
render(
|
|
|
|
<Root
|
|
|
|
key={Math.random()}
|
|
|
|
routes={Routing}
|
|
|
|
history={syncedHistory}
|
|
|
|
store={store}
|
|
|
|
/>,
|
|
|
|
document.getElementById('app')
|
|
|
|
);
|
2017-04-12 05:04:27 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
renderRoot(Root);
|
|
|
|
|
|
|
|
if (module.hot) {
|
2017-07-03 18:23:44 +00:00
|
|
|
module.hot.accept('reducers/index', () =>
|
|
|
|
store.replaceReducer(require('reducers/index').default)
|
2017-07-02 17:55:58 +00:00
|
|
|
);
|
2017-04-12 05:04:27 +00:00
|
|
|
}
|