@versini/sassysaint-common 4.56.0 → 4.57.0

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +10 -10
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -784,8 +784,8 @@ export declare const MODELS_PER_PROVIDER: {
784
784
  };
785
785
 
786
786
  /**
787
- * Complete palette for a single display mode and color scheme combination.
788
- * Contains both the color class mappings and CSS variables.
787
+ * Color class mappings and CSS variables for the theme. Covers both color
788
+ * schemes at once, via Tailwind `dark:` prefixes inside the class strings.
789
789
  */
790
790
  export declare interface Palette {
791
791
  colors: ColorMap;
@@ -886,20 +886,20 @@ export declare const SORT_BY_TOKEN_USAGE = "tokenUsage";
886
886
  export declare function stripAutoWrapper(modelName: string): string;
887
887
 
888
888
  /**
889
- * Complete theme palette containing all variants. This is the structure sent
890
- * from the server to the client via getUserPreferences.
889
+ * Complete theme palette. This is the structure sent from the server to the
890
+ * client via getUserPreferences.
891
891
  *
892
- * Structure:
893
- * - normal: Regular display mode
894
- * - oled: OLED display mode with enhanced contrast
892
+ * The palette uses Tailwind dark: prefixes for automatic color scheme
893
+ * adaptation at runtime. The client does not need to index by color scheme.
895
894
  *
896
- * Both modes use Tailwind dark: prefixes for automatic color scheme adaptation
897
- * at runtime. The client does not need to index by color scheme.
895
+ * `normal` is a single-field wrapper rather than a bare `Palette` on purpose:
896
+ * it is the GraphQL shape clients already select (`themePalette { normal }`),
897
+ * so collapsing it would be a second breaking schema change for no behavior
898
+ * gain. Keep the level until there is another reason to touch the schema.
898
899
  *
899
900
  */
900
901
  export declare interface ThemePalette {
901
902
  normal: Palette;
902
- oled: Palette;
903
903
  }
904
904
 
905
905
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/sassysaint-common",
3
- "version": "4.56.0",
3
+ "version": "4.57.0",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {