* (Very) experimental dark theme (only localhost) * Listener for theme changes * ThemeProps * Use actual theme with colors * Page background * Adjust with theme.bgPage * Table adjustments * Some progress (menu & inputs) * Adjustments in a number of places * Progress colors * Modals * Some calandar stuff * Toggle * Updates * Hack around dropdowns * Popup menus * Overlays * Connecting overlays
25 lines
543 B
TypeScript
25 lines
543 B
TypeScript
// Copyright 2017-2020 @polkadot/apps authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
// setup these right at front
|
|
import './initSettings';
|
|
import 'semantic-ui-css/semantic.min.css';
|
|
import '@polkadot/react-components/i18n';
|
|
|
|
import React from 'react';
|
|
import ReactDOM from 'react-dom';
|
|
|
|
import Root from './Root';
|
|
|
|
const rootId = 'root';
|
|
const rootElement = document.getElementById(rootId);
|
|
|
|
if (!rootElement) {
|
|
throw new Error(`Unable to find element with id '${rootId}'`);
|
|
}
|
|
|
|
ReactDOM.render(
|
|
<Root />,
|
|
rootElement
|
|
);
|