style: 提升主首帧角标对比度
This commit is contained in:
1 parent
158287c980
commit
7d2900c705
2 files changed
+13
-1
No files matched your search
@@ -49,6 +49,13 @@ describe('镜头生产数据契约', () => {
|
||||
)
|
||||
})
|
||||
|
||||
it('主首帧角标使用深色强调背景并在图片上保持清晰边界', () => {
|
||||
const source = readFileSync('src/features/production/components/ShotProductionAssets.vue', 'utf8')
|
||||
expect(source).toMatch(
|
||||
/\.primary-keyframe-mark\s*\{[^}]*color:\s*var\(--app-on-accent\)[^}]*background:\s*var\(--app-button-primary\)[^}]*box-shadow:/
|
||||
)
|
||||
})
|
||||
|
||||
it('可选尺寸必须成对留空或填写正整数', () => {
|
||||
expect(validOptionalSize('', '')).toBe(true)
|
||||
expect(validOptionalSize(1920, 1080)).toBe(true)
|
||||
|
||||
Reference in new issue
Block a user