diff --git a/CHANGELOG.md b/CHANGELOG.md index 731541133..9922137be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ ### Features +- Tailwind CSS v4 JSX export — export selections as HTML with Tailwind utility classes (`
with text classes', () => { + const graph = makeGraph() + const node = graph.createNode('TEXT', pageId(graph), { + name: 'Title', + width: 200, + height: 24, + text: 'Hello World', + fontSize: 18, + fontWeight: 700, + fills: [{ type: 'SOLID', color: { r: 0, g: 0, b: 0, a: 1 }, opacity: 1, visible: true }] + }) + const jsx = tw(graph, node.id) + expect(jsx).toContain('
Hello World