File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -381,7 +381,7 @@ function dist_src() {
381
381
function dist_node_modules_css ( ) {
382
382
return gulp
383
383
. src ( "./node_modules/**/*.min.css" )
384
- . pipe ( gulp . dest ( `${ DIST_DIR } node_modules` ) ) ;
384
+ . pipe ( gulp . dest ( `${ DIST_DIR } node_modules/ ` ) ) ;
385
385
}
386
386
387
387
function dist_ol_css ( ) {
Original file line number Diff line number Diff line change 6
6
min-height : 100% ;
7
7
height : 100% ;
8
8
overflow-y : auto ;
9
- background-color : #2e2e2e ;
10
9
}
11
10
.content_top {
12
11
height : 140px ;
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ const DarkTheme = {
13
13
} ;
14
14
15
15
DarkTheme . isDarkThemeEnabled = function ( callback ) {
16
+ console . log ( 'isDarkThemeEnabled' , this . configSetting ) ;
17
+
16
18
if ( this . configSetting === 0 ) {
17
19
callback ( true ) ;
18
20
} else if ( this . configSetting === 2 ) {
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export default class Sponsor {
11
11
if ( ! navigator . onLine ) {
12
12
return ;
13
13
}
14
-
14
+ console . log ( 'Loading sponsor tile' , window . matchMedia && window . matchMedia ( '(prefers-color-scheme: dark)' ) . matches ) ;
15
15
this . _api . loadSponsorTile ( DarkTheme . enabled ? 'dark' : 'light' , name ,
16
16
( content ) => {
17
17
if ( content ) {
You can’t perform that action at this time.
0 commit comments