From b7fa29e298e37729ad62a51d5d58f1c957bca81a Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Fri, 24 Feb 2023 18:36:25 +0800 Subject: [PATCH] Xcode // Use `#889464` as the global theme color. - Bright Mode: R:88/255, G:94/255, B:64/255 - Dark Mode: #889464 --- .../ThemeColor.colorset/Contents.json | 38 +++++++++++++++++++ vChewing.xcodeproj/project.pbxproj | 4 ++ 2 files changed, 42 insertions(+) create mode 100644 Source/Resources/Images/Images.xcassets/ThemeColor.colorset/Contents.json diff --git a/Source/Resources/Images/Images.xcassets/ThemeColor.colorset/Contents.json b/Source/Resources/Images/Images.xcassets/ThemeColor.colorset/Contents.json new file mode 100644 index 00000000..a0c56c30 --- /dev/null +++ b/Source/Resources/Images/Images.xcassets/ThemeColor.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.251", + "green" : "0.369", + "red" : "0.345" + } + }, + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0.392", + "green" : "0.580", + "red" : "0.533" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/vChewing.xcodeproj/project.pbxproj b/vChewing.xcodeproj/project.pbxproj index f025192f..45e9cdf0 100644 --- a/vChewing.xcodeproj/project.pbxproj +++ b/vChewing.xcodeproj/project.pbxproj @@ -1549,6 +1549,7 @@ buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = ThemeColor; CLANG_CXX_LANGUAGE_STANDARD = "c++17"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; @@ -1611,6 +1612,7 @@ buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = ThemeColor; CLANG_CXX_LANGUAGE_STANDARD = "c++17"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; @@ -1665,6 +1667,7 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = ThemeColor; CLANG_CXX_LANGUAGE_STANDARD = "c++17"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_OBJC_ARC = YES; @@ -1712,6 +1715,7 @@ isa = XCBuildConfiguration; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = ThemeColor; CLANG_CXX_LANGUAGE_STANDARD = "c++17"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_OBJC_ARC = YES;