@sealcode/sealgen 0.17.16 → 0.17.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -295,6 +295,11 @@ class ColorsBuilder extends Builder {
|
|
|
295
295
|
<span>canvas</span>
|
|
296
296
|
${makeDemoPair(
|
|
297
297
|
"var(--color-brand-text-fg)",
|
|
298
|
+
"var(--color-brand-canvas)",
|
|
299
|
+
"text-fg on canvas"
|
|
300
|
+
)}
|
|
301
|
+
${makeDemoPair(
|
|
302
|
+
"var(--color-brand-text-fg)",
|
|
298
303
|
"var(--color-brand-text-bg)",
|
|
299
304
|
"text-fg on text-bg"
|
|
300
305
|
)}
|
|
@@ -9,7 +9,7 @@ function fieldImport({ type }) {
|
|
|
9
9
|
if (type == "image") {
|
|
10
10
|
return `
|
|
11
11
|
import type { FilePointer } from "@sealcode/file-manager";
|
|
12
|
-
import { imageRouter } from "
|
|
12
|
+
import { imageRouter } from "src/back/image-router.js";
|
|
13
13
|
`;
|
|
14
14
|
}
|
|
15
15
|
return "";
|
package/package.json
CHANGED
|
@@ -320,6 +320,11 @@ export class ColorsBuilder extends Builder {
|
|
|
320
320
|
<div class="demo">
|
|
321
321
|
<div class="canvas">
|
|
322
322
|
<span>canvas</span>
|
|
323
|
+
${makeDemoPair(
|
|
324
|
+
"var(--color-brand-text-fg)",
|
|
325
|
+
"var(--color-brand-canvas)",
|
|
326
|
+
"text-fg on canvas"
|
|
327
|
+
)}
|
|
323
328
|
${makeDemoPair(
|
|
324
329
|
"var(--color-brand-text-fg)",
|
|
325
330
|
"var(--color-brand-text-bg)",
|
|
@@ -12,7 +12,7 @@ function fieldImport({ type }: ExtractedFieldInfo): string {
|
|
|
12
12
|
if (type == "image") {
|
|
13
13
|
return `
|
|
14
14
|
import type { FilePointer } from "@sealcode/file-manager";
|
|
15
|
-
import { imageRouter } from "
|
|
15
|
+
import { imageRouter } from "src/back/image-router.js";
|
|
16
16
|
`;
|
|
17
17
|
}
|
|
18
18
|
return "";
|