11import restoreTheme from "lib/restoreTheme" ;
22import appSettings from "lib/settings" ;
33import { isDeviceDarkTheme } from "lib/systemConfiguration" ;
4+ import color from "utils/color" ;
45import { createBuiltInTheme } from "./builder" ;
56import { apply , update } from "./list" ;
6- import color from "utils/color" ;
77
88const WHITE = "rgb(255, 255, 255)" ;
99const BLACK = "rgb(0, 0, 0)" ;
@@ -188,9 +188,9 @@ export function updateSystemTheme(darkTheme) {
188188 system . popupBackgroundColor = "rgb(49, 49, 49)" ;
189189 system . popupTextColor = WHITE ;
190190 system . popupActiveColor = "rgb(255, 215, 0)" ;
191- system . type = "dark"
191+ system . type = "dark" ;
192192 } else {
193- system . type = "light"
193+ system . type = "light" ;
194194 system . darkenedPrimaryColor = "rgb(153, 153, 153)" ;
195195 system . primaryColor = WHITE ;
196196 system . primaryTextColor = "rgb(51, 62, 89)" ;
@@ -209,7 +209,7 @@ export function updateSystemTheme(darkTheme) {
209209 }
210210
211211 if ( appSettings . value . appTheme . toLowerCase ( ) === "system" ) {
212- apply ( system . id , true ) ;
212+ apply ( system . id , true ) ;
213213 }
214214}
215215
0 commit comments