@crossworks/client-types 0.232.64 → 0.232.66
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/package.json +1 -1
- package/src/index.ts +21 -0
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -861,6 +861,27 @@ export type ProfilePreferences = {
|
|
|
861
861
|
* on their default are omitted, so a default change still reaches brains
|
|
862
862
|
* that never chose. Read via projectBackgrounds, never raw. */
|
|
863
863
|
backgrounds?: string;
|
|
864
|
+
/** The generated whole-surface Neat gradient (login screen, content area),
|
|
865
|
+
* as a compact JSON spec `{v,seed,tone,speed}` — colours are DERIVED from
|
|
866
|
+
* the live theme tokens client-side, never stored, so the background
|
|
867
|
+
* follows every colour theme and mode. Brain-level for the same reason as
|
|
868
|
+
* backgrounds: it is the look of the product. Unset ⇒ the plain themed
|
|
869
|
+
* fill. Read via projectNeatBackground, never raw. */
|
|
870
|
+
neatBackground?: string;
|
|
871
|
+
/** The brain's default light/dark mode for surfaces where the visitor has
|
|
872
|
+
* not chosen one themselves — today the public /s share reader, which stamps
|
|
873
|
+
* it server-side and lets the visitor's own toggle override it locally.
|
|
874
|
+
* 'light' | 'dark' | 'system'; unset ⇒ 'light' (the share surface's
|
|
875
|
+
* historical rendering, so an unset brain looks exactly as before). Brain-
|
|
876
|
+
* level like colorTheme: it is the look of the product's public face. Read
|
|
877
|
+
* via projectDefaultMode, never raw. */
|
|
878
|
+
defaultMode?: string;
|
|
879
|
+
/** Whether the public /s share reader paints the saved Neat gradient at all.
|
|
880
|
+
* Default ON (only an explicit `false` disables, the streamThoughts
|
|
881
|
+
* contract): the switch exists for owners who want share links to stay on
|
|
882
|
+
* the plain themed surface — the printable rendering — while the app keeps
|
|
883
|
+
* its background. Brain-level like neatBackground itself. */
|
|
884
|
+
shareNeat?: boolean;
|
|
864
885
|
/** Seed for THIS user's avatar; the UI defaults it to the user id when unset
|
|
865
886
|
* so an avatar still renders. Personal — two admins share the brain's style
|
|
866
887
|
* but never the same avatar. */
|