@fkui/theme-desktop 6.23.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/LICENSE.md +7 -0
- package/README.md +4 -0
- package/dist/metadata.d.mts +14 -0
- package/dist/metadata.mjs +376 -0
- package/dist/palette.json +363 -0
- package/dist/palette.json.d.ts +15 -0
- package/dist/theme-auto.css +520 -0
- package/dist/theme-auto.js +1 -0
- package/dist/theme-dark.css +252 -0
- package/dist/theme-dark.js +1 -0
- package/dist/theme-light.css +252 -0
- package/dist/theme-light.js +1 -0
- package/package.json +59 -0
- package/src/_default.scss +31 -0
- package/src/_version.scss +2 -0
- package/src/auto/_theme.scss +14 -0
- package/src/dark/_theme.scss +10 -0
- package/src/dark/_variables.scss +5 -0
- package/src/light/_theme.scss +10 -0
- package/src/light/_variables.scss +5 -0
- package/src/palette-variables.scss +75 -0
- package/src/shared/_index.scss +11 -0
- package/src/theme-auto.scss +9 -0
- package/src/theme-dark.scss +9 -0
- package/src/theme-light.scss +9 -0
- package/type-stub.d.ts +1 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Copyright 2025 Försäkringskassan
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
+
|
|
5
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
|
|
2
|
+
export interface Token {
|
|
3
|
+
readonly name: string;
|
|
4
|
+
readonly value: string;
|
|
5
|
+
readonly palette: string | null;
|
|
6
|
+
readonly comment: string | null;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export interface Metadata {
|
|
10
|
+
readonly tokens: Token[];
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
declare const metadata: Metadata;
|
|
14
|
+
export default metadata;
|
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"tokens": [
|
|
3
|
+
{
|
|
4
|
+
"name": "--fkds-color-text-primary",
|
|
5
|
+
"value": "#1b1e23",
|
|
6
|
+
"palette": "fk-black-100",
|
|
7
|
+
"comment": null
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
"name": "--fkds-color-text-secondary",
|
|
11
|
+
"value": "#5f6165",
|
|
12
|
+
"palette": "fk-black-70",
|
|
13
|
+
"comment": null
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "--fkds-color-text-inverted",
|
|
17
|
+
"value": "#fff",
|
|
18
|
+
"palette": null,
|
|
19
|
+
"comment": null
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"name": "--fkds-color-text-disabled",
|
|
23
|
+
"value": "#8d8e91",
|
|
24
|
+
"palette": "fk-black-50",
|
|
25
|
+
"comment": null
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "--fkds-color-background-primary",
|
|
29
|
+
"value": "#fff",
|
|
30
|
+
"palette": null,
|
|
31
|
+
"comment": null
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "--fkds-color-background-secondary",
|
|
35
|
+
"value": "#f4f4f4",
|
|
36
|
+
"palette": "fk-black-5",
|
|
37
|
+
"comment": null
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "--fkds-color-background-tertiary",
|
|
41
|
+
"value": "#ddddde",
|
|
42
|
+
"palette": "fk-black-15",
|
|
43
|
+
"comment": null
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "--fkds-color-background-disabled",
|
|
47
|
+
"value": "#f4f4f4",
|
|
48
|
+
"palette": "fk-black-5",
|
|
49
|
+
"comment": null
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "--fkds-color-border-primary",
|
|
53
|
+
"value": "#8d8e91",
|
|
54
|
+
"palette": "fk-black-50",
|
|
55
|
+
"comment": null
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "--fkds-color-border-strong",
|
|
59
|
+
"value": "#5f6165",
|
|
60
|
+
"palette": "fk-black-70",
|
|
61
|
+
"comment": null
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "--fkds-color-border-weak",
|
|
65
|
+
"value": "#ddddde",
|
|
66
|
+
"palette": "fk-black-15",
|
|
67
|
+
"comment": null
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "--fkds-color-border-disabled",
|
|
71
|
+
"value": "#8d8e91",
|
|
72
|
+
"palette": "fk-black-50",
|
|
73
|
+
"comment": null
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "--fkds-color-border-inverted",
|
|
77
|
+
"value": "#fff",
|
|
78
|
+
"palette": null,
|
|
79
|
+
"comment": null
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "--fkds-color-action-text-primary-default",
|
|
83
|
+
"value": "#4a52b6",
|
|
84
|
+
"palette": "bluebell-100",
|
|
85
|
+
"comment": null
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "--fkds-color-action-text-primary-hover",
|
|
89
|
+
"value": "#3b4292",
|
|
90
|
+
"palette": "bluebell-120",
|
|
91
|
+
"comment": null
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"name": "--fkds-color-action-text-primary-active",
|
|
95
|
+
"value": "#3b4292",
|
|
96
|
+
"palette": "bluebell-120",
|
|
97
|
+
"comment": null
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "--fkds-color-action-text-primary-focus",
|
|
101
|
+
"value": "#3b4292",
|
|
102
|
+
"palette": "bluebell-120",
|
|
103
|
+
"comment": null
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "--fkds-color-action-text-secondary-default",
|
|
107
|
+
"value": "#1b1e23",
|
|
108
|
+
"palette": "fk-black-100",
|
|
109
|
+
"comment": null
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "--fkds-color-action-text-secondary-hover",
|
|
113
|
+
"value": "#3b4292",
|
|
114
|
+
"palette": "bluebell-120",
|
|
115
|
+
"comment": null
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "--fkds-color-action-text-secondary-active",
|
|
119
|
+
"value": "#3b4292",
|
|
120
|
+
"palette": "bluebell-120",
|
|
121
|
+
"comment": null
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "--fkds-color-action-text-secondary-focus",
|
|
125
|
+
"value": "#3b4292",
|
|
126
|
+
"palette": "bluebell-120",
|
|
127
|
+
"comment": null
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "--fkds-color-action-text-inverted-default",
|
|
131
|
+
"value": "#fff",
|
|
132
|
+
"palette": null,
|
|
133
|
+
"comment": null
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "--fkds-color-action-text-inverted-hover",
|
|
137
|
+
"value": "#fff",
|
|
138
|
+
"palette": null,
|
|
139
|
+
"comment": null
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "--fkds-color-action-text-inverted-active",
|
|
143
|
+
"value": "#fff",
|
|
144
|
+
"palette": null,
|
|
145
|
+
"comment": null
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "--fkds-color-action-text-inverted-focus",
|
|
149
|
+
"value": "#fff",
|
|
150
|
+
"palette": null,
|
|
151
|
+
"comment": null
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "--fkds-color-action-background-primary-default",
|
|
155
|
+
"value": "#4a52b6",
|
|
156
|
+
"palette": "bluebell-100",
|
|
157
|
+
"comment": null
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "--fkds-color-action-background-primary-hover",
|
|
161
|
+
"value": "#3b4292",
|
|
162
|
+
"palette": "bluebell-120",
|
|
163
|
+
"comment": null
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"name": "--fkds-color-action-background-primary-active",
|
|
167
|
+
"value": "#3b4292",
|
|
168
|
+
"palette": "bluebell-120",
|
|
169
|
+
"comment": null
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "--fkds-color-action-background-primary-focus",
|
|
173
|
+
"value": "#3b4292",
|
|
174
|
+
"palette": "bluebell-120",
|
|
175
|
+
"comment": null
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "--fkds-color-action-background-secondary-default",
|
|
179
|
+
"value": "#f5f6fa",
|
|
180
|
+
"palette": "bluebell-5",
|
|
181
|
+
"comment": null
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "--fkds-color-action-background-secondary-hover",
|
|
185
|
+
"value": "#e5e5f5",
|
|
186
|
+
"palette": "bluebell-15",
|
|
187
|
+
"comment": null
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"name": "--fkds-color-action-background-secondary-active",
|
|
191
|
+
"value": "#e5e5f5",
|
|
192
|
+
"palette": "bluebell-15",
|
|
193
|
+
"comment": null
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "--fkds-color-action-background-secondary-focus",
|
|
197
|
+
"value": "#e5e5f5",
|
|
198
|
+
"palette": "bluebell-15",
|
|
199
|
+
"comment": null
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "--fkds-color-action-border-primary-default",
|
|
203
|
+
"value": "#4a52b6",
|
|
204
|
+
"palette": "bluebell-100",
|
|
205
|
+
"comment": null
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"name": "--fkds-color-action-border-primary-hover",
|
|
209
|
+
"value": "#3b4292",
|
|
210
|
+
"palette": "bluebell-120",
|
|
211
|
+
"comment": null
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "--fkds-color-action-border-primary-active",
|
|
215
|
+
"value": "#3b4292",
|
|
216
|
+
"palette": "bluebell-120",
|
|
217
|
+
"comment": null
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"name": "--fkds-color-action-border-primary-focus",
|
|
221
|
+
"value": "#3b4292",
|
|
222
|
+
"palette": "bluebell-120",
|
|
223
|
+
"comment": null
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"name": "--fkds-color-feedback-background-neutral",
|
|
227
|
+
"value": "#f4f4f4",
|
|
228
|
+
"palette": "fk-black-5",
|
|
229
|
+
"comment": null
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"name": "--fkds-color-feedback-background-neutral-strong",
|
|
233
|
+
"value": "#ddddde",
|
|
234
|
+
"palette": "fk-black-15",
|
|
235
|
+
"comment": null
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"name": "--fkds-color-feedback-background-info",
|
|
239
|
+
"value": "#f5f6fa",
|
|
240
|
+
"palette": "bluebell-5",
|
|
241
|
+
"comment": null
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"name": "--fkds-color-feedback-background-info-strong",
|
|
245
|
+
"value": "#4a52b6",
|
|
246
|
+
"palette": "bluebell-100",
|
|
247
|
+
"comment": null
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "--fkds-color-feedback-background-positive",
|
|
251
|
+
"value": "#f3f8f5",
|
|
252
|
+
"palette": "green-a-5",
|
|
253
|
+
"comment": null
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"name": "--fkds-color-feedback-background-positive-strong",
|
|
257
|
+
"value": "#35805b",
|
|
258
|
+
"palette": "green-a-85",
|
|
259
|
+
"comment": null
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"name": "--fkds-color-feedback-background-warning",
|
|
263
|
+
"value": "#fffcf3",
|
|
264
|
+
"palette": "yellow-5",
|
|
265
|
+
"comment": null
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "--fkds-color-feedback-background-warning-strong",
|
|
269
|
+
"value": "#ffbe10",
|
|
270
|
+
"palette": "yellow-100",
|
|
271
|
+
"comment": null
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"name": "--fkds-color-feedback-background-negative",
|
|
275
|
+
"value": "#fcf3f3",
|
|
276
|
+
"palette": "red-5",
|
|
277
|
+
"comment": null
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"name": "--fkds-color-feedback-background-negative-strong",
|
|
281
|
+
"value": "#ca1515",
|
|
282
|
+
"palette": "red-100",
|
|
283
|
+
"comment": null
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"name": "--fkds-color-feedback-border-neutral",
|
|
287
|
+
"value": "#8d8e91",
|
|
288
|
+
"palette": "fk-black-50",
|
|
289
|
+
"comment": null
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "--fkds-color-feedback-border-info",
|
|
293
|
+
"value": "#4a52b6",
|
|
294
|
+
"palette": "bluebell-100",
|
|
295
|
+
"comment": null
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"name": "--fkds-color-feedback-border-positive",
|
|
299
|
+
"value": "#35805b",
|
|
300
|
+
"palette": "green-a-85",
|
|
301
|
+
"comment": null
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"name": "--fkds-color-feedback-border-warning",
|
|
305
|
+
"value": "#ffbe10",
|
|
306
|
+
"palette": "yellow-100",
|
|
307
|
+
"comment": null
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"name": "--fkds-color-feedback-border-negative",
|
|
311
|
+
"value": "#ca1515",
|
|
312
|
+
"palette": "red-100",
|
|
313
|
+
"comment": null
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"name": "--fkds-color-feedback-text-negative",
|
|
317
|
+
"value": "#ca1515",
|
|
318
|
+
"palette": "red-100",
|
|
319
|
+
"comment": null
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"name": "--fkds-color-feedback-text-positive",
|
|
323
|
+
"value": "#35805b",
|
|
324
|
+
"palette": "green-a-85",
|
|
325
|
+
"comment": null
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"name": "--fkds-color-select-background-primary-default",
|
|
329
|
+
"value": "#4a52b6",
|
|
330
|
+
"palette": "bluebell-100",
|
|
331
|
+
"comment": null
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"name": "--fkds-color-select-background-primary-hover",
|
|
335
|
+
"value": "#e5e5f5",
|
|
336
|
+
"palette": "bluebell-15",
|
|
337
|
+
"comment": null
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"name": "--fkds-color-select-background-primary-active",
|
|
341
|
+
"value": "#e5e5f5",
|
|
342
|
+
"palette": "bluebell-15",
|
|
343
|
+
"comment": null
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"name": "--fkds-color-select-background-primary-focus",
|
|
347
|
+
"value": "#e5e5f5",
|
|
348
|
+
"palette": "bluebell-15",
|
|
349
|
+
"comment": null
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"name": "--fkds-color-select-background-secondary-default",
|
|
353
|
+
"value": "#35805b",
|
|
354
|
+
"palette": "green-a-85",
|
|
355
|
+
"comment": null
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"name": "--fkds-color-select-background-secondary-hover",
|
|
359
|
+
"value": "#dbe9e2",
|
|
360
|
+
"palette": "green-a-15",
|
|
361
|
+
"comment": null
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
"name": "--fkds-color-select-background-secondary-active",
|
|
365
|
+
"value": "#dbe9e2",
|
|
366
|
+
"palette": "green-a-15",
|
|
367
|
+
"comment": null
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
"name": "--fkds-color-select-background-secondary-focus",
|
|
371
|
+
"value": "#dbe9e2",
|
|
372
|
+
"palette": "green-a-15",
|
|
373
|
+
"comment": null
|
|
374
|
+
}
|
|
375
|
+
]
|
|
376
|
+
}
|