vibes-diy 14.3.340 → 14.3.342
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.
- package/cli/cmd-evento.d.ts +450 -450
- package/cli/cmds/app/look-style-edits.js +2 -7
- package/cli/cmds/run/backend-worker/run-backend-entry.js +1368 -891
- package/cli/cmds/run/bundle-inputs.json +6 -0
- package/cli/cmds/run/run-bundle.js +2367 -1883
- package/package.json +8 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DERIVED_HUE, PAD_DRIVEN_TOKENS, VIBE_FONTS, getStylePreset, getVibeFont } from "@vibes.diy/prompts";
|
|
2
2
|
import { generatePoufRoom, normalizePoufSeed } from "@vibes.diy/prompts/themes/pouf-rooms.js";
|
|
3
|
-
import { POUF_BOLD_PRESETS, POUF_BOLD_TONE, POUF_ROOM_SLUGS } from "@vibes.diy/prompts/themes/style-presets.js";
|
|
3
|
+
import { POUF_BOLD_PRESETS, POUF_BOLD_TONE, POUF_ROOM_SLUGS, poufSeedEqualsPreset, } from "@vibes.diy/prompts/themes/style-presets.js";
|
|
4
4
|
export const PIN_OFF_WORD = "off";
|
|
5
5
|
const NUDGE_LIMIT = 15;
|
|
6
6
|
function wrapHue(h) {
|
|
@@ -217,12 +217,7 @@ export function describePoufDials(pouf) {
|
|
|
217
217
|
};
|
|
218
218
|
}
|
|
219
219
|
export function poufSeedMatchesRoom(pouf, roomSlug) {
|
|
220
|
-
|
|
221
|
-
if (room === undefined)
|
|
222
|
-
return false;
|
|
223
|
-
if (pouf.up !== undefined || pouf.down !== undefined)
|
|
224
|
-
return false;
|
|
225
|
-
return room.lead === pouf.lead && room.locked === pouf.locked && room.tone === pouf.tone && room.gap === pouf.gap;
|
|
220
|
+
return poufSeedEqualsPreset(pouf, getStylePreset(roomSlug === "pouf" ? "home" : roomSlug)?.palette.pouf);
|
|
226
221
|
}
|
|
227
222
|
export function poufBoldRoom(slug) {
|
|
228
223
|
const preset = POUF_BOLD_PRESETS.find((p) => p.slug === slug);
|