@elia-assistant/chatui 2.0.0 → 2.0.3
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/README.md +1 -1
- package/dist/chatui.iife.js +27 -27
- package/dist/chunks/{settingsStore-DzpdfGcd.js → settingsStore-ClKc5xeV.js} +16 -5
- package/dist/index.js +2023 -2004
- package/dist/store/settingsStore.d.ts +1 -0
- package/dist/store.js +1 -1
- package/dist/themes.d.ts +3 -0
- package/package.json +1 -1
package/dist/store.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./chunks/settingsStore-
|
|
1
|
+
import { t as e } from "./chunks/settingsStore-ClKc5xeV.js";
|
|
2
2
|
export { e as createSettingsStore };
|
package/dist/themes.d.ts
CHANGED
|
@@ -2,3 +2,6 @@ import type { ThemeDef } from './types/index.ts';
|
|
|
2
2
|
export declare const themes: ThemeDef[];
|
|
3
3
|
export declare const defaultThemeId = "midnight";
|
|
4
4
|
export declare function getTheme(id: string): ThemeDef;
|
|
5
|
+
/** Derived from the base colour's luminance, so new themes need no extra flag.
|
|
6
|
+
* Matches the color-scheme declared per theme in index.css. */
|
|
7
|
+
export declare function isDarkTheme(id: string): boolean;
|