feat: add semantic CSS stylesheets (#3274)

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
This commit is contained in:
Amruth Pillai
2026-07-30 12:39:15 +02:00
committed by GitHub
co-authored by Cursor Agent
parent 4ac19f81b3
commit d2ffbf9618
320 changed files with 78393 additions and 2915 deletions
+10
View File
@@ -0,0 +1,10 @@
export const ACTIVE_PREVIEW_PAGE_SELECTOR = '[aria-hidden="false"] canvas[aria-label^="Resume page 1 of"]';
export const activePreviewPageSelector = (template: string) =>
`[aria-hidden="false"][data-resume-preview-template="${template}"] canvas[aria-label^="Resume page 1 of"]`;
export function readPreviewPageDataUrl(selector: string) {
const canvas = document.querySelector<HTMLCanvasElement>(selector);
if (!canvas) throw new Error("Expected an active first-page canvas.");
return canvas.toDataURL();
}