aboutsummaryrefslogtreecommitdiffstats
path: root/packages/renderer
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2022-05-25 19:11:23 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2022-05-26 15:49:42 +0200
commit888277e49db9f5831f0afe4dd3bcc82b7b84465f (patch)
tree0fed21d4e77eab19662ab841ed514318e3855ca2 /packages/renderer
parentbuild(renderer): use modern MUI build (diff)
downloadsophie-888277e49db9f5831f0afe4dd3bcc82b7b84465f.tar.gz
sophie-888277e49db9f5831f0afe4dd3bcc82b7b84465f.tar.zst
sophie-888277e49db9f5831f0afe4dd3bcc82b7b84465f.zip
refactor: use setBackgroundColor instead of CSS
Signed-off-by: Kristóf Marussy <kristof@marussy.com>
Diffstat (limited to 'packages/renderer')
-rw-r--r--packages/renderer/src/index.tsx1
-rw-r--r--packages/renderer/src/style.css29
2 files changed, 0 insertions, 30 deletions
diff --git a/packages/renderer/src/index.tsx b/packages/renderer/src/index.tsx
index 32fcee6..f1e8542 100644
--- a/packages/renderer/src/index.tsx
+++ b/packages/renderer/src/index.tsx
@@ -24,7 +24,6 @@ import { addDisposer } from 'mobx-state-tree';
24import React, { Suspense, lazy } from 'react'; 24import React, { Suspense, lazy } from 'react';
25import { createRoot } from 'react-dom/client'; 25import { createRoot } from 'react-dom/client';
26 26
27import './style.css';
28import Loading from './components/Loading.js'; 27import Loading from './components/Loading.js';
29import ThemeProvider from './components/ThemeProvider.js'; 28import ThemeProvider from './components/ThemeProvider.js';
30import { exposeToReduxDevtools, hotReload } from './devTools.js'; 29import { exposeToReduxDevtools, hotReload } from './devTools.js';
diff --git a/packages/renderer/src/style.css b/packages/renderer/src/style.css
deleted file mode 100644
index d0bf2fb..0000000
--- a/packages/renderer/src/style.css
+++ /dev/null
@@ -1,29 +0,0 @@
1/*
2 * Copyright (C) 2022 Kristóf Marussy <kristof@marussy.com>
3 *
4 * This file is part of Sophie.
5 *
6 * Sophie is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU Affero General Public License as
8 * published by the Free Software Foundation, version 3.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Affero General Public License for more details.
14 *
15 * You should have received a copy of the GNU Affero General Public License
16 * along with this program. If not, see <https://www.gnu.org/licenses/>.
17 *
18 * SPDX-License-Identifier: AGPL-3.0-only
19 */
20
21body {
22 background-color: #fff;
23}
24
25@media (prefers-color-scheme: dark) {
26 body {
27 background-color: #121212;
28 }
29}