Toggle between dark / light theme and Toggle their label assignments settings (切换主题和标记分配)

(切换主题的同时,切换标记分配)
Theme package .dlt is a zip file that does not include label assignments configuration files.
So, toggle themes may confuse the label assignments.
label assignments configuration files are foldercolors.oxc and colorgroups.oxc in [/dopusdata\ConfigFiles].
So, we can determine whether the current theme is Dark or Light, and then replace these two files accordingly.
Because non .dlt files in [/popusdata\Themes] will not be backed up to .ocb file, and
files in [/popusdata\Images] will be backed up to .ocb file.
So place the files such as foldercolors.oxc to [/popusdata\Images], so that they can be backed up.

主题包.dlt是zip压缩包,不包含标记分配配置文件
标记和分配的配置文件是/dopusdata\ConfigFiles下的 foldercolors.oxc 和 colorgroups.oxc
因此可先判断当前主题是深是浅,然后对应替换这两个文件
由于 /dopusdata\Themes 路径下的非.dlt文件不会备份到.ocb中,而
在 /dopusdata\Images 路径下的文件都会备份到
所以将 foldercolors.oxc 等文件放在Images中,就能完美备份了

Dark Mode (include label assignments).dcf (2.1 KB)
切换深色浅色主题(含标记分配).dcf (1.9 KB)