feat(ios): 恢复纯色 template 渲染 + 新云图标替换 iCloud 同步

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
wangdl 2026-05-30 10:37:00 +08:00
parent d1a03ff72e
commit 0ba5401c82
34 changed files with 82 additions and 31 deletions

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -0,0 +1,16 @@
{
"images": [
{
"filename": "icon-cloud.svg",
"idiom": "universal"
}
],
"info": {
"author": "xcode",
"version": 1
},
"properties": {
"template-rendering-intent": "template",
"preserves-vector-representation": true
}
}

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M14.7395 20C14.8201 20 14.8984 20 14.9795 20C19.3978 20 22.9795 16.4183 22.9795 12C22.9795 7.58172 19.3978 4 14.9795 4C12.4531 4 10.2057 5.17107 8.73953 7L7.51953 7C3.92968 7 1.01953 9.91015 1.01953 13.5C1.01953 17.0899 3.92968 20 7.51953 20L14.5195 20C14.5927 20 14.667 20 14.7395 20ZM17.4995 18C19.8497 17.2312 21.4995 14.6815 21.4995 12C21.4995 8.68629 18.2932 5.5 14.9795 5.5C11.6658 5.5 7.99953 8.68629 7.99953 12L6.97953 12C6.97953 10.9391 7.18452 9.92643 7.55953 9L7.51953 8.5C5.03425 8.5 2.49953 11.0147 2.49953 13.5C2.49953 15.9853 4.49425 18.5 6.97953 18.5L14.5195 18.5C15.0693 18.5 16.7123 18.1804 17.4995 18Z" fill-rule="evenodd" fill="#000000"></path></svg>

After

Width:  |  Height:  |  Size: 775 B

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -8,5 +8,9 @@
"info": { "info": {
"author": "xcode", "author": "xcode",
"version": 1 "version": 1
},
"properties": {
"template-rendering-intent": "template",
"preserves-vector-representation": true
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -10,6 +10,7 @@
"version": 1 "version": 1
}, },
"properties": { "properties": {
"preserves-vector-representation": true "preserves-vector-representation": true,
"template-rendering-intent": "template"
} }
} }

View File

@ -58,7 +58,7 @@ struct SettingsView: View {
sectionHeader("数据") sectionHeader("数据")
VStack(spacing: 0) { VStack(spacing: 0) {
ZXSettingToggleRow(title: "iCloud 同步", icon: "icon-upload", color: Color.zxF05, isOn: $iCloudSync, isCustom: true) ZXSettingToggleRow(title: "iCloud 同步", icon: "icon-cloud", color: Color.zxF05, isOn: $iCloudSync, isCustom: true)
} }
.background(Color.zxFill004).clipShape(RoundedRectangle(cornerRadius: 20)) .background(Color.zxFill004).clipShape(RoundedRectangle(cornerRadius: 20))
.overlay(RoundedRectangle(cornerRadius: 20).stroke(Color.zxBorder006, lineWidth: 1)) .overlay(RoundedRectangle(cornerRadius: 20).stroke(Color.zxBorder006, lineWidth: 1))