prompt-profile 0.1.2 → 0.1.3
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/dist/bin.js +4 -4
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -1302,7 +1302,7 @@ const fileCacheLayer = (dir) => Layer.effect(AnalysisCache, Effect.gen(function*
|
|
|
1302
1302
|
* Package version. Injected by tsdown at build time; during development and tests
|
|
1303
1303
|
* (tsx / vitest) it falls back to reading package.json.
|
|
1304
1304
|
*/
|
|
1305
|
-
const VERSION = "0.1.
|
|
1305
|
+
const VERSION = "0.1.3";
|
|
1306
1306
|
// src/cli/errors.ts
|
|
1307
1307
|
/** No prompts found at all, or none in the selected range. */
|
|
1308
1308
|
var NoData = class extends Data.TaggedError("NoData") {};
|
|
@@ -2690,7 +2690,7 @@ const LOOKS = [
|
|
|
2690
2690
|
];
|
|
2691
2691
|
/** The look's data, or null for `classic`. */
|
|
2692
2692
|
const lookOf = (id) => LOOKS.find((l) => l.id === id) ?? null;
|
|
2693
|
-
/** Colors of the classic report (no look); the classic card uses the
|
|
2693
|
+
/** Colors of the classic report (no look); the classic card uses the dark ones. */
|
|
2694
2694
|
const CLASSIC_TOKENS = {
|
|
2695
2695
|
light: {
|
|
2696
2696
|
bg: "#f6f6f3",
|
|
@@ -3246,13 +3246,13 @@ const cardMetrics = (profile, lang, n) => {
|
|
|
3246
3246
|
/** Clock size on the classic card; the report's 260 × 260 drawing is scaled to it. */
|
|
3247
3247
|
const CARD_CLOCK = 300;
|
|
3248
3248
|
/**
|
|
3249
|
-
* The classic card: the classic report's hero on its page, in
|
|
3249
|
+
* The classic card: the classic report's hero on its page, in its dark colors, with the same
|
|
3250
3250
|
* hour clock. The hour labels are text nodes over the drawing (SVG images get no fonts).
|
|
3251
3251
|
*/
|
|
3252
3252
|
const classicTree = (profile, hide, lang) => {
|
|
3253
3253
|
const t = MESSAGES[lang];
|
|
3254
3254
|
const c = contentIn(profile, lang);
|
|
3255
|
-
const k = CLASSIC_TOKENS.
|
|
3255
|
+
const k = CLASSIC_TOKENS.dark;
|
|
3256
3256
|
const name = clip(c.archetype.name, 56);
|
|
3257
3257
|
const showGraphic = !hide.includes("graphic");
|
|
3258
3258
|
const clock = clockSvg(profile.stats.hourHistogram, k.accent);
|