@rokkit/chart 1.2.0 → 1.3.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rokkit/chart",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "type": "module",
5
5
  "description": "Data-driven chart components",
6
6
  "repository": {
@@ -169,7 +169,7 @@
169
169
  {#each patternItems as item (item.key)}
170
170
  <div class="legend-item" data-plot-legend-item>
171
171
  <svg width="14" height="14" data-plot-legend-swatch>
172
- <rect width="14" height="14" fill="var(--color-surface-z2, #ccc)" />
172
+ <rect width="14" height="14" fill="var(--paper-mute, #ccc)" />
173
173
  <rect width="14" height="14" fill="url(#{item.patternId})" />
174
174
  </svg>
175
175
  <span class="label" data-plot-legend-label>{item.label}</span>
@@ -242,7 +242,7 @@
242
242
  font-size: 12px;
243
243
  }
244
244
  .legend-section {
245
- border-top: 1px solid var(--color-surface-z3, #e0e0e0);
245
+ border-top: 1px solid var(--paper-mute, #e0e0e0);
246
246
  padding-top: 6px;
247
247
  }
248
248
  .legend-item {
@@ -32,7 +32,7 @@
32
32
  width = 280,
33
33
  height = 120,
34
34
  color = 'rgb(var(--color-primary, 249 115 22))',
35
- dimColor = 'rgb(var(--color-surface-z3, 203 213 225))'
35
+ dimColor = 'rgb(var(--paper-mute, 203 213 225))'
36
36
  }: Props = $props()
37
37
 
38
38
  const cf = getContext<CrossFilter | undefined>('crossfilter')
@@ -285,7 +285,7 @@
285
285
  flex-direction: column;
286
286
  gap: 4px;
287
287
  font-size: 12px;
288
- color: rgb(var(--color-surface-z6, 100 116 139));
288
+ color: rgb(var(--ink-soft, 100 116 139));
289
289
  }
290
290
  [data-filter-histogram-label] {
291
291
  font-weight: 600;