@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.
- package/dist/index.d.ts +10 -10
- 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
|
-
*
|
|
788
|
-
*
|
|
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
|
|
890
|
-
*
|
|
889
|
+
* Complete theme palette. This is the structure sent from the server to the
|
|
890
|
+
* client via getUserPreferences.
|
|
891
891
|
*
|
|
892
|
-
*
|
|
893
|
-
*
|
|
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
|
-
*
|
|
897
|
-
*
|
|
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
|
/**
|