File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 130130}
131131
132132: root {
133-
133+ --color-base : # 212121 ;
134+ --background-color-A : # 212121 ;
135+
134136 --nav-height : calc (100vh - 96vh );
135137 --main-height : calc (100vh - 4vh );
136138 --left_area-height : calc (100vh - 5vh );
Original file line number Diff line number Diff line change 11<!DOCTYPE html>
2- < html lang ="en ">
2+ < html lang ="en " class =" dark-mode " >
33
44< head >
55 < title > Manga Editor Desu! Pro Edition: The Premier Standalone Manga Editing Platform</ title >
Original file line number Diff line number Diff line change @@ -142,6 +142,8 @@ const logo=$('navbar-logo');
142142
143143document . body . classList . remove ( 'light-mode' ) ;
144144document . body . classList . add ( 'dark-mode' ) ;
145+ document . documentElement . classList . remove ( 'light-mode' ) ;
146+ document . documentElement . classList . add ( 'dark-mode' ) ;
145147localStorage . setItem ( 'mode' , 'dark-mode' ) ;
146148logo . src = '02_images_svg/Logo/black_mode_logo.webp' ;
147149
@@ -158,6 +160,7 @@ function initializeMode() {
158160// const mode = localStorage.getItem('mode') || 'dark-mode';
159161const mode = 'dark-mode' ;
160162document . body . classList . add ( mode ) ;
163+ document . documentElement . classList . add ( mode ) ;
161164const logo = $ ( 'navbar-logo' ) ;
162165if ( mode === 'dark-mode' ) {
163166$ ( 'mode-toggle' ) . checked = true ;
You can’t perform that action at this time.
0 commit comments