pi-studio 0.6.7 → 0.6.8

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/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ All notable changes to `pi-studio` are documented here.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.6.8] — 2026-05-01
8
+
9
+ ### Changed
10
+ - Sharpened rendered and raw Markdown links, bare URLs, list markers, and sync/history-style badges so low-contrast theme tokens remain readable in Studio.
11
+ - Softened the bundled `pi-studio-light` theme surfaces to reduce pure-white glare and large-surface contrast.
12
+
7
13
  ## [0.6.7] — 2026-04-30
8
14
 
9
15
  ### Changed
package/client/studio.css CHANGED
@@ -436,8 +436,8 @@
436
436
 
437
437
  .sync-badge.sync {
438
438
  border-color: var(--control-border);
439
- color: var(--muted);
440
- opacity: 0.88;
439
+ color: var(--studio-info-text, var(--muted));
440
+ opacity: 0.96;
441
441
  }
442
442
 
443
443
  .source-actions {
@@ -796,7 +796,7 @@
796
796
  }
797
797
 
798
798
  .hl-list {
799
- color: var(--md-list-bullet);
799
+ color: var(--studio-list-marker-text, var(--md-list-bullet));
800
800
  font-weight: 600;
801
801
  }
802
802
 
@@ -807,12 +807,15 @@
807
807
  }
808
808
 
809
809
  .hl-link {
810
- color: var(--md-link);
810
+ color: var(--studio-link, var(--md-link));
811
811
  text-decoration: underline;
812
+ text-decoration-color: var(--studio-link-decoration, currentColor);
813
+ text-underline-offset: 0.13em;
812
814
  }
813
815
 
814
816
  .hl-url {
815
- color: var(--md-link-url);
817
+ color: var(--studio-link-url, var(--studio-link, var(--md-link-url)));
818
+ font-weight: 500;
816
819
  }
817
820
 
818
821
  .hl-annotation {
@@ -1020,21 +1023,25 @@
1020
1023
  }
1021
1024
 
1022
1025
  .rendered-markdown li::marker {
1023
- color: var(--md-list-bullet);
1026
+ color: var(--studio-list-marker-text, var(--md-list-bullet));
1024
1027
  }
1025
1028
 
1026
1029
  .rendered-markdown a {
1027
- color: var(--md-link);
1028
- text-decoration: none;
1030
+ color: var(--studio-link, var(--md-link));
1031
+ text-decoration: underline;
1032
+ text-decoration-color: var(--studio-link-decoration, currentColor);
1033
+ text-decoration-thickness: 0.06em;
1034
+ text-underline-offset: 0.14em;
1029
1035
  }
1030
1036
 
1031
1037
  .rendered-markdown a:hover {
1032
- text-decoration: underline;
1038
+ text-decoration-color: currentColor;
1033
1039
  }
1034
1040
 
1035
1041
  .rendered-markdown a.uri,
1036
1042
  .rendered-markdown .uri {
1037
- color: var(--md-link-url);
1043
+ color: var(--studio-link-url, var(--studio-link, var(--md-link-url)));
1044
+ font-weight: 500;
1038
1045
  }
1039
1046
 
1040
1047
  .rendered-markdown blockquote {
package/index.ts CHANGED
@@ -6213,6 +6213,14 @@ function buildThemeCssVars(style: StudioThemeStyle): Record<string, string> {
6213
6213
  const quoteText = blendColors(style.palette.text, style.palette.mdQuote, style.mode === "light" ? 0.34 : 0.28);
6214
6214
  const quoteBorder = blendColors(style.palette.mdQuoteBorder, style.palette.text, style.mode === "light" ? 0.18 : 0.24);
6215
6215
  const markdownMarkerText = blendColors(style.palette.text, style.palette.muted, style.mode === "light" ? 0.28 : 0.24);
6216
+ const linkText = blendColors(style.palette.text, style.palette.mdLink, style.mode === "light" ? 0.62 : 0.58);
6217
+ const linkUrlText = blendColors(linkText, style.palette.mdLinkUrl, style.mode === "light" ? 0.22 : 0.18);
6218
+ const linkDecoration = withAlpha(
6219
+ linkText,
6220
+ style.mode === "light" ? 0.42 : 0.50,
6221
+ style.mode === "light" ? "rgba(84, 125, 167, 0.42)" : "rgba(129, 162, 190, 0.50)",
6222
+ );
6223
+ const listMarkerText = blendColors(markdownMarkerText, style.palette.mdListBullet, style.mode === "light" ? 0.46 : 0.42);
6216
6224
  const blockquoteBg = withAlpha(
6217
6225
  quoteBorder,
6218
6226
  style.mode === "light" ? 0.10 : 0.15,
@@ -6291,6 +6299,10 @@ function buildThemeCssVars(style: StudioThemeStyle): Record<string, string> {
6291
6299
  "--studio-quote-text": quoteText,
6292
6300
  "--studio-quote-border": quoteBorder,
6293
6301
  "--studio-markdown-marker-text": markdownMarkerText,
6302
+ "--studio-link": linkText,
6303
+ "--studio-link-url": linkUrlText,
6304
+ "--studio-link-decoration": linkDecoration,
6305
+ "--studio-list-marker-text": listMarkerText,
6294
6306
  "--md-hr": style.palette.mdHr,
6295
6307
  "--md-list-bullet": style.palette.mdListBullet,
6296
6308
  "--syntax-comment": style.palette.syntaxComment,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-studio",
3
- "version": "0.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "Two-pane browser workspace for pi with prompt/response editing, annotations, critiques, prompt/response history, and live Markdown/LaTeX/code preview",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -2,9 +2,9 @@
2
2
  "$schema": "https://raw.githubusercontent.com/badlogic/pi-mono/main/packages/coding-agent/src/modes/interactive/theme/theme-schema.json",
3
3
  "name": "pi-studio-light",
4
4
  "vars": {
5
- "bg": "#ffffff",
6
- "surface": "#f6f8fa",
7
- "surfaceAlt": "#ffffff",
5
+ "bg": "#f7f8fa",
6
+ "surface": "#fbfcfd",
7
+ "surfaceAlt": "#f2f4f7",
8
8
  "border": "#d0d7de",
9
9
  "borderMuted": "#eaeef2",
10
10
  "fg": "#0e1116",
@@ -70,8 +70,8 @@
70
70
  "bashMode": "success"
71
71
  },
72
72
  "export": {
73
- "pageBg": "#ffffff",
74
- "cardBg": "#f6f8fa",
73
+ "pageBg": "#f7f8fa",
74
+ "cardBg": "#fbfcfd",
75
75
  "infoBg": "#f3ecf8"
76
76
  }
77
77
  }