@finstack-com-public/design 0.3.2 → 0.5.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/CHANGELOG.md +63 -0
- package/README.md +3 -6
- package/THIRD_PARTY_NOTICES.md +14 -4
- package/TRADEMARKS.md +7 -9
- package/dist/charts/index.js +6 -5
- package/dist/css/appbar.css +2 -2
- package/dist/css/appbar.md +5 -6
- package/dist/css/button.css +2 -2
- package/dist/css/button.md +1 -1
- package/dist/css/card.css +6 -2
- package/dist/css/codemirror.md +14 -0
- package/dist/css/dialog.css +2 -1
- package/dist/css/icon-button.css +1 -1
- package/dist/css/input.css +1 -1
- package/dist/css/kicker.css +2 -1
- package/dist/css/panel.css +4 -1
- package/dist/css/panel.md +2 -2
- package/dist/css/segmented.css +2 -2
- package/dist/css/sheet.css +1 -0
- package/dist/css/site.css +2 -1
- package/dist/css/site.md +3 -4
- package/dist/css/tokens.css +427 -389
- package/dist/css/widget.css +4 -1
- package/dist/css-text/appbar.js +1 -1
- package/dist/css-text/button.js +1 -1
- package/dist/css-text/card.js +1 -1
- package/dist/css-text/dialog.js +1 -1
- package/dist/css-text/icon-button.js +1 -1
- package/dist/css-text/input.js +1 -1
- package/dist/css-text/kicker.js +1 -1
- package/dist/css-text/kit.js +1 -1
- package/dist/css-text/panel.js +1 -1
- package/dist/css-text/segmented.js +1 -1
- package/dist/css-text/sheet.js +1 -1
- package/dist/css-text/site.js +1 -1
- package/dist/css-text/tokens.js +1 -1
- package/dist/css-text/widget.js +1 -1
- package/dist/fonts/OFL-plus-jakarta-sans.txt +93 -0
- package/dist/fonts/faces.d.ts +1 -1
- package/dist/fonts/faces.js +2 -0
- package/dist/fonts/index.d.ts +1 -1
- package/dist/fonts/index.js +3 -1
- package/dist/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2 +0 -0
- package/dist/fonts/plus-jakarta-sans-latin-wght-normal.woff2 +0 -0
- package/dist/fonts/print/plus-jakarta-sans-latin-400-normal.ttf +0 -0
- package/dist/fonts/print/plus-jakarta-sans-latin-500-normal.ttf +0 -0
- package/dist/fonts/print/plus-jakarta-sans-latin-600-normal.ttf +0 -0
- package/dist/fonts/print/plus-jakarta-sans-latin-700-normal.ttf +0 -0
- package/dist/fonts/print/plus-jakarta-sans-latin-ext-400-normal.ttf +0 -0
- package/dist/fonts/print/plus-jakarta-sans-latin-ext-500-normal.ttf +0 -0
- package/dist/fonts/print/plus-jakarta-sans-latin-ext-600-normal.ttf +0 -0
- package/dist/fonts/print/plus-jakarta-sans-latin-ext-700-normal.ttf +0 -0
- package/dist/fonts-print.css +74 -2
- package/dist/fonts.css +19 -1
- package/dist/kit.css +456 -404
- package/dist/react/navigation.d.ts +1 -1
- package/dist/react/shell.d.ts +1 -1
- package/dist/tokens/color.d.ts +5 -0
- package/dist/tokens/color.js +69 -59
- package/dist/tokens/contrast-pairs.js +11 -6
- package/dist/tokens/index.d.ts +14 -7
- package/dist/tokens/index.js +2 -1
- package/dist/tokens/primitives.d.ts +8 -5
- package/dist/tokens/primitives.js +8 -5
- package/dist/tokens/scale.d.ts +10 -3
- package/dist/tokens/scale.js +9 -2
- package/dist/tokens/syntax.js +5 -5
- package/dist/tokens.json +188 -171
- package/package.json +4 -5
- package/dist/logo/apple-touch-icon.png +0 -0
- package/dist/logo/favicon-32.png +0 -0
- package/dist/logo/favicon.ico +0 -0
- package/dist/logo/favicon.svg +0 -1
- package/dist/logo/finstack-logo-dark.svg +0 -1
- package/dist/logo/finstack-logo.svg +0 -1
- package/dist/logo/logo.md +0 -61
package/dist/tokens.json
CHANGED
|
@@ -2,41 +2,46 @@
|
|
|
2
2
|
"color": {
|
|
3
3
|
"light": {
|
|
4
4
|
"bg-surface": "#ffffff",
|
|
5
|
-
"bg-page": "#
|
|
6
|
-
"bg-plane": "#
|
|
7
|
-
"bg-chrome": "#
|
|
8
|
-
"bg-sunken": "#
|
|
9
|
-
"bg-hover": "rgba(
|
|
10
|
-
"bg-active": "rgba(
|
|
11
|
-
"bg-selected": "#
|
|
12
|
-
"bg-disabled": "#
|
|
5
|
+
"bg-page": "#f3f7fd",
|
|
6
|
+
"bg-plane": "#e9f0fb",
|
|
7
|
+
"bg-chrome": "#f8fbff",
|
|
8
|
+
"bg-sunken": "#eef3fa",
|
|
9
|
+
"bg-hover": "rgba(11,26,63,0.05)",
|
|
10
|
+
"bg-active": "rgba(11,26,63,0.09)",
|
|
11
|
+
"bg-selected": "#e8f0fe",
|
|
12
|
+
"bg-disabled": "#eef3fa",
|
|
13
13
|
"bg-highlight": "#fff6cc",
|
|
14
|
-
"bg-backdrop": "rgba(
|
|
15
|
-
"ink": "#
|
|
16
|
-
"ink-2": "#
|
|
17
|
-
"ink-muted": "#
|
|
18
|
-
"ink-disabled": "#
|
|
14
|
+
"bg-backdrop": "rgba(11,26,63,0.40)",
|
|
15
|
+
"ink": "#0b1a3f",
|
|
16
|
+
"ink-2": "#3b4a6b",
|
|
17
|
+
"ink-muted": "#5b6785",
|
|
18
|
+
"ink-disabled": "#828ba1",
|
|
19
19
|
"ink-on-accent": "#ffffff",
|
|
20
|
-
"ink-link": "#
|
|
21
|
-
"line": "#
|
|
22
|
-
"line-strong": "#
|
|
23
|
-
"line-control": "#
|
|
24
|
-
"
|
|
25
|
-
"accent
|
|
26
|
-
"accent-
|
|
27
|
-
"
|
|
28
|
-
"primary-bg
|
|
20
|
+
"ink-link": "#1f4fe0",
|
|
21
|
+
"line": "#dfe6f1",
|
|
22
|
+
"line-strong": "#c9d4e6",
|
|
23
|
+
"line-control": "#7a88a6",
|
|
24
|
+
"line-button": "#a3afc6",
|
|
25
|
+
"accent": "#1f4fe0",
|
|
26
|
+
"accent-strong": "#1a3fb8",
|
|
27
|
+
"accent-wash": "#e8f0fe",
|
|
28
|
+
"primary-bg": "#1f4fe0",
|
|
29
|
+
"primary-bg-hover": "#1a3fb8",
|
|
29
30
|
"primary-ink": "#ffffff",
|
|
30
|
-
"ring": "#
|
|
31
|
+
"ring": "#1a37a6",
|
|
32
|
+
"brand-start": "#1f4fe0",
|
|
33
|
+
"brand-end": "#14d4e0",
|
|
34
|
+
"brand-wash-start": "#e8f0fe",
|
|
35
|
+
"brand-wash-end": "#e3f8fb",
|
|
31
36
|
"ring-halo": "#ffffff",
|
|
32
|
-
"neutral-ink": "#
|
|
33
|
-
"neutral-wash": "#
|
|
34
|
-
"neutral-edge": "#
|
|
35
|
-
"neutral-fill": "#
|
|
36
|
-
"info-ink": "#
|
|
37
|
-
"info-wash": "#
|
|
38
|
-
"info-edge": "#
|
|
39
|
-
"info-fill": "#
|
|
37
|
+
"neutral-ink": "#3b4a6b",
|
|
38
|
+
"neutral-wash": "#eef3fa",
|
|
39
|
+
"neutral-edge": "#7a88a6",
|
|
40
|
+
"neutral-fill": "#3b4a6b",
|
|
41
|
+
"info-ink": "#1f4fe0",
|
|
42
|
+
"info-wash": "#e8f0fe",
|
|
43
|
+
"info-edge": "#1f4fe0",
|
|
44
|
+
"info-fill": "#1f4fe0",
|
|
40
45
|
"positive-ink": "#2e7d32",
|
|
41
46
|
"positive-wash": "#e8f5e9",
|
|
42
47
|
"positive-edge": "#2e7d32",
|
|
@@ -45,7 +50,7 @@
|
|
|
45
50
|
"caution-wash": "#fbf6dd",
|
|
46
51
|
"caution-edge": "#7f6a00",
|
|
47
52
|
"caution-fill": "#7f6a00",
|
|
48
|
-
"warning-ink": "#
|
|
53
|
+
"warning-ink": "#0b1a3f",
|
|
49
54
|
"warning-wash": "#ffffff",
|
|
50
55
|
"warning-edge": "#f26b1d",
|
|
51
56
|
"warning-fill": "#f26b1d",
|
|
@@ -54,181 +59,186 @@
|
|
|
54
59
|
"danger-wash": "#fdecea",
|
|
55
60
|
"danger-edge": "#c62828",
|
|
56
61
|
"danger-fill": "#c62828",
|
|
57
|
-
"gap-ink": "#
|
|
58
|
-
"gap-wash": "#
|
|
59
|
-
"gap-edge": "#
|
|
60
|
-
"gap-fill": "#
|
|
61
|
-
"gap-hatch-tint": "rgba(
|
|
62
|
+
"gap-ink": "#646a72",
|
|
63
|
+
"gap-wash": "#edeff2",
|
|
64
|
+
"gap-edge": "#b1b6bd",
|
|
65
|
+
"gap-fill": "#7a8089",
|
|
66
|
+
"gap-hatch-tint": "rgba(100,106,114,0.12)",
|
|
62
67
|
"figure-good": "#2e7d32",
|
|
63
68
|
"figure-bad": "#c62828",
|
|
64
|
-
"figure-plain": "#
|
|
69
|
+
"figure-plain": "#0b1a3f",
|
|
65
70
|
"mark-exact-ink": "#2e7d32",
|
|
66
71
|
"mark-exact-wash": "#e8f5e9",
|
|
67
72
|
"mark-exact-fill": "#2e7d32",
|
|
68
73
|
"mark-approx-ink": "#7f6a00",
|
|
69
74
|
"mark-approx-wash": "#fbf6dd",
|
|
70
75
|
"mark-approx-fill": "#7f6a00",
|
|
71
|
-
"mark-none-ink": "#
|
|
72
|
-
"mark-none-wash": "#
|
|
73
|
-
"mark-none-fill": "#
|
|
74
|
-
"type-organise": "#
|
|
76
|
+
"mark-none-ink": "#646a72",
|
|
77
|
+
"mark-none-wash": "#edeff2",
|
|
78
|
+
"mark-none-fill": "#7a8089",
|
|
79
|
+
"type-organise": "#5b6785",
|
|
75
80
|
"type-view": "#388e3c",
|
|
76
81
|
"type-input": "#0b7a75",
|
|
77
|
-
"type-model": "#
|
|
82
|
+
"type-model": "#7445b8",
|
|
78
83
|
"type-access": "#546e7a",
|
|
79
|
-
"computed-bg": "#
|
|
80
|
-
"computed-line": "#
|
|
81
|
-
"editor-gutter-bg": "#
|
|
82
|
-
"editor-gutter-ink": "#
|
|
83
|
-
"editor-gutter-line": "#
|
|
84
|
-
"editor-selection": "#
|
|
85
|
-
"editor-selection-blur": "rgba(
|
|
86
|
-
"editor-caret": "#
|
|
87
|
-
"editor-active-line": "rgba(
|
|
84
|
+
"computed-bg": "#eef3fa",
|
|
85
|
+
"computed-line": "#7a88a6",
|
|
86
|
+
"editor-gutter-bg": "#eef3fa",
|
|
87
|
+
"editor-gutter-ink": "#5b6785",
|
|
88
|
+
"editor-gutter-line": "#dfe6f1",
|
|
89
|
+
"editor-selection": "#e8f0fe",
|
|
90
|
+
"editor-selection-blur": "rgba(11,26,63,0.09)",
|
|
91
|
+
"editor-caret": "#0b1a3f",
|
|
92
|
+
"editor-active-line": "rgba(11,26,63,0.05)",
|
|
88
93
|
"editor-match": "rgba(11,122,117,0.18)",
|
|
89
94
|
"editor-mismatch": "#fdecea",
|
|
90
95
|
"editor-lint-error": "#c62828",
|
|
91
96
|
"editor-lint-warning": "#d85a10",
|
|
92
|
-
"editor-lint-refusal": "#
|
|
97
|
+
"editor-lint-refusal": "#646a72",
|
|
93
98
|
"editor-tooltip-bg": "#ffffff",
|
|
94
|
-
"editor-tooltip-line": "#
|
|
95
|
-
"chart-1": "#
|
|
96
|
-
"chart-2": "#
|
|
97
|
-
"chart-3": "#
|
|
98
|
-
"chart-4": "#
|
|
99
|
-
"chart-5": "#
|
|
100
|
-
"chart-6": "#
|
|
101
|
-
"chart-7": "#
|
|
102
|
-
"chart-8": "#
|
|
103
|
-
"chart-other": "#
|
|
104
|
-
"chart-comparison": "#
|
|
105
|
-
"chart-axis": "#
|
|
106
|
-
"chart-label": "#
|
|
107
|
-
"chart-grid": "#
|
|
108
|
-
"chart-zero": "#
|
|
99
|
+
"editor-tooltip-line": "#c9d4e6",
|
|
100
|
+
"chart-1": "#1f4fe0",
|
|
101
|
+
"chart-2": "#0891b2",
|
|
102
|
+
"chart-3": "#6646a8",
|
|
103
|
+
"chart-4": "#d1811f",
|
|
104
|
+
"chart-5": "#d53f6f",
|
|
105
|
+
"chart-6": "#0e3a6d",
|
|
106
|
+
"chart-7": "#648c85",
|
|
107
|
+
"chart-8": "#b14e46",
|
|
108
|
+
"chart-other": "#7a88a6",
|
|
109
|
+
"chart-comparison": "#3b4a6b",
|
|
110
|
+
"chart-axis": "#c9d4e6",
|
|
111
|
+
"chart-label": "#5b6785",
|
|
112
|
+
"chart-grid": "#dfe6f1",
|
|
113
|
+
"chart-zero": "#7a88a6",
|
|
109
114
|
"chart-good": "#2e7d32",
|
|
110
115
|
"chart-bad": "#c62828"
|
|
111
116
|
},
|
|
112
117
|
"dark": {
|
|
113
|
-
"bg-surface": "#
|
|
114
|
-
"bg-page": "#
|
|
115
|
-
"bg-plane": "#
|
|
116
|
-
"bg-chrome": "#
|
|
117
|
-
"bg-sunken": "#
|
|
118
|
-
"bg-hover": "rgba(
|
|
119
|
-
"bg-active": "rgba(
|
|
120
|
-
"bg-selected": "#
|
|
121
|
-
"bg-disabled": "#
|
|
122
|
-
"bg-highlight": "#
|
|
123
|
-
"bg-backdrop": "rgba(
|
|
124
|
-
"ink": "#
|
|
125
|
-
"ink-2": "#
|
|
126
|
-
"ink-muted": "#
|
|
127
|
-
"ink-disabled": "#
|
|
118
|
+
"bg-surface": "#0e1d45",
|
|
119
|
+
"bg-page": "#071233",
|
|
120
|
+
"bg-plane": "#050d26",
|
|
121
|
+
"bg-chrome": "#13244f",
|
|
122
|
+
"bg-sunken": "#152a5a",
|
|
123
|
+
"bg-hover": "rgba(232,238,252,0.06)",
|
|
124
|
+
"bg-active": "rgba(232,238,252,0.10)",
|
|
125
|
+
"bg-selected": "#172d64",
|
|
126
|
+
"bg-disabled": "#152a5a",
|
|
127
|
+
"bg-highlight": "#3b3416",
|
|
128
|
+
"bg-backdrop": "rgba(2,6,20,0.65)",
|
|
129
|
+
"ink": "#e8eefc",
|
|
130
|
+
"ink-2": "#b9c6e2",
|
|
131
|
+
"ink-muted": "#93a1c2",
|
|
132
|
+
"ink-disabled": "#6c7a9e",
|
|
128
133
|
"ink-on-accent": "#ffffff",
|
|
129
|
-
"ink-link": "#
|
|
130
|
-
"line": "#
|
|
131
|
-
"line-strong": "#
|
|
132
|
-
"line-control": "#
|
|
133
|
-
"
|
|
134
|
-
"accent
|
|
135
|
-
"accent-
|
|
136
|
-
"
|
|
137
|
-
"primary-bg
|
|
134
|
+
"ink-link": "#8db8ff",
|
|
135
|
+
"line": "#22356a",
|
|
136
|
+
"line-strong": "#30467f",
|
|
137
|
+
"line-control": "#6f81ad",
|
|
138
|
+
"line-button": "#475a8b",
|
|
139
|
+
"accent": "#8db8ff",
|
|
140
|
+
"accent-strong": "#c4d9ff",
|
|
141
|
+
"accent-wash": "#172d64",
|
|
142
|
+
"primary-bg": "#2d5be8",
|
|
143
|
+
"primary-bg-hover": "#1f4fe0",
|
|
138
144
|
"primary-ink": "#ffffff",
|
|
139
|
-
"ring": "#
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"
|
|
145
|
+
"ring": "#8db8ff",
|
|
146
|
+
"brand-start": "#2b7cf6",
|
|
147
|
+
"brand-end": "#14d4e0",
|
|
148
|
+
"brand-wash-start": "#13244f",
|
|
149
|
+
"brand-wash-end": "#0f3358",
|
|
150
|
+
"ring-halo": "#071233",
|
|
151
|
+
"neutral-ink": "#b9c6e2",
|
|
152
|
+
"neutral-wash": "#152a5a",
|
|
153
|
+
"neutral-edge": "#6f81ad",
|
|
154
|
+
"neutral-fill": "#b9c6e2",
|
|
155
|
+
"info-ink": "#8db8ff",
|
|
156
|
+
"info-wash": "#172d64",
|
|
157
|
+
"info-edge": "#8db8ff",
|
|
158
|
+
"info-fill": "#8db8ff",
|
|
149
159
|
"positive-ink": "#7fc98a",
|
|
150
|
-
"positive-wash": "#
|
|
160
|
+
"positive-wash": "#13382b",
|
|
151
161
|
"positive-edge": "#7fc98a",
|
|
152
162
|
"positive-fill": "#5fae6c",
|
|
153
163
|
"caution-ink": "#e0c34a",
|
|
154
|
-
"caution-wash": "#
|
|
164
|
+
"caution-wash": "#352f10",
|
|
155
165
|
"caution-edge": "#e0c34a",
|
|
156
166
|
"caution-fill": "#e0c34a",
|
|
157
|
-
"warning-ink": "#
|
|
158
|
-
"warning-wash": "#
|
|
167
|
+
"warning-ink": "#e8eefc",
|
|
168
|
+
"warning-wash": "#0e1d45",
|
|
159
169
|
"warning-edge": "#f26b1d",
|
|
160
170
|
"warning-fill": "#f26b1d",
|
|
161
171
|
"warning-icon": "#f26b1d",
|
|
162
172
|
"danger-ink": "#ff8a80",
|
|
163
|
-
"danger-wash": "#
|
|
173
|
+
"danger-wash": "#3d1a26",
|
|
164
174
|
"danger-edge": "#ff8a80",
|
|
165
175
|
"danger-fill": "#e5534b",
|
|
166
|
-
"gap-ink": "#
|
|
167
|
-
"gap-wash": "#
|
|
168
|
-
"gap-edge": "#
|
|
169
|
-
"gap-fill": "#
|
|
170
|
-
"gap-hatch-tint": "rgba(
|
|
176
|
+
"gap-ink": "#9399a4",
|
|
177
|
+
"gap-wash": "#232a38",
|
|
178
|
+
"gap-edge": "#4b5363",
|
|
179
|
+
"gap-fill": "#80868f",
|
|
180
|
+
"gap-hatch-tint": "rgba(147,153,164,0.14)",
|
|
171
181
|
"figure-good": "#7fc98a",
|
|
172
182
|
"figure-bad": "#ff8a80",
|
|
173
|
-
"figure-plain": "#
|
|
183
|
+
"figure-plain": "#e8eefc",
|
|
174
184
|
"mark-exact-ink": "#7fc98a",
|
|
175
|
-
"mark-exact-wash": "#
|
|
185
|
+
"mark-exact-wash": "#13382b",
|
|
176
186
|
"mark-exact-fill": "#5fae6c",
|
|
177
187
|
"mark-approx-ink": "#e0c34a",
|
|
178
|
-
"mark-approx-wash": "#
|
|
188
|
+
"mark-approx-wash": "#352f10",
|
|
179
189
|
"mark-approx-fill": "#e0c34a",
|
|
180
|
-
"mark-none-ink": "#
|
|
181
|
-
"mark-none-wash": "#
|
|
182
|
-
"mark-none-fill": "#
|
|
183
|
-
"type-organise": "#
|
|
190
|
+
"mark-none-ink": "#9399a4",
|
|
191
|
+
"mark-none-wash": "#232a38",
|
|
192
|
+
"mark-none-fill": "#80868f",
|
|
193
|
+
"type-organise": "#93a1c2",
|
|
184
194
|
"type-view": "#7fc98a",
|
|
185
195
|
"type-input": "#5cc2bb",
|
|
186
|
-
"type-model": "#
|
|
196
|
+
"type-model": "#b79bea",
|
|
187
197
|
"type-access": "#9fb3bd",
|
|
188
|
-
"computed-bg": "#
|
|
189
|
-
"computed-line": "#
|
|
190
|
-
"editor-gutter-bg": "#
|
|
191
|
-
"editor-gutter-ink": "#
|
|
192
|
-
"editor-gutter-line": "#
|
|
193
|
-
"editor-selection": "#
|
|
194
|
-
"editor-selection-blur": "rgba(
|
|
195
|
-
"editor-caret": "#
|
|
196
|
-
"editor-active-line": "rgba(
|
|
198
|
+
"computed-bg": "#152a5a",
|
|
199
|
+
"computed-line": "#6f81ad",
|
|
200
|
+
"editor-gutter-bg": "#152a5a",
|
|
201
|
+
"editor-gutter-ink": "#93a1c2",
|
|
202
|
+
"editor-gutter-line": "#22356a",
|
|
203
|
+
"editor-selection": "#172d64",
|
|
204
|
+
"editor-selection-blur": "rgba(232,238,252,0.10)",
|
|
205
|
+
"editor-caret": "#e8eefc",
|
|
206
|
+
"editor-active-line": "rgba(232,238,252,0.06)",
|
|
197
207
|
"editor-match": "rgba(92,194,187,0.22)",
|
|
198
|
-
"editor-mismatch": "#
|
|
208
|
+
"editor-mismatch": "#3d1a26",
|
|
199
209
|
"editor-lint-error": "#ff8a80",
|
|
200
210
|
"editor-lint-warning": "#f26b1d",
|
|
201
|
-
"editor-lint-refusal": "#
|
|
202
|
-
"editor-tooltip-bg": "#
|
|
203
|
-
"editor-tooltip-line": "#
|
|
204
|
-
"chart-1": "#
|
|
205
|
-
"chart-2": "#
|
|
206
|
-
"chart-3": "#
|
|
207
|
-
"chart-4": "#
|
|
208
|
-
"chart-5": "#
|
|
209
|
-
"chart-6": "#
|
|
210
|
-
"chart-7": "#
|
|
211
|
-
"chart-8": "#
|
|
212
|
-
"chart-other": "#
|
|
213
|
-
"chart-comparison": "#
|
|
214
|
-
"chart-axis": "#
|
|
215
|
-
"chart-label": "#
|
|
216
|
-
"chart-grid": "#
|
|
217
|
-
"chart-zero": "#
|
|
211
|
+
"editor-lint-refusal": "#9399a4",
|
|
212
|
+
"editor-tooltip-bg": "#0e1d45",
|
|
213
|
+
"editor-tooltip-line": "#30467f",
|
|
214
|
+
"chart-1": "#2b7cf6",
|
|
215
|
+
"chart-2": "#14d4e0",
|
|
216
|
+
"chart-3": "#b49df8",
|
|
217
|
+
"chart-4": "#ffba64",
|
|
218
|
+
"chart-5": "#d569a2",
|
|
219
|
+
"chart-6": "#6c6bb8",
|
|
220
|
+
"chart-7": "#90cead",
|
|
221
|
+
"chart-8": "#f06756",
|
|
222
|
+
"chart-other": "#6f81ad",
|
|
223
|
+
"chart-comparison": "#b9c6e2",
|
|
224
|
+
"chart-axis": "#30467f",
|
|
225
|
+
"chart-label": "#93a1c2",
|
|
226
|
+
"chart-grid": "#22356a",
|
|
227
|
+
"chart-zero": "#6f81ad",
|
|
218
228
|
"chart-good": "#7fc98a",
|
|
219
229
|
"chart-bad": "#ff8a80"
|
|
220
230
|
}
|
|
221
231
|
},
|
|
222
232
|
"shadow": {
|
|
223
233
|
"light": {
|
|
224
|
-
"1": "0 1px 2px rgba(
|
|
225
|
-
"2": "0 4px
|
|
226
|
-
"3": "0
|
|
234
|
+
"1": "0 1px 2px rgba(11,26,63,0.05), 0 8px 28px rgba(31,79,224,0.08)",
|
|
235
|
+
"2": "0 4px 20px rgba(11,26,63,0.12)",
|
|
236
|
+
"3": "0 24px 64px rgba(11,26,63,0.22)"
|
|
227
237
|
},
|
|
228
238
|
"dark": {
|
|
229
|
-
"1": "0 1px 2px rgba(
|
|
230
|
-
"2": "0 4px
|
|
231
|
-
"3": "0
|
|
239
|
+
"1": "0 1px 2px rgba(2,6,20,0.10), 0 8px 28px rgba(2,6,20,0.16)",
|
|
240
|
+
"2": "0 4px 20px rgba(2,6,20,0.24)",
|
|
241
|
+
"3": "0 24px 64px rgba(2,6,20,0.44)"
|
|
232
242
|
}
|
|
233
243
|
},
|
|
234
244
|
"grid": {
|
|
@@ -290,7 +300,7 @@
|
|
|
290
300
|
"syntax": {
|
|
291
301
|
"light": {
|
|
292
302
|
"keyword": "#790373",
|
|
293
|
-
"operator": "#
|
|
303
|
+
"operator": "#3b4a6b",
|
|
294
304
|
"function": "#1f5fa8",
|
|
295
305
|
"variableName": "#4c51bf",
|
|
296
306
|
"propertyName": "#0b6a66",
|
|
@@ -299,20 +309,20 @@
|
|
|
299
309
|
"number": "#a03a0e",
|
|
300
310
|
"bool": "#a03a0e",
|
|
301
311
|
"null": "#a03a0e",
|
|
302
|
-
"comment": "#
|
|
303
|
-
"punctuation": "#
|
|
304
|
-
"bracket": "#
|
|
305
|
-
"angleBracket": "#
|
|
312
|
+
"comment": "#5b6785",
|
|
313
|
+
"punctuation": "#5b6785",
|
|
314
|
+
"bracket": "#5b6785",
|
|
315
|
+
"angleBracket": "#5b6785",
|
|
306
316
|
"tagName": "#790373",
|
|
307
317
|
"attributeName": "#1f5fa8",
|
|
308
318
|
"attributeValue": "#2e6b2f",
|
|
309
|
-
"content": "#
|
|
310
|
-
"meta": "#
|
|
319
|
+
"content": "#0b1a3f",
|
|
320
|
+
"meta": "#5b6785",
|
|
311
321
|
"invalid": "#c62828"
|
|
312
322
|
},
|
|
313
323
|
"dark": {
|
|
314
324
|
"keyword": "#e3a3de",
|
|
315
|
-
"operator": "#
|
|
325
|
+
"operator": "#b9c6e2",
|
|
316
326
|
"function": "#8ab8f0",
|
|
317
327
|
"variableName": "#a6a9ec",
|
|
318
328
|
"propertyName": "#6ccac3",
|
|
@@ -321,15 +331,15 @@
|
|
|
321
331
|
"number": "#f5a57a",
|
|
322
332
|
"bool": "#f5a57a",
|
|
323
333
|
"null": "#f5a57a",
|
|
324
|
-
"comment": "#
|
|
325
|
-
"punctuation": "#
|
|
326
|
-
"bracket": "#
|
|
327
|
-
"angleBracket": "#
|
|
334
|
+
"comment": "#93a1c2",
|
|
335
|
+
"punctuation": "#93a1c2",
|
|
336
|
+
"bracket": "#93a1c2",
|
|
337
|
+
"angleBracket": "#93a1c2",
|
|
328
338
|
"tagName": "#e3a3de",
|
|
329
339
|
"attributeName": "#8ab8f0",
|
|
330
340
|
"attributeValue": "#8fd197",
|
|
331
|
-
"content": "#
|
|
332
|
-
"meta": "#
|
|
341
|
+
"content": "#e8eefc",
|
|
342
|
+
"meta": "#93a1c2",
|
|
333
343
|
"invalid": "#ff8a80"
|
|
334
344
|
}
|
|
335
345
|
},
|
|
@@ -367,6 +377,7 @@
|
|
|
367
377
|
},
|
|
368
378
|
"font": {
|
|
369
379
|
"sans": "\"Inter\", system-ui, -apple-system, \"Segoe UI\", Roboto, sans-serif",
|
|
380
|
+
"display": "\"Plus Jakarta Sans\", \"Inter\", system-ui, -apple-system, \"Segoe UI\", Roboto, sans-serif",
|
|
370
381
|
"figures": "\"Inter Tabular\", \"Inter\", system-ui, sans-serif",
|
|
371
382
|
"mono": "ui-monospace, \"SF Mono\", Menlo, Consolas, monospace"
|
|
372
383
|
},
|
|
@@ -429,7 +440,8 @@
|
|
|
429
440
|
"tracking": {
|
|
430
441
|
"tight": "-0.01em",
|
|
431
442
|
"tighter": "-0.02em",
|
|
432
|
-
"caps": "0.06em"
|
|
443
|
+
"caps": "0.06em",
|
|
444
|
+
"caps-wide": "0.18em"
|
|
433
445
|
},
|
|
434
446
|
"space": {
|
|
435
447
|
"0": 0,
|
|
@@ -446,9 +458,10 @@
|
|
|
446
458
|
"0_5": 2
|
|
447
459
|
},
|
|
448
460
|
"radius": {
|
|
449
|
-
"sm":
|
|
450
|
-
"md":
|
|
451
|
-
"lg":
|
|
461
|
+
"sm": 6,
|
|
462
|
+
"md": 10,
|
|
463
|
+
"lg": 16,
|
|
464
|
+
"xl": 20,
|
|
452
465
|
"pill": 999
|
|
453
466
|
},
|
|
454
467
|
"size": {
|
|
@@ -505,6 +518,10 @@
|
|
|
505
518
|
"gap-hatch": "repeating-linear-gradient(135deg, var(--fs-gap-hatch-tint) 0 6px, transparent 6px 14px)",
|
|
506
519
|
"gap-hatch-sm": "repeating-linear-gradient(135deg, var(--fs-gap-hatch-tint) 0 5px, transparent 5px 11px)"
|
|
507
520
|
},
|
|
521
|
+
"gradient": {
|
|
522
|
+
"gradient-brand": "linear-gradient(135deg, var(--fs-brand-start), var(--fs-brand-end))",
|
|
523
|
+
"gradient-brand-soft": "linear-gradient(135deg, var(--fs-brand-wash-start), var(--fs-brand-wash-end))"
|
|
524
|
+
},
|
|
508
525
|
"chart": {
|
|
509
526
|
"chart-area-alpha": 0.18
|
|
510
527
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@finstack-com-public/design",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.5.0",
|
|
4
|
+
"description": "Design kit: tokens, icons, components and a chart theme, shared by Grizzbi, BI App and the calculation engine.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Finstack",
|
|
7
7
|
"repository": {
|
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
"./fonts.css": "./dist/fonts.css",
|
|
47
47
|
"./fonts-print.css": "./dist/fonts-print.css",
|
|
48
48
|
"./fonts/*": "./dist/fonts/*",
|
|
49
|
-
"./logo/*": "./dist/logo/*",
|
|
50
49
|
"./icons": {
|
|
51
50
|
"types": "./dist/icons/index.d.ts",
|
|
52
51
|
"default": "./dist/icons/index.js"
|
|
@@ -99,8 +98,7 @@
|
|
|
99
98
|
"test:visual:update": "sh scripts/visual-docker.sh update",
|
|
100
99
|
"gallery": "vite --config gallery/vite.config.ts",
|
|
101
100
|
"gallery:build": "tsc -p gallery/tsconfig.json && vite build --config gallery/vite.config.ts",
|
|
102
|
-
"icons:sync": "node scripts/sync-icons.ts"
|
|
103
|
-
"logo": "node scripts/make-logo.ts"
|
|
101
|
+
"icons:sync": "node scripts/sync-icons.ts"
|
|
104
102
|
},
|
|
105
103
|
"peerDependencies": {
|
|
106
104
|
"react": ">=18"
|
|
@@ -117,6 +115,7 @@
|
|
|
117
115
|
"@codemirror/view": "6.43.15",
|
|
118
116
|
"@eslint/js": "10.0.1",
|
|
119
117
|
"@fontsource-variable/inter": "5.3.0",
|
|
118
|
+
"@fontsource-variable/plus-jakarta-sans": "5.3.0",
|
|
120
119
|
"@playwright/test": "1.64.1",
|
|
121
120
|
"@testing-library/dom": "10.4.2",
|
|
122
121
|
"@testing-library/react": "16.3.3",
|
|
Binary file
|
package/dist/logo/favicon-32.png
DELETED
|
Binary file
|
package/dist/logo/favicon.ico
DELETED
|
Binary file
|
package/dist/logo/favicon.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="-13 0 1000 1000"><defs><linearGradient id="fs-favicon-o" gradientUnits="userSpaceOnUse" x1="245.1" y1="725.4" x2="792.4" y2="73.1"><stop offset="0" stop-color="#901510"/><stop offset="1" stop-color="#ff9410"/></linearGradient><linearGradient id="fs-favicon-p" gradientUnits="userSpaceOnUse" x1="226.7" y1="1003.5" x2="651.6" y2="497.2"><stop offset="0" stop-color="#2d0236"/><stop offset="1" stop-color="#830481"/></linearGradient></defs><path fill="url(#fs-favicon-p)" d="M0.1 1000 300.3 509 872.9 509 699.1 731.8Z"/><path fill="url(#fs-favicon-o)" d="M120.9 802.7 282.7 538.3 61.2 539.2 243.9 277.6 973 0.8 682.4 468.3 519.6 468.3 409.8 635.9 577.5 576.6 538 651.6Z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 974 1000" role="img" aria-label="FinStack"><title>FinStack</title><defs><linearGradient id="fs-logo-dark-o" gradientUnits="userSpaceOnUse" x1="245.1" y1="725.4" x2="792.4" y2="73.1"><stop offset="0" stop-color="#901510"/><stop offset="1" stop-color="#ff9410"/></linearGradient><linearGradient id="fs-logo-dark-p" gradientUnits="userSpaceOnUse" x1="226.7" y1="1003.5" x2="651.6" y2="497.2"><stop offset="0" stop-color="#2d0236"/><stop offset="1" stop-color="#830481"/></linearGradient><clipPath id="fs-logo-dark-u"><path d="M423.9 346.9 L718.5 241.3 C721.1 240.3 723.8 241.1 724.4 243 C725.1 244.8 723.6 247.1 721 248 L426.3 353.6 C423.7 354.6 421 353.8 420.4 351.9 C419.7 350.1 421.3 347.8 423.9 346.9Z"/></clipPath><clipPath id="fs-logo-dark-d"><path d="M237.9 754.9 L532.5 649.3 C535.1 648.3 537.8 649.1 538.4 651 C539.1 652.8 537.6 655.1 535 656 L240.3 761.6 C237.7 762.6 235 761.8 234.4 759.9 C233.7 758.1 235.3 755.8 237.9 754.9Z"/></clipPath></defs><path fill="url(#fs-logo-dark-p)" d="M0.1 1000 300.3 509 872.9 509 699.1 731.8Z"/><path fill="url(#fs-logo-dark-o)" d="M120.9 802.7 282.7 538.3 61.2 539.2 243.9 277.6 973 0.8 682.4 468.3 519.6 468.3 409.8 635.9 577.5 576.6 538 651.6Z"/><g fill="#ffffff" stroke="#f06eaa" stroke-width="2"><path clip-path="url(#fs-logo-dark-u)" d="M423.9 346.9 L718.5 241.3 C721.1 240.3 723.8 241.1 724.4 243 C725.1 244.8 723.6 247.1 721 248 L426.3 353.6 C423.7 354.6 421 353.8 420.4 351.9 C419.7 350.1 421.3 347.8 423.9 346.9Z"/><path clip-path="url(#fs-logo-dark-d)" d="M237.9 754.9 L532.5 649.3 C535.1 648.3 537.8 649.1 538.4 651 C539.1 652.8 537.6 655.1 535 656 L240.3 761.6 C237.7 762.6 235 761.8 234.4 759.9 C233.7 758.1 235.3 755.8 237.9 754.9Z"/></g></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 974 1000" role="img" aria-label="FinStack"><title>FinStack</title><defs><linearGradient id="fs-logo-light-o" gradientUnits="userSpaceOnUse" x1="245.1" y1="725.4" x2="792.4" y2="73.1"><stop offset="0" stop-color="#901510"/><stop offset="1" stop-color="#ff9410"/></linearGradient><linearGradient id="fs-logo-light-p" gradientUnits="userSpaceOnUse" x1="226.7" y1="1003.5" x2="651.6" y2="497.2"><stop offset="0" stop-color="#2d0236"/><stop offset="1" stop-color="#830481"/></linearGradient><clipPath id="fs-logo-light-u"><path d="M423.9 346.9 L718.5 241.3 C721.1 240.3 723.8 241.1 724.4 243 C725.1 244.8 723.6 247.1 721 248 L426.3 353.6 C423.7 354.6 421 353.8 420.4 351.9 C419.7 350.1 421.3 347.8 423.9 346.9Z"/></clipPath><clipPath id="fs-logo-light-d"><path d="M237.9 754.9 L532.5 649.3 C535.1 648.3 537.8 649.1 538.4 651 C539.1 652.8 537.6 655.1 535 656 L240.3 761.6 C237.7 762.6 235 761.8 234.4 759.9 C233.7 758.1 235.3 755.8 237.9 754.9Z"/></clipPath></defs><path fill="url(#fs-logo-light-p)" d="M0.1 1000 300.3 509 872.9 509 699.1 731.8Z"/><path fill="url(#fs-logo-light-o)" d="M120.9 802.7 282.7 538.3 61.2 539.2 243.9 277.6 973 0.8 682.4 468.3 519.6 468.3 409.8 635.9 577.5 576.6 538 651.6Z"/><g fill="#ffffff" stroke="#f06eaa" stroke-width="2"><path clip-path="url(#fs-logo-light-u)" d="M423.9 346.9 L718.5 241.3 C721.1 240.3 723.8 241.1 724.4 243 C725.1 244.8 723.6 247.1 721 248 L426.3 353.6 C423.7 354.6 421 353.8 420.4 351.9 C419.7 350.1 421.3 347.8 423.9 346.9Z"/><path clip-path="url(#fs-logo-light-d)" d="M237.9 754.9 L532.5 649.3 C535.1 648.3 537.8 649.1 538.4 651 C539.1 652.8 537.6 655.1 535 656 L240.3 761.6 C237.7 762.6 235 761.8 234.4 759.9 C233.7 758.1 235.3 755.8 237.9 754.9Z"/></g></svg>
|
package/dist/logo/logo.md
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
# The FinStack logo and favicon — `logo/*`
|
|
2
|
-
|
|
3
|
-
Kit T31, spec 08 P3. Files: `@finstack-com-public/design/logo/<file>` (in the package, `dist/logo/`).
|
|
4
|
-
Generated by `npm run logo` from `scripts/lib/logo.ts`; don't edit them by hand.
|
|
5
|
-
|
|
6
|
-
**The mark is FinStack's trademark.** The files ship in this package so FinStack's own products
|
|
7
|
-
(Grizzbi, BI App, the calculation engine) can use them, but they are **not** covered by the MIT
|
|
8
|
-
licence: see `TRADEMARKS.md`. (A draft, not legal advice.)
|
|
9
|
-
|
|
10
|
-
| File | What | Use |
|
|
11
|
-
|---|---|---|
|
|
12
|
-
| `finstack-logo.svg` | The full mark, with the two highlight lines, for light grounds | Site header, "by FinStack" on a light ground |
|
|
13
|
-
| `finstack-logo-dark.svg` | The same artwork and colours as the light file (a logotype is exempt from WCAG 1.4.11's 3:1); kept as its own file so the paths hold | Dark scheme, and the app bar (always dark) |
|
|
14
|
-
| `favicon.svg` | The two pieces without the lines, square; the same in every browser scheme | The browser tab |
|
|
15
|
-
| `favicon-32.png` | The favicon at 32 px | Browsers without SVG favicons |
|
|
16
|
-
| `apple-touch-icon.png` | 180 px, the pieces on white with a margin | iOS home screen |
|
|
17
|
-
| `favicon.ico` | 16 and 32 px (PNG inside) | `/favicon.ico`, which some tools fetch without a `<link>` |
|
|
18
|
-
|
|
19
|
-
The mark's box is 974 × 1000 (almost square). Give it a height and let the width follow.
|
|
20
|
-
|
|
21
|
-
## Site header
|
|
22
|
-
|
|
23
|
-
The header's `__logo` slot is 28 px high. Pick the file for the page's scheme:
|
|
24
|
-
|
|
25
|
-
```html
|
|
26
|
-
<header class="fs-site-header">
|
|
27
|
-
<img class="fs-site-header__logo" src="/assets/finstack-logo.svg" alt="FinStack">
|
|
28
|
-
<a class="fs-site-header__wordmark" href="/">Számolga</a>
|
|
29
|
-
</header>
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
A page in `fs-auto` follows the OS, so let the browser pick:
|
|
33
|
-
|
|
34
|
-
```html
|
|
35
|
-
<picture>
|
|
36
|
-
<source srcset="/assets/finstack-logo-dark.svg" media="(prefers-color-scheme: dark)">
|
|
37
|
-
<img class="fs-site-header__logo" src="/assets/finstack-logo.svg" alt="FinStack">
|
|
38
|
-
</picture>
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
A page in a fixed `fs-light` or `fs-dark` uses that scheme's file (a `<picture>` would follow the
|
|
42
|
-
OS instead of the page). React: `<SiteHeader logo={<img className="fs-site-header__logo" … />}>`.
|
|
43
|
-
|
|
44
|
-
## App bar
|
|
45
|
-
|
|
46
|
-
The app bar is a dark island in every scheme, so it takes `finstack-logo-dark.svg`. Its
|
|
47
|
-
`__identity` slot belongs to the product (D7); the FinStack mark goes there only as the
|
|
48
|
-
product's choice, for example Grizzbi's "by FinStack". See `css/appbar.md`.
|
|
49
|
-
|
|
50
|
-
## Favicon
|
|
51
|
-
|
|
52
|
-
Copy the files to the site's root (or any path) and link them:
|
|
53
|
-
|
|
54
|
-
```html
|
|
55
|
-
<link rel="icon" href="/favicon.ico" sizes="32x32">
|
|
56
|
-
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
|
|
57
|
-
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
`favicon-32.png` is for a page that wants a PNG instead of the `.ico`
|
|
61
|
-
(`<link rel="icon" href="/favicon-32.png" type="image/png" sizes="32x32">`).
|