杂务:更新 YumiNail 工作区

This commit is contained in:
xiaowang
2026-05-29 13:30:56 +08:00
parent 1d077d4089
commit 31cd06b5c9
16498 changed files with 10330586 additions and 2340 deletions
+10 -1
View File
@@ -9,6 +9,13 @@ const assert = require('assert')
*/
const theme = require('./theme')
assert.strictEqual(theme.DEFAULT_SHOP_THEME.primaryColor, '#E8B4B8')
assert.strictEqual(theme.DEFAULT_SHOP_THEME.secondaryColor, '#C5A059')
assert.strictEqual(theme.DEFAULT_SHOP_THEME.accentColor, '#4A443F')
assert.strictEqual(theme.DEFAULT_SHOP_THEME.pageBgColor, '#FDFBF9')
assert.ok(theme.DEFAULT_SHOP_THEME.styleVars.includes('--theme-neutral: #4A443F;'))
assert.ok(theme.DEFAULT_SHOP_THEME.styleVars.includes('--theme-tertiary: #FDFBF9;'))
/**
* Purpose: customized supports theme.test.js by holding or executing the customized page or API role.
* Usage: import, call, read, or update this const from the owning page/module while preserving the surrounding loading and permission flow.
@@ -29,7 +36,9 @@ assert.strictEqual(customized.pageBgColor, '#FFF8FA')
assert.strictEqual(customized.cardBgColor, '#FFFFFF')
assert.strictEqual(customized.backgroundImageFileId, 'bg-file')
assert.ok(customized.styleVars.includes('--theme-primary: #8B4F65;'))
assert.ok(customized.styleVars.includes('--theme-gradient: linear-gradient(135deg, #8B4F65 0%, #F2C9D4 100%);'))
assert.ok(customized.styleVars.includes('--theme-neutral: #B86F84;'))
assert.ok(customized.styleVars.includes('--theme-primary-action: #AB667B;'))
assert.ok(customized.styleVars.includes('--theme-gradient: linear-gradient(135deg, #AB667B 0%, #F2C9D4 100%);'))
/**
* Purpose: themedPageData supports theme.test.js by holding or executing the themed page data page or API role.