Browse Source

[fixed] `alt_color` now considers if it should be dynamic or not (are you indoors or outdoors)

LinaHirata 6 months ago
parent
commit
0bf479c3b0
1 changed files with 6 additions and 6 deletions
  1. 6 6
      locations/themes.qsrc

+ 6 - 6
locations/themes.qsrc

@@ -179,17 +179,17 @@ end
 
 if $ARGS[0] = 'alt_color':
 	if night_mode = 0:
-		if BColorBase <= 160:
-			$result = iif($ARGS[1]='#0C0B11','#000000','#0C0B11')
+		if $bcolor ! '"#FFFFFF"' and BColorBase <= 160:
+			$result = iif($ARGS[1]='#202020','#000000','#202020')
 		else
-			$result = iif($ARGS[1]='#f3f4ee','#ffffff','#f3f4ee')
+			$result = iif($ARGS[1]='#e6f2ff','#ffffff','#e6f2ff')
 		end
 	elseif night_mode = 1:
-		$result = iif($ARGS[1]='#0C0B11','#000000','#0C0B11')
+		$result = iif($ARGS[1]='#202020','#000000','#202020')
 	elseif night_mode = 2:
-		$result = iif($ARGS[1]='#0C0B11','#141414','#0C0B11')
+		$result = iif($ARGS[1]='#303030','#141414','#303030')
 	elseif night_mode = 3:
-		$result = iif($ARGS[1]='#f3f4ee','#ffffff','#f3f4ee')
+		$result = iif($ARGS[1]='#e6f2ff','#ffffff','#e6f2ff')
 	end
 end