fix(cli): a new blank project starts on a black frame, not grey (#6614)

This commit is contained in:
Miguel Ángel
2026-10-28 04:45:34 +00:00
committed by GitHub
parent 32e171ca91
commit 4f0bdfb520
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
import { readFileSync } from "node:fs";
import { describe, expect, it } from "vitest";
describe("blank template", () => {
it("starts on a black frame", () => {
const html = readFileSync(new URL("./blank/index.html", import.meta.url), "utf8");
expect(html).toMatch(/--ground:\s*#000;/);
});
});
+1 -1
View File
@@ -7,7 +7,7 @@
<style>
/* Placeholders: replace all three with the film's own palette and display face. */
:root {
--ground: #6b6b6b;
--ground: #000;
--ink: #ffffff;
--font-display: sans-serif;
}