mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-03-03 04:00:37 +00:00
* 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.
34 lines
839 B
JavaScript
34 lines
839 B
JavaScript
// Application styles must come first in order, to allow for overrides
|
|
import 'assets/styles/etherwallet-master.less';
|
|
import 'font-awesome/scss/font-awesome.scss';
|
|
import 'sass/styles.scss';
|
|
|
|
import React from 'react';
|
|
import { render } from 'react-dom';
|
|
import { syncHistoryWithStore } from 'react-router-redux';
|
|
|
|
import { Root } from 'components';
|
|
import { Routing, history } from './routing';
|
|
import { store } from './store';
|
|
|
|
const renderRoot = Root => {
|
|
let syncedHistory = syncHistoryWithStore(history, store);
|
|
render(
|
|
<Root
|
|
key={Math.random()}
|
|
routes={Routing}
|
|
history={syncedHistory}
|
|
store={store}
|
|
/>,
|
|
document.getElementById('app')
|
|
);
|
|
};
|
|
|
|
renderRoot(Root);
|
|
|
|
if (module.hot) {
|
|
module.hot.accept('reducers/index', () =>
|
|
store.replaceReducer(require('reducers/index').default)
|
|
);
|
|
}
|