feat: better looking

This commit is contained in:
hugo committed 2026-02-20 21:56:59 +01:00
1 parent f69f42c647
commit b6446b797f
4 files changed
+172 -47

No files matched your search

+7 -3
View File
@@ -243,13 +243,17 @@ describe('PreviewServer', () => {
expect(html).toContain('class="macro-tag-cloud"');
expect(html).toContain('data-tag-cloud="true"');
expect(html).toContain('data-orientation="horizontal"');
expect(html).toContain('data-color-distribution="quantile"');
expect(html).toContain('data-color-easing="0.7"');
expect(html).toContain('data-color-theme="pico"');
expect(html).toContain('TypeScript');
expect(html).toContain('/tag/TypeScript/');
expect(html).toContain('/tag/Electron/');
expect(html).toContain('/tag/SQLite/');
expect(html).toContain('"color":"rgb(');
expect(html).toContain('"color":"red"');
expect(html).toContain('"color":"blue"');
expect(html).toContain('"count":3');
expect(html).toContain('"count":2');
expect(html).toContain('"count":1');
expect(html).not.toContain('"color"');
});
it('supports tag_cloud orientation parameter modes', async () => {