Jelajahi Sumber

ref: unimportant stuff

Sv443 5 bulan lalu
induk
melakukan
08e8eb8fee
2 mengubah file dengan 9 tambahan dan 8 penghapusan
  1. 8 7
      src/features/index.ts
  2. 1 1
      src/index.ts

+ 8 - 7
src/features/index.ts

@@ -22,6 +22,14 @@ export * from "./songLists.js";
 export * from "./versionCheck.js";
 export * from "./volume.js";
 
+//#region misc
+
+function noop() {
+  void 0;
+}
+
+void [noop];
+
 //#region adornments
 
 type AdornmentFunc =
@@ -796,10 +804,3 @@ export const featInfo = {
         emitSiteEvent("recreateCfgMenu"),
   },
 } as const satisfies FeatureInfo;
-
-
-function noop() {
-  void 0;
-}
-
-void [noop];

+ 1 - 1
src/index.ts

@@ -45,7 +45,7 @@ import { MarkdownDialog } from "./components/index.js";
   const [styleGradient, gradientContBg] = (() => {
     switch(mode) {
     case "production": return ["background: rgb(165, 57, 36); background: linear-gradient(90deg, rgb(154, 31, 103) 0%, rgb(135, 31, 31) 40%, rgb(165, 57, 36) 100%);", "rgb(165, 57, 36)"];
-    case "development": return ["background: rgb(72, 66, 178); background: linear-gradient(90deg, rgb(44, 166, 178) 0%, rgb(33, 48, 158) 40%, rgb(72, 66, 178) 100%);", "rgb(72, 66, 178)"];
+    case "development": return ["background: rgb(72, 66, 178); background: linear-gradient(90deg, rgb(38, 160, 172) 0%, rgb(33, 48, 158) 40%, rgb(72, 66, 178) 100%);", "rgb(72, 66, 178)"];
     }
   })();
   const styleCommon = "color: #fff; font-size: 1.3rem;";