@versini/sassysaint-common 4.16.3 → 4.16.4

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 +7 -15
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -125,15 +125,6 @@ export declare const DISPLAY_MODE: {
125
125
  */
126
126
  export declare type DisplayMode = "normal" | "oled";
127
127
 
128
- /**
129
- * All palettes for a single display mode (normal or oled), containing both
130
- * light and dark color scheme variants.
131
- */
132
- export declare interface DisplayModePalettes {
133
- light: Palette;
134
- dark: Palette;
135
- }
136
-
137
128
  /**
138
129
  * Represents the shape of an entitlement state object, used for checking
139
130
  * capability loading status. This interface is intentionally flexible to work
@@ -545,14 +536,15 @@ export declare type ThemeMode = "standard" | "subtle";
545
536
  * from the server to the client via getUserPreferences.
546
537
  *
547
538
  * Structure:
548
- * - normal.light: Regular display, light color scheme
549
- * - normal.dark: Regular display, dark color scheme
550
- * - oled.light: OLED display, light color scheme
551
- * - oled.dark: OLED display, dark color scheme
539
+ * - normal: Regular display mode
540
+ * - oled: OLED display mode with enhanced contrast
541
+ *
542
+ * Both modes use Tailwind dark: prefixes for automatic color scheme adaptation
543
+ * at runtime. The client does not need to index by color scheme.
552
544
  */
553
545
  export declare interface ThemePalette {
554
- normal: DisplayModePalettes;
555
- oled: DisplayModePalettes;
546
+ normal: Palette;
547
+ oled: Palette;
556
548
  }
557
549
 
558
550
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@versini/sassysaint-common",
3
- "version": "4.16.3",
3
+ "version": "4.16.4",
4
4
  "license": "MIT",
5
5
  "author": "Arno Versini",
6
6
  "publishConfig": {
@@ -36,5 +36,5 @@
36
36
  "@microsoft/api-extractor": "7.55.0",
37
37
  "@rslib/core": "0.17.2"
38
38
  },
39
- "gitHead": "8386aaac30134dce86849e214ffb5551a5a006dd"
39
+ "gitHead": "dfba9302ef6c934e6c77efddd773f20a397f7fdc"
40
40
  }