Bootstrap v4 dark mode for modals and settings window (#1650)
* Bootstrap v4 dark mode for modals and settings window * Fix package-lock.json * Fix package-lock.json again * Merge'd * Oops * Refactor into helper
This commit is contained in:
@@ -6,11 +6,15 @@ import ReactDOM from 'react-dom';
|
||||
|
||||
import {MODAL_CANCEL, MODAL_RESULT, RETRIEVE_MODAL_INFO, MODAL_SEND_IPC_MESSAGE} from 'common/communication';
|
||||
|
||||
import PermissionModal from './permissionModal';
|
||||
|
||||
import 'bootstrap/dist/css/bootstrap.min.css';
|
||||
import 'renderer/css/modals.css';
|
||||
|
||||
import setupDarkMode from '../darkMode';
|
||||
|
||||
import PermissionModal from './permissionModal';
|
||||
|
||||
setupDarkMode();
|
||||
|
||||
const handleDeny = () => {
|
||||
window.postMessage({type: MODAL_CANCEL}, window.location.href);
|
||||
};
|
||||
|
Reference in New Issue
Block a user