فهرست منبع

Update Calendar icons

Toby Chui 6 روز پیش
والد
کامیت
91473939aa

BIN
src/web/Calendar/img/desktop_icon.png


BIN
src/web/Calendar/img/desktop_icon.psd


+ 0 - 16
src/web/Calendar/img/icon.svg

@@ -1,16 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
-  <rect width="100" height="100" rx="20" fill="#007AFF"/>
-  <rect x="12" y="24" width="76" height="62" rx="8" fill="white"/>
-  <rect x="12" y="24" width="76" height="22" rx="8" fill="#005ED8"/>
-  <rect x="12" y="38" width="76" height="8" fill="#005ED8"/>
-  <rect x="28" y="16" width="8" height="18" rx="4" fill="white"/>
-  <rect x="64" y="16" width="8" height="18" rx="4" fill="white"/>
-  <rect x="22" y="57" width="10" height="8" rx="2" fill="#D1E8FF"/>
-  <rect x="38" y="57" width="10" height="8" rx="2" fill="#D1E8FF"/>
-  <circle cx="64" cy="61" r="8" fill="#007AFF"/>
-  <rect x="76" y="57" width="10" height="8" rx="2" fill="#D1E8FF"/>
-  <rect x="22" y="73" width="10" height="8" rx="2" fill="#D1E8FF"/>
-  <rect x="38" y="73" width="10" height="8" rx="2" fill="#D1E8FF"/>
-  <rect x="54" y="73" width="10" height="8" rx="2" fill="#D1E8FF"/>
-  <rect x="70" y="73" width="10" height="8" rx="2" fill="#D1E8FF"/>
-</svg>

BIN
src/web/Calendar/img/module_icon.png


BIN
src/web/Calendar/img/module_icon.psd


+ 1 - 1
src/web/Calendar/index.html

@@ -460,7 +460,7 @@ function applyDark(dark){
   document.body.classList.toggle('dark',dark);
   // Use innerHTML so we can swap between moon/sun SVGs
   document.getElementById('darkToggle').innerHTML=dark?SVG_SUN:SVG_MOON;
-  if(typeof ao_module_setWindowTheme==='function') ao_module_setWindowTheme(dark?'dark':'white');
+  //if(typeof ao_module_setWindowTheme==='function') ao_module_setWindowTheme(dark?'dark':'white');
 }
 function toggleDark(){ applyDark(!S.dark); }
 

+ 1 - 1
src/web/Calendar/init.agi

@@ -6,7 +6,7 @@ var moduleLaunchInfo = {
     Name: "Calendar",
     Desc: "A calendar app for scheduling and managing events",
     Group: "Office",
-    IconPath: "Calendar/img/icon.svg",
+    IconPath: "Calendar/img/module_icon.png",
     Version: "1.0",
     StartDir: "Calendar/index.html",
     SupportFW: true,