Ver código fonte

feat(brand): 飞马SI 品牌落地——logo 图形/启动图标/应用名/favicon

- 应用名 Fmode → 飞马SI(strings.xml + capacitor.config,appId 不变)
- 官方 logo 图形接入:登录页品牌位、favicon、Android 自适应图标全套
  (含 monochrome)、启动页 splash 重生成(logo 占比放大)
- resources/ 品牌源文件入库(logo-mark.png 等,供后续提取与再生成)

Co-Authored-By: Claude Code <noreply@anthropic.com>
Huccct 16 horas atrás
pai
commit
6043d2e997
57 arquivos alterados com 33 adições e 225 exclusões
  1. 1 1
      android/app/src/main/assets/capacitor.config.json
  2. BIN
      android/app/src/main/res/drawable-land-hdpi/splash.png
  3. BIN
      android/app/src/main/res/drawable-land-mdpi/splash.png
  4. BIN
      android/app/src/main/res/drawable-land-xhdpi/splash.png
  5. BIN
      android/app/src/main/res/drawable-land-xxhdpi/splash.png
  6. BIN
      android/app/src/main/res/drawable-land-xxxhdpi/splash.png
  7. BIN
      android/app/src/main/res/drawable-port-hdpi/splash.png
  8. BIN
      android/app/src/main/res/drawable-port-mdpi/splash.png
  9. BIN
      android/app/src/main/res/drawable-port-xhdpi/splash.png
  10. BIN
      android/app/src/main/res/drawable-port-xxhdpi/splash.png
  11. BIN
      android/app/src/main/res/drawable-port-xxxhdpi/splash.png
  12. 0 34
      android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
  13. 0 170
      android/app/src/main/res/drawable/ic_launcher_background.xml
  14. BIN
      android/app/src/main/res/drawable/splash.png
  15. BIN
      android/app/src/main/res/drawable/splash_icon.png
  16. 3 1
      android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
  17. 3 1
      android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
  18. BIN
      android/app/src/main/res/mipmap-hdpi/ic_launcher.png
  19. BIN
      android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
  20. BIN
      android/app/src/main/res/mipmap-hdpi/ic_launcher_monochrome.png
  21. BIN
      android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
  22. BIN
      android/app/src/main/res/mipmap-mdpi/ic_launcher.png
  23. BIN
      android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
  24. BIN
      android/app/src/main/res/mipmap-mdpi/ic_launcher_monochrome.png
  25. BIN
      android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
  26. BIN
      android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
  27. BIN
      android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
  28. BIN
      android/app/src/main/res/mipmap-xhdpi/ic_launcher_monochrome.png
  29. BIN
      android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
  30. BIN
      android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
  31. BIN
      android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
  32. BIN
      android/app/src/main/res/mipmap-xxhdpi/ic_launcher_monochrome.png
  33. BIN
      android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
  34. BIN
      android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
  35. BIN
      android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
  36. BIN
      android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_monochrome.png
  37. BIN
      android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
  38. 8 1
      android/app/src/main/res/values/ic_launcher_background.xml
  39. 2 2
      android/app/src/main/res/values/strings.xml
  40. 6 0
      android/app/src/main/res/values/styles.xml
  41. 1 1
      capacitor.config.ts
  42. BIN
      public/favicon.ico
  43. BIN
      public/favicon.png
  44. BIN
      public/icons/apple-touch-icon.png
  45. BIN
      public/icons/icon-192.png
  46. BIN
      public/icons/icon-512.png
  47. BIN
      public/icons/logo-mark.png
  48. BIN
      resources/icon-background.png
  49. BIN
      resources/icon-dark.png
  50. BIN
      resources/icon-foreground.png
  51. BIN
      resources/icon-monochrome.png
  52. BIN
      resources/icon-round.png
  53. BIN
      resources/icon.png
  54. BIN
      resources/logo-mark.png
  55. BIN
      resources/splash-dark.png
  56. BIN
      resources/splash.png
  57. 9 14
      src/app/pages/login/login.ts

+ 1 - 1
android/app/src/main/assets/capacitor.config.json

