Skip to content

Commit

Permalink
少女粉, 群成员昵称彩色, 整体颜色优化
Browse files Browse the repository at this point in the history
  • Loading branch information
MustangYM committed Mar 21, 2020
1 parent c7a39a1 commit c7e74dd
Show file tree
Hide file tree
Showing 22 changed files with 293 additions and 72 deletions.
Binary file modified WeChatExtension/Rely/Plugin/WeChatExtension.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.4.4</string>
<string>2.5.0</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
Expand Down Expand Up @@ -45,6 +45,6 @@
<key>showUpdateWindow</key>
<true/>
<key>versionInfo</key>
<string>v2.4.4(2020-03-19):\n👉🏻 表情,聊天记录,群聊创建输入框,登录页,弹窗等等页面适配黑暗模式 .\n👉🏻 增加黑夜模式. \n👉🏻 开关允许打开小程序, 开关允许多开.\n👉🏻 修复某些机器下退群监控会导致闪退.\n👉🏻 修复小程序无法打开, 并且兼容微信多开.\n👉🏻 退群监控\n👉🏻 恢复老版本自动回复, 优化AI界面\n👉🏻 适配微信2.3.29消息防撤回\n👉🏻 修复翻译问题\n👉🏻 AI自动撩妹\n👉🏻 加速一键更新, 安装包瘦身\n👉🏻 聊天框多选删除闪退BUG\n👉🏻 Alfred头像Bug\n👉🏻 优化适配英文系统\n👉🏻 修复2.3.26疯狂闪退 \n\n\nv1.9.2(2019-06-28):\n👉🏻 群聊撤回显示真实联系人, 修复消息筛选Bug\n👉🏻 修复会话多选以及公众号信息点击闪退\n👉🏻 用系统浏览器打开网页\n👉🏻 将拦截到的撤回消息同步到手机端\n👉🏼 支持一键更新 \n\n\nv1.8.0(2019-01-13):\n👉🏻 适配微信 Version. 2.3.24\n👉🏼 适配多开, 置底闪退, 置顶闪退等各种闪退\n\n\nv1.7.3 (2018-10-22):\n👉🏻 适配微信 Version. 2.3.19\n👉🏼 修复安全漏洞(请务必更新,若有安装QQ插件也需要更新)\n👉🏽 菜单栏-关于小助手-新增 alfred 开关(若不使用 aflred 可关闭) \n</string>
<string>v2.5.0(2020-03-21):\n👉🏻 黑夜模式, 少女粉主题, 输入框颜色优化, 群成员昵称彩色 \n👉🏻 表情,聊天记录,群聊创建输入框,登录页,弹窗等等页面适配黑暗模式 .\n👉🏻 增加黑夜模式. \n👉🏻 开关允许打开小程序, 开关允许多开.\n👉🏻 修复某些机器下退群监控会导致闪退.\n👉🏻 修复小程序无法打开, 并且兼容微信多开.\n👉🏻 退群监控\n👉🏻 恢复老版本自动回复, 优化AI界面\n👉🏻 适配微信2.3.29消息防撤回\n👉🏻 修复翻译问题\n👉🏻 AI自动撩妹\n👉🏻 加速一键更新, 安装包瘦身 \n\n\nv1.9.2(2019-06-28):\n👉🏻 群聊撤回显示真实联系人, 修复消息筛选Bug\n👉🏻 修复会话多选以及公众号信息点击闪退\n👉🏻 用系统浏览器打开网页\n👉🏻 将拦截到的撤回消息同步到手机端\n👉🏼 支持一键更新 \n\n\nv1.8.0(2019-01-13):\n👉🏻 适配微信 Version. 2.3.24\n👉🏼 适配多开, 置底闪退, 置顶闪退等各种闪退\n\n\nv1.7.3 (2018-10-22):\n👉🏻 适配微信 Version. 2.3.19\n👉🏼 修复安全漏洞(请务必更新,若有安装QQ插件也需要更新)\n👉🏽 菜单栏-关于小助手-新增 alfred 开关(若不使用 aflred 可关闭) \n</string>
</dict>
</plist>
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.4.4</string>
<string>2.5.0</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
Expand Down Expand Up @@ -45,6 +45,6 @@
<key>showUpdateWindow</key>
<true/>
<key>versionInfo</key>
<string>v2.4.4(2020-03-19):\n👉🏻 表情,聊天记录,群聊创建输入框,登录页,弹窗等等页面适配黑暗模式 .\n👉🏻 增加黑夜模式. \n👉🏻 开关允许打开小程序, 开关允许多开.\n👉🏻 修复某些机器下退群监控会导致闪退.\n👉🏻 修复小程序无法打开, 并且兼容微信多开.\n👉🏻 退群监控\n👉🏻 恢复老版本自动回复, 优化AI界面\n👉🏻 适配微信2.3.29消息防撤回\n👉🏻 修复翻译问题\n👉🏻 AI自动撩妹\n👉🏻 加速一键更新, 安装包瘦身\n👉🏻 聊天框多选删除闪退BUG\n👉🏻 Alfred头像Bug\n👉🏻 优化适配英文系统\n👉🏻 修复2.3.26疯狂闪退 \n\n\nv1.9.2(2019-06-28):\n👉🏻 群聊撤回显示真实联系人, 修复消息筛选Bug\n👉🏻 修复会话多选以及公众号信息点击闪退\n👉🏻 用系统浏览器打开网页\n👉🏻 将拦截到的撤回消息同步到手机端\n👉🏼 支持一键更新 \n\n\nv1.8.0(2019-01-13):\n👉🏻 适配微信 Version. 2.3.24\n👉🏼 适配多开, 置底闪退, 置顶闪退等各种闪退\n\n\nv1.7.3 (2018-10-22):\n👉🏻 适配微信 Version. 2.3.19\n👉🏼 修复安全漏洞(请务必更新,若有安装QQ插件也需要更新)\n👉🏽 菜单栏-关于小助手-新增 alfred 开关(若不使用 aflred 可关闭) \n</string>
<string>v2.5.0(2020-03-21):\n👉🏻 黑夜模式, 少女粉主题, 输入框颜色优化, 群成员昵称彩色 \n👉🏻 表情,聊天记录,群聊创建输入框,登录页,弹窗等等页面适配黑暗模式 .\n👉🏻 增加黑夜模式. \n👉🏻 开关允许打开小程序, 开关允许多开.\n👉🏻 修复某些机器下退群监控会导致闪退.\n👉🏻 修复小程序无法打开, 并且兼容微信多开.\n👉🏻 退群监控\n👉🏻 恢复老版本自动回复, 优化AI界面\n👉🏻 适配微信2.3.29消息防撤回\n👉🏻 修复翻译问题\n👉🏻 AI自动撩妹\n👉🏻 加速一键更新, 安装包瘦身 \n\n\nv1.9.2(2019-06-28):\n👉🏻 群聊撤回显示真实联系人, 修复消息筛选Bug\n👉🏻 修复会话多选以及公众号信息点击闪退\n👉🏻 用系统浏览器打开网页\n👉🏻 将拦截到的撤回消息同步到手机端\n👉🏼 支持一键更新 \n\n\nv1.8.0(2019-01-13):\n👉🏻 适配微信 Version. 2.3.24\n👉🏼 适配多开, 置底闪退, 置顶闪退等各种闪退\n\n\nv1.7.3 (2018-10-22):\n👉🏻 适配微信 Version. 2.3.19\n👉🏼 修复安全漏洞(请务必更新,若有安装QQ插件也需要更新)\n👉🏽 菜单栏-关于小助手-新增 alfred 开关(若不使用 aflred 可关闭) \n</string>
</dict>
</plist>
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</data>
<key>Resources/Info.plist</key>
<data>
xpn5CHe077C1cz2jr998A0ZHNJ8=
Q5aksdxYzevzzwCGfqTOMg7mlcE=
</data>
<key>Resources/LockPlist.plist</key>
<data>
Expand Down Expand Up @@ -138,11 +138,11 @@
<dict>
<key>hash</key>
<data>
xpn5CHe077C1cz2jr998A0ZHNJ8=
Q5aksdxYzevzzwCGfqTOMg7mlcE=
</data>
<key>hash2</key>
<data>
R1i6k0SYUdHy029rO+Q93o7P0SBXITjRq+x9f27ZYt0=
PvydcgtpI5CQ73yisgbbhvxosXekVY4atu4Er/Wq6lQ=
</data>
</dict>
<key>Resources/LockPlist.plist</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.4.4</string>
<string>2.5.0</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
Expand Down Expand Up @@ -45,6 +45,6 @@
<key>showUpdateWindow</key>
<true/>
<key>versionInfo</key>
<string>v2.4.4(2020-03-19):\n👉🏻 表情,聊天记录,群聊创建输入框,登录页,弹窗等等页面适配黑暗模式 .\n👉🏻 增加黑夜模式. \n👉🏻 开关允许打开小程序, 开关允许多开.\n👉🏻 修复某些机器下退群监控会导致闪退.\n👉🏻 修复小程序无法打开, 并且兼容微信多开.\n👉🏻 退群监控\n👉🏻 恢复老版本自动回复, 优化AI界面\n👉🏻 适配微信2.3.29消息防撤回\n👉🏻 修复翻译问题\n👉🏻 AI自动撩妹\n👉🏻 加速一键更新, 安装包瘦身\n👉🏻 聊天框多选删除闪退BUG\n👉🏻 Alfred头像Bug\n👉🏻 优化适配英文系统\n👉🏻 修复2.3.26疯狂闪退 \n\n\nv1.9.2(2019-06-28):\n👉🏻 群聊撤回显示真实联系人, 修复消息筛选Bug\n👉🏻 修复会话多选以及公众号信息点击闪退\n👉🏻 用系统浏览器打开网页\n👉🏻 将拦截到的撤回消息同步到手机端\n👉🏼 支持一键更新 \n\n\nv1.8.0(2019-01-13):\n👉🏻 适配微信 Version. 2.3.24\n👉🏼 适配多开, 置底闪退, 置顶闪退等各种闪退\n\n\nv1.7.3 (2018-10-22):\n👉🏻 适配微信 Version. 2.3.19\n👉🏼 修复安全漏洞(请务必更新,若有安装QQ插件也需要更新)\n👉🏽 菜单栏-关于小助手-新增 alfred 开关(若不使用 aflred 可关闭) \n</string>
<string>v2.5.0(2020-03-21):\n👉🏻 黑夜模式, 少女粉主题, 输入框颜色优化, 群成员昵称彩色 \n👉🏻 表情,聊天记录,群聊创建输入框,登录页,弹窗等等页面适配黑暗模式 .\n👉🏻 增加黑夜模式. \n👉🏻 开关允许打开小程序, 开关允许多开.\n👉🏻 修复某些机器下退群监控会导致闪退.\n👉🏻 修复小程序无法打开, 并且兼容微信多开.\n👉🏻 退群监控\n👉🏻 恢复老版本自动回复, 优化AI界面\n👉🏻 适配微信2.3.29消息防撤回\n👉🏻 修复翻译问题\n👉🏻 AI自动撩妹\n👉🏻 加速一键更新, 安装包瘦身 \n\n\nv1.9.2(2019-06-28):\n👉🏻 群聊撤回显示真实联系人, 修复消息筛选Bug\n👉🏻 修复会话多选以及公众号信息点击闪退\n👉🏻 用系统浏览器打开网页\n👉🏻 将拦截到的撤回消息同步到手机端\n👉🏼 支持一键更新 \n\n\nv1.8.0(2019-01-13):\n👉🏻 适配微信 Version. 2.3.24\n👉🏼 适配多开, 置底闪退, 置顶闪退等各种闪退\n\n\nv1.7.3 (2018-10-22):\n👉🏻 适配微信 Version. 2.3.19\n👉🏼 修复安全漏洞(请务必更新,若有安装QQ插件也需要更新)\n👉🏽 菜单栏-关于小助手-新增 alfred 开关(若不使用 aflred 可关闭) \n</string>
</dict>
</plist>
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</data>
<key>Resources/Info.plist</key>
<data>
xpn5CHe077C1cz2jr998A0ZHNJ8=
Q5aksdxYzevzzwCGfqTOMg7mlcE=
</data>
<key>Resources/LockPlist.plist</key>
<data>
Expand Down Expand Up @@ -138,11 +138,11 @@
<dict>
<key>hash</key>
<data>
xpn5CHe077C1cz2jr998A0ZHNJ8=
Q5aksdxYzevzzwCGfqTOMg7mlcE=
</data>
<key>hash2</key>
<data>
R1i6k0SYUdHy029rO+Q93o7P0SBXITjRq+x9f27ZYt0=
PvydcgtpI5CQ73yisgbbhvxosXekVY4atu4Er/Wq6lQ=
</data>
</dict>
<key>Resources/LockPlist.plist</key>
Expand Down
Binary file not shown.
12 changes: 6 additions & 6 deletions WeChatExtension/WeChatExtension.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
188A662D2272ACBA0096663E /* ColorConstant.h in Headers */ = {isa = PBXBuildFile; fileRef = 188A65D72272ACBA0096663E /* ColorConstant.h */; };
188A662E2272ACBA0096663E /* DefineConstant.h in Headers */ = {isa = PBXBuildFile; fileRef = 188A65D82272ACBA0096663E /* DefineConstant.h */; };
188A662F2272ACBA0096663E /* NotifyConstant.h in Headers */ = {isa = PBXBuildFile; fileRef = 188A65D92272ACBA0096663E /* NotifyConstant.h */; };
188A66302272ACBA0096663E /* TKPrefixHeader.pch in Headers */ = {isa = PBXBuildFile; fileRef = 188A65DA2272ACBA0096663E /* TKPrefixHeader.pch */; };
188A66302272ACBA0096663E /* YMPrefixHeader.pch in Headers */ = {isa = PBXBuildFile; fileRef = 188A65DA2272ACBA0096663E /* YMPrefixHeader.pch */; };
188A66312272ACBA0096663E /* TKAutoReplyContentView.m in Sources */ = {isa = PBXBuildFile; fileRef = 188A65DD2272ACBA0096663E /* TKAutoReplyContentView.m */; };
188A66322272ACBA0096663E /* TKAutoReplyCell.h in Headers */ = {isa = PBXBuildFile; fileRef = 188A65DE2272ACBA0096663E /* TKAutoReplyCell.h */; };
188A66332272ACBA0096663E /* TKAutoReplyContentView.h in Headers */ = {isa = PBXBuildFile; fileRef = 188A65DF2272ACBA0096663E /* TKAutoReplyContentView.h */; };
Expand Down Expand Up @@ -244,7 +244,7 @@
188A65D72272ACBA0096663E /* ColorConstant.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ColorConstant.h; sourceTree = "<group>"; };
188A65D82272ACBA0096663E /* DefineConstant.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DefineConstant.h; sourceTree = "<group>"; };
188A65D92272ACBA0096663E /* NotifyConstant.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NotifyConstant.h; sourceTree = "<group>"; };
188A65DA2272ACBA0096663E /* TKPrefixHeader.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TKPrefixHeader.pch; sourceTree = "<group>"; };
188A65DA2272ACBA0096663E /* YMPrefixHeader.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = YMPrefixHeader.pch; sourceTree = "<group>"; };
188A65DD2272ACBA0096663E /* TKAutoReplyContentView.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TKAutoReplyContentView.m; sourceTree = "<group>"; };
188A65DE2272ACBA0096663E /* TKAutoReplyCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TKAutoReplyCell.h; sourceTree = "<group>"; };
188A65DF2272ACBA0096663E /* TKAutoReplyContentView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TKAutoReplyContentView.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -564,7 +564,7 @@
children = (
188A65C52272ACBA0096663E /* Category */,
188A65D62272ACBA0096663E /* Macro */,
188A65DA2272ACBA0096663E /* TKPrefixHeader.pch */,
188A65DA2272ACBA0096663E /* YMPrefixHeader.pch */,
);
path = Common;
sourceTree = "<group>";
Expand Down Expand Up @@ -813,7 +813,7 @@
188A660C2272ACBA0096663E /* TKVersionManager.h in Headers */,
36AC9D87228A813F00EA9F97 /* YMDownloadManager.h in Headers */,
3644BDFC2285545500EDE358 /* TCBlobDownload.h in Headers */,
188A66302272ACBA0096663E /* TKPrefixHeader.pch in Headers */,
188A66302272ACBA0096663E /* YMPrefixHeader.pch in Headers */,
188A661F2272ACBA0096663E /* NSTextField+Action.h in Headers */,
188A66262272ACBA0096663E /* NSButton+Action.h in Headers */,
18A7A1702272AFE600361A98 /* GCDWebServerURLEncodedFormRequest.h in Headers */,
Expand Down Expand Up @@ -1244,7 +1244,7 @@
"$(PROJECT_DIR)/WeChatExtension/Sources",
);
FRAMEWORK_VERSION = A;
GCC_PREFIX_HEADER = WeChatExtension/Sources/Common/TKPrefixHeader.pch;
GCC_PREFIX_HEADER = WeChatExtension/Sources/Common/YMPrefixHeader.pch;
INFOPLIST_FILE = WeChatExtension/Base.lproj/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
Expand Down Expand Up @@ -1277,7 +1277,7 @@
"$(PROJECT_DIR)/WeChatExtension/Sources",
);
FRAMEWORK_VERSION = A;
GCC_PREFIX_HEADER = WeChatExtension/Sources/Common/TKPrefixHeader.pch;
GCC_PREFIX_HEADER = WeChatExtension/Sources/Common/YMPrefixHeader.pch;
INFOPLIST_FILE = WeChatExtension/Base.lproj/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
Expand Down
Binary file not shown.
4 changes: 2 additions & 2 deletions WeChatExtension/WeChatExtension/Base.lproj/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.4.4</string>
<string>2.5.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSHumanReadableCopyright</key>
Expand All @@ -25,6 +25,6 @@
<key>showUpdateWindow</key>
<true/>
<key>versionInfo</key>
<string>v2.4.4(2020-03-19):\n👉🏻 表情,聊天记录,群聊创建输入框,登录页,弹窗等等页面适配黑暗模式 .\n👉🏻 增加黑夜模式. \n👉🏻 开关允许打开小程序, 开关允许多开.\n👉🏻 修复某些机器下退群监控会导致闪退.\n👉🏻 修复小程序无法打开, 并且兼容微信多开.\n👉🏻 退群监控\n👉🏻 恢复老版本自动回复, 优化AI界面\n👉🏻 适配微信2.3.29消息防撤回\n👉🏻 修复翻译问题\n👉🏻 AI自动撩妹\n👉🏻 加速一键更新, 安装包瘦身\n👉🏻 聊天框多选删除闪退BUG\n👉🏻 Alfred头像Bug\n👉🏻 优化适配英文系统\n👉🏻 修复2.3.26疯狂闪退 \n\n\nv1.9.2(2019-06-28):\n👉🏻 群聊撤回显示真实联系人, 修复消息筛选Bug\n👉🏻 修复会话多选以及公众号信息点击闪退\n👉🏻 用系统浏览器打开网页\n👉🏻 将拦截到的撤回消息同步到手机端\n👉🏼 支持一键更新 \n\n\nv1.8.0(2019-01-13):\n👉🏻 适配微信 Version. 2.3.24\n👉🏼 适配多开, 置底闪退, 置顶闪退等各种闪退\n\n\nv1.7.3 (2018-10-22):\n👉🏻 适配微信 Version. 2.3.19\n👉🏼 修复安全漏洞(请务必更新,若有安装QQ插件也需要更新)\n👉🏽 菜单栏-关于小助手-新增 alfred 开关(若不使用 aflred 可关闭) \n</string>
<string>v2.5.0(2020-03-21):\n👉🏻 黑夜模式, 少女粉主题, 输入框颜色优化, 群成员昵称彩色 \n👉🏻 表情,聊天记录,群聊创建输入框,登录页,弹窗等等页面适配黑暗模式 .\n👉🏻 增加黑夜模式. \n👉🏻 开关允许打开小程序, 开关允许多开.\n👉🏻 修复某些机器下退群监控会导致闪退.\n👉🏻 修复小程序无法打开, 并且兼容微信多开.\n👉🏻 退群监控\n👉🏻 恢复老版本自动回复, 优化AI界面\n👉🏻 适配微信2.3.29消息防撤回\n👉🏻 修复翻译问题\n👉🏻 AI自动撩妹\n👉🏻 加速一键更新, 安装包瘦身 \n\n\nv1.9.2(2019-06-28):\n👉🏻 群聊撤回显示真实联系人, 修复消息筛选Bug\n👉🏻 修复会话多选以及公众号信息点击闪退\n👉🏻 用系统浏览器打开网页\n👉🏻 将拦截到的撤回消息同步到手机端\n👉🏼 支持一键更新 \n\n\nv1.8.0(2019-01-13):\n👉🏻 适配微信 Version. 2.3.24\n👉🏼 适配多开, 置底闪退, 置顶闪退等各种闪退\n\n\nv1.7.3 (2018-10-22):\n👉🏻 适配微信 Version. 2.3.19\n👉🏼 修复安全漏洞(请务必更新,若有安装QQ插件也需要更新)\n👉🏽 菜单栏-关于小助手-新增 alfred 开关(若不使用 aflred 可关闭) \n</string>
</dict>
</plist>
30 changes: 0 additions & 30 deletions WeChatExtension/WeChatExtension/Sources/Common/TKPrefixHeader.pch

