@vitessce/sets-utils 3.3.5 → 3.3.6

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.js +2 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -2460,8 +2460,9 @@ function getNextScope(prevScopes) {
2460
2460
  }
2461
2461
  const DEFAULT_DARK_COLOR = [50, 50, 50];
2462
2462
  const DEFAULT_LIGHT_COLOR = [200, 200, 200];
2463
+ const DEFAULT_LIGHT2_COLOR = [235, 235, 235];
2463
2464
  function getDefaultColor(theme) {
2464
- return theme === "dark" ? DEFAULT_DARK_COLOR : DEFAULT_LIGHT_COLOR;
2465
+ return theme === "dark" ? DEFAULT_DARK_COLOR : theme === "light" ? DEFAULT_LIGHT_COLOR : DEFAULT_LIGHT2_COLOR;
2465
2466
  }
2466
2467
  const PALETTE = [
2467
2468
  [68, 119, 170],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/sets-utils",
3
- "version": "3.3.5",
3
+ "version": "3.3.6",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -25,8 +25,8 @@
25
25
  "lodash-es": "^4.17.21",
26
26
  "tinycolor2": "^1.4.1",
27
27
  "uuid": "^9.0.0",
28
- "@vitessce/schemas": "3.3.5",
29
- "@vitessce/utils": "3.3.5"
28
+ "@vitessce/schemas": "3.3.6",
29
+ "@vitessce/utils": "3.3.6"
30
30
  },
31
31
  "scripts": {
32
32
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",