dsh-claude-style 0.18.2-dev.38 → 0.18.3-dev.41

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.
@@ -14,6 +14,9 @@ var CURRENCY_SYMBOL = {
14
14
  };
15
15
 
16
16
  // packages/contracts/src/prefs.ts
17
+ var PALETTE_COLORING_BRAND = "brand";
18
+ var PALETTE_COLORING_CUSTOM = "custom";
19
+ var PALETTE_COLORINGS = [PALETTE_COLORING_BRAND, PALETTE_COLORING_CUSTOM];
17
20
  var BILLING_OFF = "off";
18
21
  var BILLING_CHOICES = [BILLING_OFF, ...CURRENCIES];
19
22
  var BRAND_CLAUDE = "claude";
@@ -21,8 +24,9 @@ var BRAND_DEEPSEEK = "deepseek";
21
24
  var BRAND_DEEPSEEK_LEGACY = "off";
22
25
  var BRANDS = [BRAND_CLAUDE, BRAND_DEEPSEEK];
23
26
  var BRAND_INK_ORIGINAL = "original";
27
+ var BRAND_INK_ACCENT = "accent";
24
28
  var BRAND_INK_TEXT = "text";
25
- var BRAND_INKS = [BRAND_INK_ORIGINAL, BRAND_INK_TEXT];
29
+ var BRAND_INKS = [BRAND_INK_ORIGINAL, BRAND_INK_ACCENT, BRAND_INK_TEXT];
26
30
  var BRAND_NAME_MAX = 40;
27
31
  var MOTION_SYSTEM = "system";
28
32
  var MOTION_REDUCED = "reduced";
@@ -102,6 +106,13 @@ var PREFS = {
102
106
  brandName: { type: "text", default: "", max: BRAND_NAME_MAX },
103
107
  brandInk: { type: "choice", values: BRAND_INKS, default: BRAND_INK_ORIGINAL },
104
108
  brandAccent: { type: "color", default: "" },
109
+ /** Whether the page paints the brand's own colours or the reader's four. */
110
+ paletteColors: { type: "choice", values: PALETTE_COLORINGS, default: PALETTE_COLORING_BRAND },
111
+ /** The reader's four colours, empty until picked; each falls back to the card's own. */
112
+ customAccent: { type: "color", default: "" },
113
+ customCanvasLight: { type: "color", default: "" },
114
+ customCanvasDark: { type: "color", default: "" },
115
+ customCode: { type: "color", default: "" },
105
116
  motion: { type: "choice", values: MOTION_MODES, default: MOTION_SYSTEM },
106
117
  statusMotion: { type: "choice", values: STATUS_MOTIONS, default: STATUS_MOTION_SWEEP },
107
118
  /** An earlier build stored the two words; `precise` is what the switch being on means. */
@@ -112,6 +123,8 @@ var PREFS = {
112
123
  composerScope: { type: "choice", values: COMPOSER_SCOPES, default: COMPOSER_SCOPE_ALL },
113
124
  modelPicker: { type: "boolean", default: true },
114
125
  modelDescriptions: { type: "boolean", default: true },
126
+ /** Whether the reasoning-effort trigger takes its colour from the rung in force (features/effort/effort-picker.css). */
127
+ effortAccent: { type: "boolean", default: true },
115
128
  peakrate: { type: "boolean", default: true },
116
129
  /**
117
130
  * The provider ids the picker's first level carries: ids rather than names,