This file was deleted.

38 changes: 38 additions & 0 deletions WeChatExtension/WeChatExtension/Sources/Common/YMPrefixHeader.pch
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
//
// YMPrefixHeader.pch
// WeChatExtension
//
// Created by WeChatExtension on 2017/8/20.
// Copyright © 2017年 WeChatExtension. All rights reserved.
//

#ifndef YMPrefixHeader_pch
#define YMPrefixHeader_pch

#ifdef __OBJC__
#import "ColorConstant.h"
#import "DefineConstant.h"
#import "NotifyConstant.h"
#import "NSView+Action.h"
#import "NSButton+Action.h"
#import "NSTextField+Action.h"
#import "NSMenu+Action.h"
#import "NSString+Action.h"
#import "NSDate+Action.h"
#import "NSWindowController+Action.h"
#import "WeChatPlugin.h"
#import "YMUtility.h"

#import "TKWeChatPluginConfig.h"
#import "YMHelper.h"
#endif

#define kRGBColor(r,g,b,a) [NSColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:(a)]
#define kArc4random_Double_inSpace(a,b) a<b ? rand() / (float)RAND_MAX * (b-a) * 1 + (a) : rand() / (float)RAND_MAX * (a-b) * 1 + (b)

#define kDarkBacgroundColor kRGBColor(24, 34, 45, 1)
#define kPinkBacgroundColor kRGBColor(226,139,156,1.0)

#define kMainBackgroundColor [TKWeChatPluginConfig sharedConfig].darkMode ? kDarkBacgroundColor : kPinkBacgroundColor
#define kMainTextColor [TKWeChatPluginConfig sharedConfig].darkMode ? kRGBColor(177, 195, 213, 1.0) : kRGBColor(47, 47, 50, 0.7)
#endif /* YMPrefixHeader_pch */
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,11 @@ typedef NS_ENUM(NSInteger, PluginLanguageType) {
@property (nonatomic, strong) YMAIAutoModel *AIReplyModel;
@property (nonatomic, assign) PluginLanguageType languageType;
@property (nonatomic, assign) BOOL isAllowMoreOpenBaby;

@property (nonatomic, assign) BOOL darkMode;
@property (nonatomic, assign) BOOL pinkMode;
@property (nonatomic, assign) BOOL groupMultiColorMode;
@property (nonatomic, assign) BOOL isThemeLoaded;

- (void)saveAutoReplyModels;
- (void)saveRemoteControlModels;
Expand Down
Loading

0 comments on commit c7e74dd

Please sign in to comment.