feat: brand dodo loading screen
ci / gitleaks (push) Successful in 7s
ci / docker (push) Successful in 3m25s

This commit is contained in:
2026-09-11 15:23:13 +08:00
parent ec6ba56532
commit cf6cdcf949
7 changed files with 12 additions and 8 deletions
+5 -1
View File
@@ -1102,7 +1102,11 @@ describe('sidebar information hierarchy', () => {
expect(css).toContain('.brand-row{height:64px;')
expect(app).toContain('class="brand brand-lockup"')
expect(app).toContain('class="brand small brand-lockup"')
expect(app.match(/src="\/dodo-logo\.svg"/g)).toHaveLength(2)
expect(app).toContain('class="center loading-brand"')
expect(app).toContain('class="loading-logo"')
expect(app.match(/src="\/dodo-logo\.svg"/g)).toHaveLength(3)
expect(css).toContain('.loading-brand{grid-template-columns:auto;justify-items:center;gap:13px}')
expect(css).toContain('.loading-logo{width:40px;height:40px;')
expect(css).toContain('.brand-logo{width:42px;height:42px;')
expect(css).toContain('.brand.small .brand-logo{width:32px;height:32px}')
expect(css).not.toContain('.brand span{color:var(--accent)}')