pi-compact-tools 0.9.0 → 0.9.2

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.
@@ -155,7 +155,7 @@ export function withContrast(theme: Theme, rgb: Rgb, minimum: number, maximum: n
155
155
  * Diff rows need a tint that reads on the terminal background without hijacking `toolSuccessBg`
156
156
  * and `toolErrorBg`, which Pi paints across the whole tool row.
157
157
  */
158
- export function diffTintRgb(theme: Theme, color: ThemeForeground, amount = 0.16): Rgb | undefined {
158
+ export function diffTintRgb(theme: Theme, color: ThemeForeground, amount = 0.17): Rgb | undefined {
159
159
  const rgb = themeColorRgb(theme, color);
160
160
  if (!rgb) return undefined;
161
161
  const base = isDarkTheme(theme) ? BLACK : WHITE;
@@ -47,7 +47,7 @@ const PULSE_HIGH: ContrastBand = { color: "muted", keepHue: 0.4, minimum: 0.4, m
47
47
  * already paints brightly moves least.
48
48
  */
49
49
  const GLOW_REST_LIFT = 0.3;
50
- const GLOW_CREST_LIFT = 0.35;
50
+ const GLOW_CREST_LIFT = 0.72;
51
51
  /** Themes paint the lowest levels at rail weight; a floor keeps the label off the background. */
52
52
  const GLOW_FLOOR: ContrastRange = { minimum: 0.4, maximum: 1 };
53
53
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-compact-tools",
3
- "version": "0.9.0",
3
+ "version": "0.9.2",
4
4
  "description": "Compact, expandable UI for pi's built-in tools, bundled with a polished GitHub Dark theme.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -41,7 +41,7 @@
41
41
  "selectedBg": "surfaceMuted",
42
42
  "searchMatchBg": "#3B2E10",
43
43
  "searchMatchText": "textBright",
44
- "userMessageBg": "#0E1014",
44
+ "userMessageBg": "#15181D",
45
45
  "userMessageText": "textBright",
46
46
  "customMessageBg": "",
47
47
  "customMessageText": "text",