@spectrum-charts/themes 0.0.1

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spectrumColors.d.ts","sourceRoot":"","sources":["../../../src/spectrumColors.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuhC1B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { Config } from 'vega';
2
+ type ColorScheme = 'light' | 'dark';
3
+ export declare const ADOBE_CLEAN_FONT = "adobe-clean, 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Ubuntu, 'Trebuchet MS', 'Lucida Grande', sans-serif";
4
+ export declare function getChartConfig(config: Config | undefined, colorScheme: ColorScheme): Config;
5
+ export {};
6
+ //# sourceMappingURL=spectrumTheme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"spectrumTheme.d.ts","sourceRoot":"","sources":["../../../src/spectrumTheme.ts"],"names":[],"mappings":"AAWA,OAAO,EAAoB,MAAM,EAAe,MAAM,MAAM,CAAC;AAiB7D,KAAK,WAAW,GAAG,OAAO,GAAG,MAAM,CAAC;AAEpC,eAAO,MAAM,gBAAgB,+IACgH,CAAC;AAE9I,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,EAAE,WAAW,EAAE,WAAW,GAAG,MAAM,CAM3F"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * gets the css color string from a spectrum color or a css color string
3
+ * @param color
4
+ * @param colorScheme
5
+ * @returns css color string
6
+ */
7
+ export declare const getColorValue: (color: string, colorScheme: 'light' | 'dark') => string;
8
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/utils.ts"],"names":[],"mappings":"AAcA;;;;;GAKG;AACH,eAAO,MAAM,aAAa,UAAW,MAAM,eAAe,OAAO,GAAG,MAAM,KAAG,MAE5E,CAAC"}