Files
pbakaus_impeccable/tests/oracle/golden/live-accept-generated-file.json
T

11 lines
3.3 KiB
JSON

{
"stdout": "{\"handled\":false,\"error\":\"Session markers not found for id: ab12cd34\"}\n",
"stderr": "",
"exit": 0,
"signal": null,
"files": {
".impeccable/live/config.json": "{\n \"files\": [\"index.html\", \"public/**/*.html\"],\n \"insertBefore\": \"</body>\",\n \"commentSyntax\": \"html\"\n}\n",
"dist/generated.html": "<!-- @generated by build.js. DO NOT EDIT. -->\n<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <title>Oracle Live HTML Fixture</title>\n <style>\n .hero-title { font-size: 2rem; }\n .hero-hook { color: #555; }\n </style>\n </head>\n <body>\n <main class=\"page\">\n <!-- impeccable-variants-start ab12cd34 -->\n <div data-impeccable-variants=\"ab12cd34\" data-impeccable-variant-count=\"3\" style=\"display: contents\">\n <!-- Original -->\n <div data-impeccable-variant=\"original\">\n <h1 id=\"hero\" class=\"hero-title\">Oracle Fixture</h1>\n </div>\n <!-- Variants: insert below this line -->\n <style data-impeccable-css=\"ab12cd34\">\n @scope ([data-impeccable-variant=\"1\"]) {\n :scope > h1 {\n font-weight: 300;\n color: oklch(var(--p-lightness, 0.5) 0.25 25);\n }\n }\n @scope ([data-impeccable-variant=\"2\"]) {\n :scope > h1 { font-weight: 900; }\n :scope[data-p-face=\"serif\"] > h1 { font-family: ui-serif, serif; }\n :scope[data-p-face=\"mono\"] > h1 { font-family: ui-monospace, monospace; }\n }\n @scope ([data-impeccable-variant=\"3\"]) {\n :scope > h1 { font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }\n :scope[data-p-italic] > h1 { font-style: italic; }\n }\n </style>\n <!-- Variant 1 -->\n <div data-impeccable-variant=\"1\" data-impeccable-params='[{\"id\":\"lightness\",\"kind\":\"range\",\"min\":0.3,\"max\":0.7,\"step\":0.05,\"default\":0.5,\"label\":\"Lightness\"}]'>\n <h1 id=\"hero\" class=\"hero-title\">Oracle Fixture</h1>\n </div>\n <!-- Variant 2 -->\n <div data-impeccable-variant=\"2\" style=\"display: none\" data-impeccable-params='[{\"id\":\"face\",\"kind\":\"steps\",\"default\":\"sans\",\"label\":\"Face\",\"options\":[{\"value\":\"sans\",\"label\":\"Sans\"},{\"value\":\"serif\",\"label\":\"Serif\"},{\"value\":\"mono\",\"label\":\"Mono\"}]}]'>\n <h1 id=\"hero\" class=\"hero-title\">Oracle Fixture</h1>\n </div>\n <!-- Variant 3 -->\n <div data-impeccable-variant=\"3\" style=\"display: none\" data-impeccable-params='[{\"id\":\"italic\",\"kind\":\"toggle\",\"default\":false,\"label\":\"Italic\"}]'>\n <h1 id=\"hero\" class=\"hero-title\">Oracle Fixture</h1>\n </div>\n </div>\n <!-- impeccable-variants-end ab12cd34 -->\n <p class=\"hero-hook\">Minimal static page for oracle live-mode goldens.</p>\n <section id=\"features\" class=\"feature-grid\">\n <article class=\"feature-card\">One</article>\n <article class=\"feature-card\">Two</article>\n </section>\n <aside class=\"side-note\">\n <h2 class=\"note-title\">Aside</h2>\n <p>Nested content.</p>\n </aside>\n </main>\n </body>\n</html>\n"
}
}