feat(brand): 应用图标、开屏资源与品牌字体切换为 ymb

This commit is contained in:
Vicky authored and trae-solo-agent committed 2026-10-30 17:14:27 +08:00
1 parent 26321e3348
commit 22cc669bbe
71 files changed
+489 -114

No files matched your search

+28 -6
View File
@@ -87,11 +87,30 @@ flutter:
assets:
- assets/icon/
- assets/icon/splash_logo.png
- assets/icon/splash_logo_android12.png
- assets/icon/rail/
# 只打包代码实际引用的那张登录背景(其余 3 张留在仓库但不进包)。
- assets/auth/bg_3.jpg
fonts:
- family: PlusJakartaSans
fonts:
- asset: assets/fonts/PlusJakartaSans-Regular.ttf
weight: 400
- asset: assets/fonts/PlusJakartaSans-Medium.ttf
weight: 500
- asset: assets/fonts/PlusJakartaSans-SemiBold.ttf
weight: 600
- asset: assets/fonts/PlusJakartaSans-Bold.ttf
weight: 700
- family: Outfit
fonts:
- asset: assets/fonts/Outfit-Regular.ttf
weight: 400
- asset: assets/fonts/Outfit-SemiBold.ttf
weight: 600
- asset: assets/fonts/Outfit-Bold.ttf
weight: 700
# To add assets to your application, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
@@ -126,13 +145,15 @@ flutter:
flutter_launcher_icons:
android: true
ios: true
image_path: assets/icon/fruitshorts.png
adaptive_icon_background: "#FF6B2C"
adaptive_icon_foreground: assets/icon/fruitshorts.png
image_path: assets/icon/ymb.png
adaptive_icon_background: "#E9142E"
adaptive_icon_foreground: assets/icon/ymb_foreground.png
remove_alpha_ios: true
# 修改以下开屏配置后,必须重新执行:
# dart run flutter_native_splash:create
# 开屏页资源目前是手工维护的:Android 走 res/drawable*/launch_background.xml
# (黑底暗红渐变 + 居中标识),iOS 走 LaunchImage.imageset 的完整参考图。
# 不要再执行 `dart run flutter_native_splash:create`,它只会按 color 重新生成,
# 会覆盖固定尺寸布局。使用 python3 tools/generate_brand_assets.py 生成资源。
flutter_native_splash:
color: "#000000"
android: true
@@ -140,3 +161,4 @@ flutter_native_splash:
web: false
android_12:
color: "#000000"
image: assets/icon/ymb_android12.png