@@ -1,6 +1,6 @@
 {
 	"appId": "cn.fmode.app",
-	"appName": "Fmode",
+	"appName": "飞马SI",
 	"webDir": "dist/fmode-app-v2/browser",
 	"appendUserAgent": "FmodeApp/2.0",
 	"server": {

BIN
android/app/src/main/res/drawable-land-hdpi/splash.png


BIN
android/app/src/main/res/drawable-land-mdpi/splash.png


BIN
android/app/src/main/res/drawable-land-xhdpi/splash.png


BIN
android/app/src/main/res/drawable-land-xxhdpi/splash.png


BIN
android/app/src/main/res/drawable-land-xxxhdpi/splash.png


BIN
android/app/src/main/res/drawable-port-hdpi/splash.png


BIN
android/app/src/main/res/drawable-port-mdpi/splash.png


BIN
android/app/src/main/res/drawable-port-xhdpi/splash.png


BIN
android/app/src/main/res/drawable-port-xxhdpi/splash.png


BIN
android/app/src/main/res/drawable-port-xxxhdpi/splash.png


+ 0 - 34
android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml

@@ -1,34 +0,0 @@
-<vector xmlns:android="http://schemas.android.com/apk/res/android"
-    xmlns:aapt="http://schemas.android.com/aapt"
-    android:width="108dp"
-    android:height="108dp"
-    android:viewportHeight="108"
-    android:viewportWidth="108">
-    <path
-        android:fillType="evenOdd"
-        android:pathData="M32,64C32,64 38.39,52.99 44.13,50.95C51.37,48.37 70.14,49.57 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z"
-        android:strokeColor="#00000000"
-        android:strokeWidth="1">
-        <aapt:attr name="android:fillColor">
-            <gradient
-                android:endX="78.5885"
-                android:endY="90.9159"
-                android:startX="48.7653"
-                android:startY="61.0927"
-                android:type="linear">
-                <item
-                    android:color="#44000000"
-                    android:offset="0.0" />
-                <item
-                    android:color="#00000000"
-                    android:offset="1.0" />
-            </gradient>
-        </aapt:attr>
-    </path>
-    <path
-        android:fillColor="#FFFFFF"
-        android:fillType="nonZero"
-        android:pathData="M66.94,46.02L66.94,46.02C72.44,50.07 76,56.61 76,64L32,64C32,56.61 35.56,50.11 40.98,46.06L36.18,41.19C35.45,40.45 35.45,39.3 36.18,38.56C36.91,37.81 38.05,37.81 38.78,38.56L44.25,44.05C47.18,42.57 50.48,41.71 54,41.71C57.48,41.71 60.78,42.57 63.68,44.05L69.11,38.56C69.84,37.81 70.98,37.81 71.71,38.56C72.44,39.3 72.44,40.45 71.71,41.19L66.94,46.02ZM62.94,56.92C64.08,56.92 65,56.01 65,54.88C65,53.76 64.08,52.85 62.94,52.85C61.8,52.85 60.88,53.76 60.88,54.88C60.88,56.01 61.8,56.92 62.94,56.92ZM45.06,56.92C46.2,56.92 47.13,56.01 47.13,54.88C47.13,53.76 46.2,52.85 45.06,52.85C43.92,52.85 43,53.76 43,54.88C43,56.01 43.92,56.92 45.06,56.92Z"
-        android:strokeColor="#00000000"
-        android:strokeWidth="1" />
-</vector>

+ 0 - 170
android/app/src/main/res/drawable/ic_launcher_background.xml

@@ -1,170 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<vector xmlns:android="http://schemas.android.com/apk/res/android"
-    android:width="108dp"
-    android:height="108dp"
-    android:viewportHeight="108"
-    android:viewportWidth="108">
-    <path
-        android:fillColor="#26A69A"
-        android:pathData="M0,0h108v108h-108z" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M9,0L9,108"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M19,0L19,108"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M29,0L29,108"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M39,0L39,108"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M49,0L49,108"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M59,0L59,108"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M69,0L69,108"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M79,0L79,108"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M89,0L89,108"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M99,0L99,108"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M0,9L108,9"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M0,19L108,19"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M0,29L108,29"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M0,39L108,39"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M0,49L108,49"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M0,59L108,59"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M0,69L108,69"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M0,79L108,79"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M0,89L108,89"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M0,99L108,99"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M19,29L89,29"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M19,39L89,39"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M19,49L89,49"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M19,59L89,59"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M19,69L89,69"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M19,79L89,79"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M29,19L29,89"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M39,19L39,89"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M49,19L49,89"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M59,19L59,89"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M69,19L69,89"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-    <path
-        android:fillColor="#00000000"
-        android:pathData="M79,19L79,89"
-        android:strokeColor="#33FFFFFF"
-        android:strokeWidth="0.8" />
-</vector>

BIN
android/app/src/main/res/drawable/splash.png


BIN
android/app/src/main/res/drawable/splash_icon.png


+ 3 - 1
android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml

@@ -2,4 +2,6 @@
 <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
     <background android:drawable="@color/ic_launcher_background"/>
     <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
-</adaptive-icon>
+    <!-- Android 13+ 主题图标:系统按壁纸/主题给它着色,必须单色剪影 -->
+    <monochrome android:drawable="@mipmap/ic_launcher_monochrome"/>
+</adaptive-icon>

+ 3 - 1
android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml

@@ -2,4 +2,6 @@
 <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
     <background android:drawable="@color/ic_launcher_background"/>
     <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
-</adaptive-icon>
+    <!-- Android 13+ 主题图标:系统按壁纸/主题给它着色,必须单色剪影 -->
+    <monochrome android:drawable="@mipmap/ic_launcher_monochrome"/>
+</adaptive-icon>

BIN
android/app/src/main/res/mipmap-hdpi/ic_launcher.png


BIN
android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png


BIN
android/app/src/main/res/mipmap-hdpi/ic_launcher_monochrome.png


BIN
android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png


BIN
android/app/src/main/res/mipmap-mdpi/ic_launcher.png


BIN
android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png


BIN
android/app/src/main/res/mipmap-mdpi/ic_launcher_monochrome.png


BIN
android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png


BIN
android/app/src/main/res/mipmap-xhdpi/ic_launcher.png


BIN
android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png


BIN
android/app/src/main/res/mipmap-xhdpi/ic_launcher_monochrome.png


BIN
android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png


BIN
android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png


BIN
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png


BIN
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_monochrome.png


BIN
android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png


BIN
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png


BIN
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png


BIN
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_monochrome.png


BIN
android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png


+ 8 - 1
android/app/src/main/res/values/ic_launcher_background.xml

@@ -1,4 +1,11 @@
 <?xml version="1.0" encoding="utf-8"?>
 <resources>
+    <!--
+      自适应图标底色(2026-11-23 用户裁决):
+      logo 本身是蓝→紫→品红渐变,压在蓝底上会和底色糊在一起,
+      统一改为白底,让图形成为唯一视觉焦点。
+    -->
     <color name="ic_launcher_background">#FFFFFF</color>
-</resources>
+    <!-- 启动画面底色:与图标一致的白底 -->
+    <color name="splash_background">#FFFFFF</color>
+</resources>

+ 2 - 2
android/app/src/main/res/values/strings.xml

@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='utf-8'?>
 <resources>
-    <string name="app_name">Fmode</string>
-    <string name="title_activity_main">Fmode</string>
+    <string name="app_name">飞马SI</string>
+    <string name="title_activity_main">飞马SI</string>
     <string name="package_name">cn.fmode.app</string>
     <string name="custom_url_scheme">cn.fmode.app</string>
 </resources>

+ 6 - 0
android/app/src/main/res/values/styles.xml

@@ -18,5 +18,11 @@
 
     <style name="AppTheme.NoActionBarLaunch" parent="Theme.SplashScreen">
         <item name="android:background">@drawable/splash</item>
+        <!--
+          Android 12+ 系统启动页(2026-11-23):默认用桌面图标,安全区留白大,
+          投到启动页显得过小;换成专用大图(logo 占画布 67%,符合 Material 启动规范)。
+        -->
+        <item name="windowSplashScreenBackground">@android:color/white</item>
+        <item name="windowSplashScreenAnimatedIcon">@drawable/splash_icon</item>
     </style>
 </resources>

+ 1 - 1
capacitor.config.ts

@@ -30,7 +30,7 @@ import type { CapacitorConfig } from '@capacitor/cli';
 const config: CapacitorConfig = {
   /** 🔴 用户 2026-11-15 拍板:一旦分发后改名 = 换签名 + 重装 */
   appId: 'cn.fmode.app',
-  appName: 'Fmode',
+  appName: '飞马SI',
 
   /** Angular 生产构建输出目录 */
   webDir: 'dist/fmode-app-v2/browser',

BIN
public/favicon.ico


BIN
public/favicon.png


BIN
public/icons/apple-touch-icon.png


BIN
public/icons/icon-192.png


BIN
public/icons/icon-512.png


BIN
public/icons/logo-mark.png


BIN
resources/icon-background.png


BIN
resources/icon-dark.png


BIN
resources/icon-foreground.png


BIN
resources/icon-monochrome.png


BIN
resources/icon-round.png


BIN
resources/icon.png


BIN
resources/logo-mark.png


BIN
resources/splash-dark.png


BIN
resources/splash.png


+ 9 - 14
src/app/pages/login/login.ts

@@ -34,9 +34,9 @@ type LoginMethod = 'password' | 'mobile' | 'token';
       <div class="m-login">
         <header class="m-top">
           <div class="m-brand">
-            <span class="brand-mark" aria-hidden="true"><i class="fa-solid fa-cube"></i></span>
+            <img class="brand-mark" src="icons/logo-mark.png" alt="" aria-hidden="true" />
             <div class="m-brand-copy">
-              <strong>Fmode</strong>
+              <strong>飞马SI</strong>
               <span>数字生命消息中枢</span>
             </div>
           </div>
@@ -59,9 +59,9 @@ type LoginMethod = 'password' | 'mobile' | 'token';
       <div class="split">
         <section class="landing">
           <header class="lp-head">
-            <span class="brand-mark" aria-hidden="true"><i class="fa-solid fa-cube"></i></span>
+            <img class="brand-mark" src="icons/logo-mark.png" alt="" aria-hidden="true" />
             <div>
-              <div class="lp-brand">Fmode</div>
+              <div class="lp-brand">飞马SI</div>
               <div class="lp-sub">数字生命消息中枢</div>
             </div>
           </header>
@@ -73,7 +73,7 @@ type LoginMethod = 'password' | 'mobile' | 'token';
               <span class="grad">随时在线,随时交付</span>
             </h1>
             <p class="lp-lead">
-              Fmode 把人、数字生命与成果收敛到同一条消息流里 ——
+              飞马SI 把人、数字生命与成果收敛到同一条消息流里 ——
               你发一句话,它在后台自主执行,状态、过程与交付物实时回流。
             </p>
 
@@ -108,7 +108,7 @@ type LoginMethod = 'password' | 'mobile' | 'token';
           <div class="panel-inner">
             <div class="panel-meta">
               <span><i class="fa-solid fa-shield-halved" aria-hidden="true"></i>安全登录</span>
-              <small>Fmode Workspace</small>
+              <small>飞马SI · Fmode</small>
             </div>
             <div class="card">
             <ng-container *ngTemplateOutlet="form" />
@@ -271,16 +271,13 @@ type LoginMethod = 'password' | 'mobile' | 'token';
         background: var(--canvas);
       }
 
+      /* 品牌位(2026-11-23):由 fa-cube 换成官方 logo 图形,本身带渐变故不加底色 */
       .brand-mark {
-        display: grid;
-        place-items: center;
+        display: block;
         width: 40px;
         height: 40px;
         flex-shrink: 0;
-        border-radius: var(--r-md);
-        background: var(--primary);
-        color: var(--primary-content);
-        font-size: var(--fs-17);
+        object-fit: contain;
       }
 
       /* ============ 桌面:左落地 + 右登录卡 ============ */
@@ -491,8 +488,6 @@ type LoginMethod = 'password' | 'mobile' | 'token';
       .m-top .brand-mark {
         width: 40px;
         height: 40px;
-        font-size: var(--fs-17);
-        border-radius: var(--r-md);
       }
       .m-brand-copy {
         display: grid;