From cf3fb5dbbb685e5fcb14925383460e9530d8fbe0 Mon Sep 17 00:00:00 2001 From: fxy060608 Date: Fri, 8 Jul 2022 19:32:21 +0800 Subject: [PATCH] feat(mp-lark): darkmode (#3554) --- packages/uni-mp-lark/lib/uni.config.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/uni-mp-lark/lib/uni.config.js b/packages/uni-mp-lark/lib/uni.config.js index 818881e5d..f75e5fc14 100644 --- a/packages/uni-mp-lark/lib/uni.config.js +++ b/packages/uni-mp-lark/lib/uni.config.js @@ -12,10 +12,11 @@ module.exports = { template: '.ttml' }, subPackages: true, - project: 'project.lark.json' + project: 'project.lark.json', + darkmode: true }, copyWebpackOptions (platformOptions, vueOptions) { - const copyOptions = ['ttcomponents'] + const copyOptions = ['ttcomponents','theme.json'] global.uniModules.forEach(module => { copyOptions.push('uni_modules/' + module + '/ttcomponents') }) -- GitLab