We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 580f57c commit 83354c5Copy full SHA for 83354c5
client/src/redux/night-mode-saga.js
@@ -5,15 +5,11 @@ import store from 'store';
5
6
const themeKey = 'fcc-theme';
7
const defaultTheme = 'default';
8
-const nightTheme = 'night';
9
10
export function setTheme(currentTheme = defaultTheme, theme) {
11
if (currentTheme !== theme) {
12
store.set(themeKey, theme);
13
}
14
- const html = document.getElementById('__fcc-html');
15
- html.classList.remove(theme === nightTheme ? defaultTheme : nightTheme);
16
- html.classList.add(theme);
17
18
19
function* updateLocalThemeSaga({ payload: { user, theme } }) {
client/src/templates/Challenges/components/help-modal.css
@@ -3,7 +3,3 @@
3
font-size: 16px;
4
-
-.night .help-modal-header .close {
- color: #fff;
-}
0 commit comments