@icen.ai/ui 0.10.0 → 0.11.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.
- package/AGENTS.md +79 -309
- package/LICENSE +21 -0
- package/README.md +43 -54
- package/dist/base.css +68 -22
- package/dist/behaviors/accordion.mjs +1 -1
- package/dist/behaviors/ai-branch.mjs +14 -0
- package/dist/behaviors/ai-chat.d.mts +2 -2
- package/dist/behaviors/ai-chat.mjs +66 -10
- package/dist/behaviors/ai-composer.d.mts +5 -5
- package/dist/behaviors/ai-composer.mjs +34 -10
- package/dist/behaviors/ai-core.mjs +14 -0
- package/dist/behaviors/ai-diff.mjs +14 -0
- package/dist/behaviors/ai-feedback.mjs +14 -0
- package/dist/behaviors/ai-panel.d.mts +2 -2
- package/dist/behaviors/ai-panel.mjs +14 -0
- package/dist/behaviors/ai-provider.d.mts +1 -1
- package/dist/behaviors/ai-provider.mjs +14 -0
- package/dist/behaviors/ai-threads.mjs +14 -0
- package/dist/behaviors/ai-tool.d.mts +1 -1
- package/dist/behaviors/ai-tool.mjs +299 -24
- package/dist/behaviors/ai-tools.mjs +1179 -28
- package/dist/behaviors/autocomplete.d.mts +1 -1
- package/dist/behaviors/autocomplete.mjs +14 -0
- package/dist/behaviors/back-top.mjs +14 -0
- package/dist/behaviors/carousel.mjs +21 -1
- package/dist/behaviors/cascader.mjs +27 -0
- package/dist/behaviors/charts.d.mts +12 -1
- package/dist/behaviors/charts.mjs +298 -20
- package/dist/behaviors/code-block.mjs +22 -1
- package/dist/behaviors/command-palette.mjs +3 -3
- package/dist/behaviors/context-menu.d.mts +2 -2
- package/dist/behaviors/context-menu.mjs +14 -0
- package/dist/behaviors/controls.d.mts +8 -8
- package/dist/behaviors/controls.mjs +50 -6
- package/dist/behaviors/copy.mjs +14 -0
- package/dist/behaviors/datatable.d.mts +3 -3
- package/dist/behaviors/datatable.mjs +89 -11
- package/dist/behaviors/date-picker.mjs +14 -0
- package/dist/behaviors/events.d.mts +10 -10
- package/dist/behaviors/events.mjs +11 -1
- package/dist/behaviors/form-validate.d.mts +10 -1
- package/dist/behaviors/form-validate.mjs +279 -4611
- package/dist/behaviors/i18n.d.mts +14 -0
- package/dist/behaviors/i18n.mjs +28 -0
- package/dist/behaviors/input.mjs +16 -0
- package/dist/behaviors/kb-access.d.mts +2 -2
- package/dist/behaviors/kb-access.mjs +21 -2
- package/dist/behaviors/kb-acl.d.mts +2 -2
- package/dist/behaviors/kb-acl.mjs +14 -0
- package/dist/behaviors/kb-answer.d.mts +2 -2
- package/dist/behaviors/kb-answer.mjs +298 -23
- package/dist/behaviors/kb-audit.d.mts +2 -2
- package/dist/behaviors/kb-audit.mjs +14 -0
- package/dist/behaviors/kb-canvas.d.mts +3 -3
- package/dist/behaviors/kb-canvas.mjs +14 -0
- package/dist/behaviors/kb-chain.d.mts +2 -2
- package/dist/behaviors/kb-chain.mjs +14 -0
- package/dist/behaviors/kb-checkpoint.d.mts +2 -2
- package/dist/behaviors/kb-checkpoint.mjs +14 -0
- package/dist/behaviors/kb-chunks.d.mts +2 -2
- package/dist/behaviors/kb-chunks.mjs +14 -0
- package/dist/behaviors/kb-citation.d.mts +2 -2
- package/dist/behaviors/kb-citation.mjs +33 -6
- package/dist/behaviors/kb-clarify.d.mts +2 -2
- package/dist/behaviors/kb-clarify.mjs +14 -0
- package/dist/behaviors/kb-conflict.d.mts +2 -2
- package/dist/behaviors/kb-conflict.mjs +14 -0
- package/dist/behaviors/kb-connector.d.mts +2 -2
- package/dist/behaviors/kb-connector.mjs +14 -0
- package/dist/behaviors/kb-core.d.mts +1 -1
- package/dist/behaviors/kb-core.mjs +14 -0
- package/dist/behaviors/kb-eval.d.mts +2 -2
- package/dist/behaviors/kb-eval.mjs +21 -2
- package/dist/behaviors/kb-explain.d.mts +2 -2
- package/dist/behaviors/kb-explain.mjs +26 -2
- package/dist/behaviors/kb-filter.d.mts +2 -2
- package/dist/behaviors/kb-filter.mjs +21 -2
- package/dist/behaviors/kb-gap.d.mts +2 -2
- package/dist/behaviors/kb-gap.mjs +14 -0
- package/dist/behaviors/kb-hittest.d.mts +2 -2
- package/dist/behaviors/kb-hittest.mjs +15 -1
- package/dist/behaviors/kb-metadata.mjs +19 -0
- package/dist/behaviors/kb-passage.d.mts +2 -2
- package/dist/behaviors/kb-passage.mjs +14 -0
- package/dist/behaviors/kb-pipeline.d.mts +2 -2
- package/dist/behaviors/kb-pipeline.mjs +14 -0
- package/dist/behaviors/kb-qa.mjs +14 -0
- package/dist/behaviors/kb-rerank.d.mts +2 -2
- package/dist/behaviors/kb-rerank.mjs +14 -0
- package/dist/behaviors/kb-retrieval.d.mts +2 -2
- package/dist/behaviors/kb-retrieval.mjs +31 -4
- package/dist/behaviors/kb-review.d.mts +2 -2
- package/dist/behaviors/kb-review.mjs +21 -2
- package/dist/behaviors/kb-sandbox.d.mts +2 -2
- package/dist/behaviors/kb-sandbox.mjs +20 -1
- package/dist/behaviors/kb-segment.d.mts +2 -2
- package/dist/behaviors/kb-segment.mjs +15 -1
- package/dist/behaviors/kb-select.mjs +21 -2
- package/dist/behaviors/kb-sources.d.mts +2 -2
- package/dist/behaviors/kb-sources.mjs +14 -0
- package/dist/behaviors/kb-sql.d.mts +2 -2
- package/dist/behaviors/kb-sql.mjs +14 -0
- package/dist/behaviors/kb-trace.d.mts +2 -2
- package/dist/behaviors/kb-trace.mjs +22 -3
- package/dist/behaviors/kb-visibility.d.mts +2 -2
- package/dist/behaviors/kb-visibility.mjs +14 -0
- package/dist/behaviors/kb-who-can.d.mts +2 -2
- package/dist/behaviors/kb-who-can.mjs +21 -2
- package/dist/behaviors/mentions.d.mts +1 -1
- package/dist/behaviors/mentions.mjs +14 -0
- package/dist/behaviors/modal.d.mts +1 -1
- package/dist/behaviors/modal.mjs +14 -0
- package/dist/behaviors/motion.d.mts +16 -0
- package/dist/behaviors/motion.mjs +39 -0
- package/dist/behaviors/notification.d.mts +2 -2
- package/dist/behaviors/notification.mjs +27 -3
- package/dist/behaviors/panel.mjs +14 -0
- package/dist/behaviors/scroll-area.d.mts +17 -0
- package/dist/behaviors/scroll-area.mjs +59 -0
- package/dist/behaviors/select.mjs +21 -2
- package/dist/behaviors/slider.mjs +3 -3
- package/dist/behaviors/split-pane.mjs +2 -0
- package/dist/behaviors/suggestions.mjs +14 -0
- package/dist/behaviors/tabs.mjs +10 -0
- package/dist/behaviors/tag-input.mjs +14 -0
- package/dist/behaviors/theme-switcher.d.mts +2 -2
- package/dist/behaviors/theme-switcher.mjs +30 -2
- package/dist/behaviors/theme.mjs +16 -2
- package/dist/behaviors/toast.d.mts +2 -2
- package/dist/behaviors/toast.mjs +14 -0
- package/dist/behaviors/tree-select.mjs +27 -0
- package/dist/behaviors/tree.mjs +4 -4
- package/dist/behaviors/upload.mjs +14 -0
- package/dist/behaviors/url-safety.d.mts +8 -0
- package/dist/behaviors/url-safety.mjs +11 -0
- package/dist/components/accordion.d.mts +2 -0
- package/dist/components/ai-branch.d.mts +2 -0
- package/dist/components/ai-chat.css +40 -33
- package/dist/components/ai-chat.d.mts +2 -0
- package/dist/components/ai-composer.d.mts +2 -0
- package/dist/components/ai-context.d.mts +2 -0
- package/dist/components/ai-context.mjs +1 -0
- package/dist/components/ai-diff.css +6 -6
- package/dist/components/ai-diff.d.mts +2 -0
- package/dist/components/ai-feedback.d.mts +2 -0
- package/dist/components/ai-files.d.mts +2 -0
- package/dist/components/ai-message.d.mts +2 -0
- package/dist/components/ai-panel.css +12 -10
- package/dist/components/ai-reasoning.d.mts +2 -0
- package/dist/components/ai-subagent.d.mts +2 -0
- package/dist/components/ai-subagent.mjs +1 -0
- package/dist/components/ai-threads.d.mts +2 -0
- package/dist/components/ai-todo.d.mts +2 -0
- package/dist/components/ai-todo.mjs +1 -0
- package/dist/components/ai-tool-call.d.mts +2 -0
- package/dist/components/ai-tool-call.mjs +1 -0
- package/dist/components/ai-tool.css +16 -16
- package/dist/components/ai-usage.d.mts +2 -0
- package/dist/components/alert.d.mts +2 -0
- package/dist/components/autocomplete.css +12 -12
- package/dist/components/autocomplete.d.mts +2 -0
- package/dist/components/avatar.d.mts +2 -0
- package/dist/components/back-top.css +47 -16
- package/dist/components/back-top.d.mts +2 -0
- package/dist/components/badge.css +1 -1
- package/dist/components/badge.d.mts +2 -0
- package/dist/components/breadcrumb.css +26 -8
- package/dist/components/breadcrumb.d.mts +2 -0
- package/dist/components/btn.css +67 -62
- package/dist/components/btn.d.mts +2 -0
- package/dist/components/card.css +22 -22
- package/dist/components/card.d.mts +2 -0
- package/dist/components/carousel.d.mts +2 -0
- package/dist/components/cascader.css +56 -35
- package/dist/components/cascader.d.mts +2 -0
- package/dist/components/chart-area.css +46 -0
- package/dist/components/chart-area.d.mts +2 -0
- package/dist/components/chart-bar.css +66 -19
- package/dist/components/chart-bar.d.mts +2 -0
- package/dist/components/chart-calendar.d.mts +2 -0
- package/dist/components/chart-gauge.css +23 -3
- package/dist/components/chart-gauge.d.mts +2 -0
- package/dist/components/chart-graph.css +15 -3
- package/dist/components/chart-graph.d.mts +2 -0
- package/dist/components/chart-heatmap.css +117 -95
- package/dist/components/chart-heatmap.d.mts +2 -0
- package/dist/components/chart-line.css +54 -0
- package/dist/components/chart-line.d.mts +2 -0
- package/dist/components/chart-map.d.mts +2 -0
- package/dist/components/chart-pie.css +29 -0
- package/dist/components/chart-pie.d.mts +2 -0
- package/dist/components/chart-radar.css +50 -1
- package/dist/components/chart-radar.d.mts +2 -0
- package/dist/components/chart-scatter.css +39 -2
- package/dist/components/chart-scatter.d.mts +2 -0
- package/dist/components/chart-sparkline.css +20 -0
- package/dist/components/chart-sparkline.d.mts +2 -0
- package/dist/components/chart-stack.css +16 -5
- package/dist/components/chart-stack.d.mts +2 -0
- package/dist/components/charts.css +109 -35
- package/dist/components/charts.d.mts +2 -0
- package/dist/components/code-block.css +10 -8
- package/dist/components/code-block.d.mts +2 -0
- package/dist/components/command-palette.css +45 -38
- package/dist/components/command-palette.d.mts +2 -0
- package/dist/components/content.css +62 -57
- package/dist/components/context-menu.d.mts +2 -0
- package/dist/components/copy.css +10 -10
- package/dist/components/copy.d.mts +2 -0
- package/dist/components/datatable.css +72 -59
- package/dist/components/datatable.d.mts +2 -0
- package/dist/components/date-picker.css +26 -26
- package/dist/components/date-picker.d.mts +2 -0
- package/dist/components/desc.d.mts +2 -0
- package/dist/components/dropdown.d.mts +2 -0
- package/dist/components/empty.css +16 -16
- package/dist/components/empty.d.mts +2 -0
- package/dist/components/feedback.css +31 -29
- package/dist/components/form-validate.css +20 -6
- package/dist/components/form-validate.d.mts +2 -0
- package/dist/components/form.css +17 -14
- package/dist/components/form.d.mts +2 -0
- package/dist/components/icon.css +21 -10
- package/dist/components/icon.d.mts +2 -0
- package/dist/components/input.css +22 -22
- package/dist/components/input.d.mts +2 -0
- package/dist/components/kb-access.d.mts +2 -0
- package/dist/components/kb-acl.d.mts +2 -0
- package/dist/components/kb-agent.css +134 -55
- package/dist/components/kb-answer.d.mts +2 -0
- package/dist/components/kb-audit.d.mts +2 -0
- package/dist/components/kb-canvas.d.mts +2 -0
- package/dist/components/kb-chain.d.mts +2 -0
- package/dist/components/kb-checkpoint.d.mts +2 -0
- package/dist/components/kb-chunks.d.mts +2 -0
- package/dist/components/kb-citation.d.mts +2 -0
- package/dist/components/kb-clarify.d.mts +2 -0
- package/dist/components/kb-conflict.d.mts +2 -0
- package/dist/components/kb-connector.d.mts +2 -0
- package/dist/components/kb-data.css +192 -80
- package/dist/components/kb-eval.d.mts +2 -0
- package/dist/components/kb-explain.d.mts +2 -0
- package/dist/components/kb-filter.d.mts +2 -0
- package/dist/components/kb-gap.d.mts +2 -0
- package/dist/components/kb-ground.css +165 -73
- package/dist/components/kb-hittest.d.mts +2 -0
- package/dist/components/kb-ingest.css +308 -113
- package/dist/components/kb-metadata.d.mts +2 -0
- package/dist/components/kb-ops.css +189 -75
- package/dist/components/kb-passage.d.mts +2 -0
- package/dist/components/kb-perm.css +158 -87
- package/dist/components/kb-pipeline.d.mts +2 -0
- package/dist/components/kb-qa.d.mts +2 -0
- package/dist/components/kb-rerank.d.mts +2 -0
- package/dist/components/kb-retrieval.d.mts +2 -0
- package/dist/components/kb-review.d.mts +2 -0
- package/dist/components/kb-sandbox.d.mts +2 -0
- package/dist/components/kb-search.css +353 -116
- package/dist/components/kb-segment.d.mts +2 -0
- package/dist/components/kb-sources.d.mts +2 -0
- package/dist/components/kb-sql.d.mts +2 -0
- package/dist/components/kb-trace.d.mts +2 -0
- package/dist/components/kb-visibility.d.mts +2 -0
- package/dist/components/kb-who-can.d.mts +2 -0
- package/dist/components/kb.css +60 -36
- package/dist/components/kb.d.mts +2 -0
- package/dist/components/kbd.d.mts +2 -0
- package/dist/components/layout.css +10 -10
- package/dist/components/layout.d.mts +2 -0
- package/dist/components/list.d.mts +2 -0
- package/dist/components/material-chinese.css +10 -0
- package/dist/components/material-soviet.css +10 -0
- package/dist/components/material.css +61 -18
- package/dist/components/media-card.d.mts +2 -0
- package/dist/components/media.css +22 -27
- package/dist/components/mentions.css +18 -17
- package/dist/components/mentions.d.mts +2 -0
- package/dist/components/menu.css +32 -28
- package/dist/components/modal.css +30 -27
- package/dist/components/modal.d.mts +2 -0
- package/dist/components/nav.css +48 -44
- package/dist/components/nav.d.mts +2 -0
- package/dist/components/notification.css +31 -25
- package/dist/components/notification.d.mts +2 -0
- package/dist/components/pagination.css +15 -13
- package/dist/components/pagination.d.mts +2 -0
- package/dist/components/panel.css +19 -20
- package/dist/components/panel.d.mts +2 -0
- package/dist/components/pill.css +8 -7
- package/dist/components/pill.d.mts +2 -0
- package/dist/components/popover.css +32 -23
- package/dist/components/popover.d.mts +2 -0
- package/dist/components/progress.d.mts +2 -0
- package/dist/components/rating.d.mts +2 -0
- package/dist/components/result.d.mts +2 -0
- package/dist/components/scroll-area.css +84 -112
- package/dist/components/scroll-area.d.mts +2 -0
- package/dist/components/scroll-area.mjs +1 -0
- package/dist/components/segmented.css +47 -29
- package/dist/components/segmented.d.mts +2 -0
- package/dist/components/select.css +80 -41
- package/dist/components/select.d.mts +2 -0
- package/dist/components/sidebar.css +42 -38
- package/dist/components/sidebar.d.mts +2 -0
- package/dist/components/skeleton.d.mts +2 -0
- package/dist/components/slider.css +26 -22
- package/dist/components/slider.d.mts +2 -0
- package/dist/components/spinner.d.mts +2 -0
- package/dist/components/split-pane.css +16 -7
- package/dist/components/split-pane.d.mts +2 -0
- package/dist/components/stat.css +17 -16
- package/dist/components/stat.d.mts +2 -0
- package/dist/components/steps.css +26 -26
- package/dist/components/steps.d.mts +2 -0
- package/dist/components/switch.css +78 -39
- package/dist/components/switch.d.mts +2 -0
- package/dist/components/table.css +54 -32
- package/dist/components/table.d.mts +2 -0
- package/dist/components/tabs.css +53 -32
- package/dist/components/tabs.d.mts +2 -0
- package/dist/components/tag-input.css +12 -8
- package/dist/components/tag-input.d.mts +2 -0
- package/dist/components/tag.css +20 -12
- package/dist/components/tag.d.mts +2 -0
- package/dist/components/theme-switcher.css +7 -7
- package/dist/components/theme-switcher.d.mts +2 -0
- package/dist/components/timeline.d.mts +2 -0
- package/dist/components/toast.css +34 -30
- package/dist/components/toast.d.mts +2 -0
- package/dist/components/toolbar.css +19 -18
- package/dist/components/toolbar.d.mts +2 -0
- package/dist/components/tooltip.css +9 -8
- package/dist/components/tooltip.d.mts +2 -0
- package/dist/components/tree-select.css +63 -40
- package/dist/components/tree-select.d.mts +2 -0
- package/dist/components/tree.d.mts +2 -0
- package/dist/components/upload.css +9 -11
- package/dist/components/upload.d.mts +2 -0
- package/dist/index.d.mts +85 -84
- package/dist/index.mjs +14644 -13935
- package/dist/react.d.mts +18 -18
- package/dist/react.mjs +377 -36
- package/dist/registry.json +797 -64
- package/dist/tokens/colors.css +6 -0
- package/dist/tokens/design.css +137 -31
- package/dist/tokens/dtcg.json +9592 -2008
- package/dist/tokens/figma.variables.json +7451 -2141
- package/dist/tokens/motion.css +51 -0
- package/dist/tokens/pixel.css +10 -0
- package/dist/tokens/scrollbars.css +40 -0
- package/dist/tokens/tokens-studio.json +8390 -1142
- package/dist/tokens/typography.css +33 -0
- package/dist/tokens.css +402 -82
- package/dist/ui.css +4196 -2163
- package/dist/vue.d.mts +17 -17
- package/dist/vue.mjs +371 -34
- package/docs/spec/charts-scale-a11y.md +115 -0
- package/docs/spec/design-philosophy.md +5 -5
- package/docs/spec/design-primitives.md +10 -10
- package/docs/spec/motion-typography.md +105 -0
- package/docs/spec/scrollbars.md +46 -0
- package/package.json +17 -3
|
@@ -1,98 +1,120 @@
|
|
|
1
1
|
@layer icen.components {
|
|
2
|
-
/*
|
|
3
|
-
* @icen.ai/ui — Component: chart-heatmap(热力图 / 贡献图专属样式)
|
|
4
|
-
* 依赖:charts.css(基座 --chart-tone)
|
|
5
|
-
*
|
|
6
|
-
* DOM 由 behaviors/charts.ts 的 renderHeatmap 构建:
|
|
7
|
-
* .icen-chart-heatmap > .icen-chart-heatmap-grid > .icen-chart-heatmap-cell[data-icen-level=0-4][.is-blank]
|
|
8
|
-
* > .icen-chart-heatmap-legend
|
|
9
|
-
* 7 行(周一→周日)× N 周列,5 档色阶(data-icen-level 0-4)。
|
|
10
|
-
*
|
|
11
|
-
* RTL 豁免(guard 文件级白名单 scripts/guard/rtl.ts):热力图格子按列号物理百分比定位
|
|
12
|
-
* (贡献图坐标系),RTL 不镜像。
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
.icen-chart-heatmap {
|
|
16
|
-
display: flex;
|
|
17
|
-
flex-direction: column;
|
|
18
|
-
gap: var(--icen-density-space-xs);
|
|
19
|
-
}
|
|
20
|
-
.icen-chart-heatmap-grid {
|
|
21
|
-
display: grid;
|
|
22
|
-
grid-template-rows: repeat(7, 1fr);
|
|
23
|
-
grid-auto-flow: column;
|
|
24
|
-
grid-auto-columns: 1fr;
|
|
25
|
-
gap: 3px;
|
|
26
|
-
width: 100%;
|
|
27
|
-
}
|
|
28
|
-
.icen-chart-heatmap-cell {
|
|
29
|
-
aspect-ratio: 1;
|
|
30
|
-
border-radius: 2px;
|
|
31
2
|
/* guard:allow-radius 微构件(bar/dot/track/指示器等图形级,不属容器圆角面) */
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
.
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
.icen-chart-heatmap-
|
|
38
|
-
.icen-chart-heatmap-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
color: var(--icen-token-text-faint);
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
3
|
+
/*
|
|
4
|
+
* @icen.ai/ui — Component: chart-heatmap(热力图 / 贡献图专属样式)
|
|
5
|
+
* 依赖:charts.css(基座 --chart-tone)
|
|
6
|
+
*
|
|
7
|
+
* DOM 由 behaviors/charts.ts 的 renderHeatmap 构建:
|
|
8
|
+
* .icen-chart-heatmap > .icen-chart-heatmap-grid > .icen-chart-heatmap-cell[data-icen-level=0-4][.is-blank]
|
|
9
|
+
* > .icen-chart-heatmap-legend
|
|
10
|
+
* 7 行(周一→周日)× N 周列,5 档色阶(data-icen-level 0-4)。
|
|
11
|
+
*
|
|
12
|
+
* RTL 豁免(guard 文件级白名单 scripts/guard/rtl.ts):热力图格子按列号物理百分比定位
|
|
13
|
+
* (贡献图坐标系),RTL 不镜像。
|
|
14
|
+
*/
|
|
15
|
+
|
|
16
|
+
.icen-chart-heatmap {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
gap: 6px;
|
|
20
|
+
}
|
|
21
|
+
.icen-chart-heatmap-grid {
|
|
22
|
+
display: grid;
|
|
23
|
+
grid-template-rows: repeat(7, 1fr);
|
|
24
|
+
grid-auto-flow: column;
|
|
25
|
+
grid-auto-columns: 1fr;
|
|
26
|
+
gap: 3px;
|
|
27
|
+
width: 100%;
|
|
28
|
+
}
|
|
29
|
+
.icen-chart-heatmap-cell {
|
|
30
|
+
aspect-ratio: 1;
|
|
31
|
+
border-radius: var(--icen-radius-xs);
|
|
32
|
+
background: color-mix(in srgb, var(--icen-token-fill-2) 80%, transparent);
|
|
33
|
+
transition: box-shadow var(--icen-tx-fast), filter var(--icen-tx-fast);
|
|
34
|
+
}
|
|
35
|
+
.icen-chart-heatmap-cell.is-blank { background: transparent; }
|
|
36
|
+
.icen-chart-heatmap-cell[data-icen-level='1'] { background: color-mix(in srgb, var(--chart-tone, var(--icen-token-accent)) 24%, var(--icen-token-fill-2)); }
|
|
37
|
+
.icen-chart-heatmap-cell[data-icen-level='2'] { background: color-mix(in srgb, var(--chart-tone, var(--icen-token-accent)) 46%, var(--icen-token-fill-2)); }
|
|
38
|
+
.icen-chart-heatmap-cell[data-icen-level='3'] { background: color-mix(in srgb, var(--chart-tone, var(--icen-token-accent)) 70%, var(--icen-token-fill-2)); }
|
|
39
|
+
.icen-chart-heatmap-cell[data-icen-level='4'] { background: var(--chart-tone, var(--icen-token-accent)); }
|
|
40
|
+
|
|
41
|
+
/* hover:面色内圈 + 色环外圈(不改变格子尺寸,网格不跳) */
|
|
42
|
+
.icen-chart-heatmap-cell:not(.is-blank):hover {
|
|
43
|
+
box-shadow:
|
|
44
|
+
0 0 0 1.5px var(--icen-token-card),
|
|
45
|
+
0 0 0 2.5px var(--chart-tone, var(--icen-token-accent));
|
|
46
|
+
}
|
|
47
|
+
.icen-chart-heatmap-cell:not(.is-blank):active {
|
|
48
|
+
filter: brightness(0.94);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.icen-chart-heatmap-legend {
|
|
52
|
+
display: flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
justify-content: flex-end;
|
|
55
|
+
gap: 4px;
|
|
56
|
+
font-size: 11px;
|
|
57
|
+
letter-spacing: 0.01em;
|
|
58
|
+
color: var(--icen-token-text-faint);
|
|
59
|
+
}
|
|
60
|
+
.icen-chart-heatmap-legend .icen-chart-heatmap-cell {
|
|
61
|
+
width: 10px;
|
|
62
|
+
height: 10px;
|
|
63
|
+
aspect-ratio: auto;
|
|
64
|
+
border-radius: 2px; /* guard:allow-radius 微构件(bar/dot/track/指示器等图形级,不属容器圆角面) */
|
|
65
|
+
}
|
|
66
|
+
.icen-chart-heatmap-legend > span:first-child { margin-right: 2px; }
|
|
67
|
+
.icen-chart-heatmap-legend > span:last-child { margin-left: 2px; }
|
|
68
|
+
|
|
69
|
+
/* ── 贡献日历(renderCalendar):月份标签 + 星期列 + 周格 ──
|
|
70
|
+
* 布局 grid:左列星期标签(一/三/五/日),右列自上而下 月份行 / 周格 / 图例。
|
|
71
|
+
* 月份标签按周列定位:left = col / columns * 100%。 */
|
|
72
|
+
.icen-chart-calendar {
|
|
73
|
+
display: grid;
|
|
74
|
+
grid-template-columns: 16px 1fr;
|
|
75
|
+
grid-template-rows: 14px auto auto;
|
|
76
|
+
column-gap: 6px;
|
|
77
|
+
row-gap: 4px;
|
|
78
|
+
}
|
|
79
|
+
.icen-chart-calendar-months {
|
|
80
|
+
grid-column: 2;
|
|
81
|
+
position: relative;
|
|
82
|
+
font-size: 10px;
|
|
83
|
+
letter-spacing: 0.01em;
|
|
84
|
+
color: var(--icen-token-text-faint);
|
|
85
|
+
}
|
|
86
|
+
.icen-chart-calendar-month {
|
|
87
|
+
position: absolute;
|
|
88
|
+
top: 0;
|
|
89
|
+
left: calc(var(--col, 0) / var(--columns, 1) * 100%);
|
|
90
|
+
white-space: nowrap;
|
|
91
|
+
}
|
|
92
|
+
.icen-chart-calendar-weekdays {
|
|
93
|
+
grid-column: 1;
|
|
94
|
+
grid-row: 2;
|
|
95
|
+
display: grid;
|
|
96
|
+
grid-template-rows: repeat(7, 1fr);
|
|
97
|
+
align-items: center;
|
|
98
|
+
font-size: 10px;
|
|
99
|
+
color: var(--icen-token-text-faint);
|
|
100
|
+
line-height: 1;
|
|
101
|
+
}
|
|
102
|
+
.icen-chart-calendar .icen-chart-heatmap-grid {
|
|
103
|
+
grid-column: 2;
|
|
104
|
+
grid-row: 2;
|
|
105
|
+
gap: 2px;
|
|
106
|
+
}
|
|
107
|
+
.icen-chart-calendar .icen-chart-heatmap-legend {
|
|
108
|
+
grid-column: 2;
|
|
109
|
+
grid-row: 3;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
@media (prefers-reduced-motion: reduce) {
|
|
113
|
+
.icen-chart-heatmap-cell { transition: none; }
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
@media (forced-colors: active) {
|
|
117
|
+
.icen-chart-heatmap-cell { border: 1px solid CanvasText; }
|
|
118
|
+
.icen-chart-heatmap-cell.is-blank { border-color: transparent; }
|
|
119
|
+
}
|
|
98
120
|
|
|
99
121
|
}
|
|
@@ -6,10 +6,15 @@
|
|
|
6
6
|
* DOM 由 behaviors/charts.ts 的 renderLine 构建:
|
|
7
7
|
* .icen-chart-line > svg[viewBox="0 0 360 150"]
|
|
8
8
|
* 含面积渐变 + 网格线 + 数据点 + 底部 .icen-chart-labels。
|
|
9
|
+
* 网格线带 .icen-chart-grid,最底一条同时带 .icen-chart-baseline(轴基线加重)。
|
|
9
10
|
* spec.marks 的 SVG 标记(.icen-chart-mark-line 参考线 / .icen-chart-mark-point
|
|
10
11
|
* 标记点 + .icen-chart-mark-label 标注)直接追加进本 svg,样式属性直出(挡指针事件在基座)。
|
|
11
12
|
*/
|
|
12
13
|
|
|
14
|
+
.icen-chart-line {
|
|
15
|
+
position: relative;
|
|
16
|
+
min-width: 0;
|
|
17
|
+
}
|
|
13
18
|
.icen-chart-line > svg {
|
|
14
19
|
display: block;
|
|
15
20
|
width: 100%;
|
|
@@ -17,4 +22,53 @@
|
|
|
17
22
|
overflow: visible;
|
|
18
23
|
}
|
|
19
24
|
|
|
25
|
+
/* 网格:四档横向发丝线;基线略重(1 档灰差,不做粗黑轴) */
|
|
26
|
+
.icen-chart-line svg .icen-chart-grid {
|
|
27
|
+
stroke: var(--icen-token-line-soft);
|
|
28
|
+
opacity: 0.9;
|
|
29
|
+
}
|
|
30
|
+
.icen-chart-line svg .icen-chart-baseline {
|
|
31
|
+
stroke: var(--icen-token-line);
|
|
32
|
+
opacity: 1;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* 数据线:单/多系列统一 2px(行为给 2.5/2,CSS 归一保持同族粗细) */
|
|
36
|
+
.icen-chart-line svg > path[fill='none'] {
|
|
37
|
+
stroke-width: 2;
|
|
38
|
+
}
|
|
39
|
+
/* 面积渐变压到克制档:首色 .22、尾色 0,避免大色块压过线本身 */
|
|
40
|
+
.icen-chart-line svg stop:first-child { stop-opacity: 0.22; }
|
|
41
|
+
.icen-chart-line svg stop:last-child { stop-opacity: 0; }
|
|
42
|
+
|
|
43
|
+
/* 数据点:白芯 + 色环;hover 放大 1.45×(命中圆在点之后,用相邻选择器把放大
|
|
44
|
+
落到被盖住的实心点上;命中圆自身只铺一层极淡的 accent 晕) */
|
|
45
|
+
.icen-chart-line svg circle[data-icen-chart-mark]:not([data-icen-chart-hit]) {
|
|
46
|
+
transform-box: fill-box;
|
|
47
|
+
transform-origin: center;
|
|
48
|
+
transition: transform var(--icen-duration-fast) var(--icen-ease-out), opacity var(--icen-tx-fast);
|
|
49
|
+
}
|
|
50
|
+
.icen-chart-line svg circle[data-icen-chart-mark]:not([data-icen-chart-hit]):has(+ .is-hover) {
|
|
51
|
+
transform: scale(1.45);
|
|
52
|
+
}
|
|
53
|
+
.icen-chart-line svg circle[data-icen-chart-hit].is-hover {
|
|
54
|
+
fill: color-mix(in srgb, var(--icen-token-accent) 9%, transparent);
|
|
55
|
+
}
|
|
56
|
+
.icen-chart-line svg circle[data-icen-chart-mark].is-off {
|
|
57
|
+
opacity: 0.18;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/* 轴标签行与绘图区之间留一口气,不贴线 */
|
|
61
|
+
.icen-chart-line .icen-chart-labels {
|
|
62
|
+
margin-top: 5px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@media (prefers-reduced-motion: reduce) {
|
|
66
|
+
.icen-chart-line svg circle[data-icen-chart-mark] { transition: none; }
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@media (forced-colors: active) {
|
|
70
|
+
.icen-chart-line svg .icen-chart-grid,
|
|
71
|
+
.icen-chart-line svg .icen-chart-baseline { stroke: GrayText; }
|
|
72
|
+
}
|
|
73
|
+
|
|
20
74
|
}
|
|
@@ -6,11 +6,13 @@
|
|
|
6
6
|
* DOM 由 behaviors/charts.ts 的 renderDonut 构建:
|
|
7
7
|
* .icen-chart-donut > svg[viewBox="0 0 120 120"](-90° 起笔)
|
|
8
8
|
* .icen-chart-donut > .icen-chart-legend
|
|
9
|
+
* 多段时 behavior 在每段尾部留 2.5 用户单位白隙(同色相邻段可辨)。
|
|
9
10
|
*/
|
|
10
11
|
|
|
11
12
|
.icen-chart-donut {
|
|
12
13
|
display: flex;
|
|
13
14
|
align-items: center;
|
|
15
|
+
flex-wrap: wrap;
|
|
14
16
|
gap: var(--icen-density-space-md);
|
|
15
17
|
min-height: 150px;
|
|
16
18
|
}
|
|
@@ -18,6 +20,33 @@
|
|
|
18
20
|
width: 132px;
|
|
19
21
|
height: 132px;
|
|
20
22
|
flex-shrink: 0;
|
|
23
|
+
overflow: visible;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/* 环宽 13(轨道与弧一致);hover 段加宽 2px 但不压邻段(底座已留 2.5 缝隙) */
|
|
27
|
+
.icen-chart-donut svg circle {
|
|
28
|
+
stroke-width: 13;
|
|
29
|
+
transition: stroke-width var(--icen-duration-fast) var(--icen-ease-out), opacity var(--icen-tx-fast);
|
|
30
|
+
}
|
|
31
|
+
.icen-chart-donut svg circle[data-icen-chart-mark].is-hover {
|
|
32
|
+
stroke-width: 15;
|
|
33
|
+
}
|
|
34
|
+
.icen-chart-donut svg circle[data-icen-chart-mark].is-off {
|
|
35
|
+
opacity: 0.22;
|
|
36
|
+
stroke-width: 13;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.icen-chart-donut .icen-chart-legend {
|
|
40
|
+
gap: 6px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@media (prefers-reduced-motion: reduce) {
|
|
44
|
+
.icen-chart-donut svg circle { transition: none; }
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@media (forced-colors: active) {
|
|
48
|
+
.icen-chart-donut svg circle { forced-color-adjust: none; }
|
|
49
|
+
.icen-chart-donut svg circle:first-of-type { stroke: CanvasText; }
|
|
21
50
|
}
|
|
22
51
|
|
|
23
52
|
}
|
|
@@ -7,8 +7,13 @@
|
|
|
7
7
|
* .icen-chart-radar > svg[viewBox="0 0 200 200"](N 轴蛛网 + 数据多边形)
|
|
8
8
|
* > .icen-chart-legend
|
|
9
9
|
* 多系列时各系列分配 chart-tone-1..6,图例由 behavior 生成。
|
|
10
|
+
* 蛛网:环与轴都是发丝实线(虚线在 200px 视觉尺寸下会碎),最外环略重。
|
|
10
11
|
*/
|
|
11
12
|
|
|
13
|
+
.icen-chart-radar {
|
|
14
|
+
align-items: center;
|
|
15
|
+
gap: var(--icen-density-space-md);
|
|
16
|
+
}
|
|
12
17
|
.icen-chart-radar > svg {
|
|
13
18
|
display: block;
|
|
14
19
|
width: 100%;
|
|
@@ -17,6 +22,50 @@
|
|
|
17
22
|
aspect-ratio: 1;
|
|
18
23
|
overflow: visible;
|
|
19
24
|
}
|
|
20
|
-
|
|
25
|
+
|
|
26
|
+
/* 蛛网环:fill=none 的 polygon 即网格;虚线归一为实线,避免缩放后出现摩尔纹 */
|
|
27
|
+
.icen-chart-radar svg polygon[fill='none'] {
|
|
28
|
+
stroke: var(--icen-token-line-soft);
|
|
29
|
+
stroke-dasharray: none;
|
|
30
|
+
opacity: 0.9;
|
|
31
|
+
}
|
|
32
|
+
.icen-chart-radar svg line {
|
|
33
|
+
stroke: var(--icen-token-line-soft);
|
|
34
|
+
opacity: 0.8;
|
|
35
|
+
}
|
|
36
|
+
.icen-chart-radar svg text {
|
|
37
|
+
font-size: 10px;
|
|
38
|
+
letter-spacing: 0.01em;
|
|
39
|
+
fill: var(--icen-token-text-muted);
|
|
40
|
+
}
|
|
41
|
+
/* 数据多边形:填充 12%,描边 1.75;hover 只加浓填充 */
|
|
42
|
+
.icen-chart-radar svg polygon[fill-opacity] {
|
|
43
|
+
fill-opacity: 0.12;
|
|
44
|
+
stroke-width: 1.75;
|
|
45
|
+
transition: fill-opacity var(--icen-tx-fast);
|
|
46
|
+
}
|
|
47
|
+
.icen-chart-radar svg polygon[fill-opacity]:hover,
|
|
48
|
+
.icen-chart-radar svg polygon[fill-opacity].is-hover {
|
|
49
|
+
fill-opacity: 0.2;
|
|
50
|
+
}
|
|
51
|
+
.icen-chart-radar svg circle[data-icen-chart-mark] {
|
|
52
|
+
stroke-width: 1.75;
|
|
53
|
+
transition: transform var(--icen-duration-fast) var(--icen-ease-out);
|
|
54
|
+
transform-box: fill-box;
|
|
55
|
+
transform-origin: center;
|
|
56
|
+
}
|
|
57
|
+
.icen-chart-radar svg circle[data-icen-chart-mark].is-hover {
|
|
58
|
+
transform: scale(1.35);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@media (prefers-reduced-motion: reduce) {
|
|
62
|
+
.icen-chart-radar svg polygon[fill-opacity],
|
|
63
|
+
.icen-chart-radar svg circle[data-icen-chart-mark] { transition: none; }
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@media (forced-colors: active) {
|
|
67
|
+
.icen-chart-radar svg polygon[fill='none'],
|
|
68
|
+
.icen-chart-radar svg line { stroke: GrayText; }
|
|
69
|
+
}
|
|
21
70
|
|
|
22
71
|
}
|
|
@@ -5,23 +5,60 @@
|
|
|
5
5
|
*
|
|
6
6
|
* DOM 由 behaviors/charts.ts 的 renderScatter 构建:
|
|
7
7
|
* .icen-chart-scatter > svg(360×220 viewBox,网格 + 刻度 + circle[data-icen-chart-mark])
|
|
8
|
+
* 横网格带 .icen-chart-grid、纵向带 .icen-chart-grid--v;左/下轴带 .icen-chart-axis。
|
|
8
9
|
* 气泡第三维:points[].size 映射半径 3–10;hover/点击/右键走通用层委托。
|
|
9
10
|
*/
|
|
10
11
|
|
|
12
|
+
.icen-chart-scatter {
|
|
13
|
+
min-width: 0;
|
|
14
|
+
}
|
|
11
15
|
.icen-chart-scatter svg {
|
|
12
16
|
width: 100%;
|
|
13
17
|
height: auto;
|
|
14
18
|
display: block;
|
|
19
|
+
overflow: visible;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/* 网格:横实纵虚;轴线略重,刻度文字 10px(行为直出 8px,CSS 覆盖) */
|
|
23
|
+
.icen-chart-scatter svg .icen-chart-grid {
|
|
24
|
+
stroke: var(--icen-token-line-soft);
|
|
25
|
+
opacity: 0.9;
|
|
26
|
+
}
|
|
27
|
+
.icen-chart-scatter svg .icen-chart-grid--v {
|
|
28
|
+
stroke-dasharray: 2 4;
|
|
29
|
+
opacity: 0.75;
|
|
30
|
+
}
|
|
31
|
+
.icen-chart-scatter svg .icen-chart-axis {
|
|
32
|
+
stroke: var(--icen-token-line);
|
|
33
|
+
stroke-dasharray: none;
|
|
34
|
+
opacity: 1;
|
|
15
35
|
}
|
|
36
|
+
.icen-chart-scatter svg text {
|
|
37
|
+
font-size: 10px;
|
|
38
|
+
letter-spacing: 0.01em;
|
|
39
|
+
fill: var(--icen-token-text-faint);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/* 数据点:半透明填充 + 细描边;hover 加浓不放大(气泡半径本身携带尺寸语义) */
|
|
16
43
|
.icen-chart-scatter circle[data-icen-chart-mark] {
|
|
17
|
-
transition: fill-opacity var(--icen-tx-fast);
|
|
44
|
+
transition: fill-opacity var(--icen-tx-fast), stroke-width var(--icen-tx-fast);
|
|
18
45
|
}
|
|
19
|
-
.icen-chart-scatter circle[data-icen-chart-mark]:hover
|
|
46
|
+
.icen-chart-scatter circle[data-icen-chart-mark]:hover,
|
|
47
|
+
.icen-chart-scatter circle[data-icen-chart-mark].is-hover {
|
|
20
48
|
fill-opacity: 0.85;
|
|
49
|
+
stroke-width: 1.75;
|
|
50
|
+
}
|
|
51
|
+
.icen-chart-scatter circle[data-icen-chart-mark].is-off {
|
|
52
|
+
opacity: 0.14;
|
|
21
53
|
}
|
|
22
54
|
|
|
23
55
|
@media (prefers-reduced-motion: reduce) {
|
|
24
56
|
.icen-chart-scatter circle[data-icen-chart-mark] { transition: none; }
|
|
25
57
|
}
|
|
26
58
|
|
|
59
|
+
@media (forced-colors: active) {
|
|
60
|
+
.icen-chart-scatter svg .icen-chart-grid,
|
|
61
|
+
.icen-chart-scatter svg .icen-chart-axis { stroke: GrayText; }
|
|
62
|
+
}
|
|
63
|
+
|
|
27
64
|
}
|
|
@@ -7,6 +7,12 @@
|
|
|
7
7
|
* .icen-chart-sparkline > svg[viewBox="0 0 96 28"](无轴,末点高亮)
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
+
.icen-chart-sparkline {
|
|
11
|
+
display: inline-flex;
|
|
12
|
+
align-items: center;
|
|
13
|
+
vertical-align: middle;
|
|
14
|
+
line-height: 0;
|
|
15
|
+
}
|
|
10
16
|
.icen-chart-sparkline > svg {
|
|
11
17
|
display: block;
|
|
12
18
|
width: 96px;
|
|
@@ -14,4 +20,18 @@
|
|
|
14
20
|
overflow: visible;
|
|
15
21
|
}
|
|
16
22
|
|
|
23
|
+
/* 迷你线不比正文抢眼:1.75px 圆头,渐变只做落影暗示 */
|
|
24
|
+
.icen-chart-sparkline svg > path[fill='none'] {
|
|
25
|
+
stroke-width: 1.75;
|
|
26
|
+
}
|
|
27
|
+
.icen-chart-sparkline svg stop:first-child { stop-opacity: 0.22; }
|
|
28
|
+
.icen-chart-sparkline svg stop:last-child { stop-opacity: 0; }
|
|
29
|
+
.icen-chart-sparkline svg circle {
|
|
30
|
+
stroke-width: 1.6;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
@media (forced-colors: active) {
|
|
34
|
+
.icen-chart-sparkline svg circle { fill: Canvas; }
|
|
35
|
+
}
|
|
36
|
+
|
|
17
37
|
}
|
|
@@ -9,20 +9,26 @@
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
.icen-chart-stack {
|
|
12
|
-
height:
|
|
12
|
+
height: 14px;
|
|
13
13
|
display: flex;
|
|
14
14
|
overflow: hidden;
|
|
15
|
-
border-radius: var(--icen-radius-
|
|
16
|
-
background: var(--icen-token-fill-2);
|
|
15
|
+
border-radius: var(--icen-radius-xs);
|
|
16
|
+
background: color-mix(in srgb, var(--icen-token-fill-2) 70%, transparent);
|
|
17
17
|
margin-bottom: var(--icen-density-space-sm);
|
|
18
|
+
margin-inline: 0;
|
|
18
19
|
}
|
|
19
20
|
.icen-chart-stack-seg {
|
|
20
21
|
height: 100%;
|
|
21
22
|
min-width: 3px;
|
|
22
23
|
background: var(--chart-tone, var(--icen-token-accent));
|
|
23
|
-
transition: width var(--icen-
|
|
24
|
+
transition: width var(--icen-duration-slow) var(--icen-ease-out), filter var(--icen-tx-fast);
|
|
24
25
|
}
|
|
25
|
-
|
|
26
|
+
/* 段缝:2px 面色内阴影(不改宽度,不改百分比契约;同色相邻段也能分界) */
|
|
27
|
+
.icen-chart-stack-seg + .icen-chart-stack-seg {
|
|
28
|
+
box-shadow: inset 2px 0 0 var(--icen-token-card);
|
|
29
|
+
}
|
|
30
|
+
.icen-chart-stack-seg:hover,
|
|
31
|
+
.icen-chart-stack-seg.is-hover {
|
|
26
32
|
filter: brightness(1.08);
|
|
27
33
|
}
|
|
28
34
|
|
|
@@ -30,4 +36,9 @@
|
|
|
30
36
|
.icen-chart-stack-seg { transition: none; }
|
|
31
37
|
}
|
|
32
38
|
|
|
39
|
+
@media (forced-colors: active) {
|
|
40
|
+
.icen-chart-stack { border: 1px solid CanvasText; background: Canvas; }
|
|
41
|
+
.icen-chart-stack-seg + .icen-chart-stack-seg { box-shadow: inset 2px 0 0 Canvas; }
|
|
42
|
+
}
|
|
43
|
+
|
|
33
44
|
}
|