@helvetia-design/styles 0.1.0 → 0.2.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/dist/css/design-system.css +1890 -950
- package/dist/css/design-system.local.css +1919 -950
- package/dist/css/design-system.local.min.css +3 -3
- package/dist/css/design-system.min.css +3 -3
- package/dist/css/utilities.css +99 -1
- package/dist/css/utilities.min.css +2 -2
- package/dist/docs/design-system.json +206 -2
- package/dist/scss/structure.scss +8 -0
- package/package.json +9 -13
- package/sbom.cdx.json +14894 -16749
|
@@ -4768,12 +4768,30 @@
|
|
|
4768
4768
|
"token": "ds-alias-surface-selected",
|
|
4769
4769
|
"value": "#cccfe2"
|
|
4770
4770
|
},
|
|
4771
|
+
{
|
|
4772
|
+
"class": "bg-primary-subtle",
|
|
4773
|
+
"property": "background-color",
|
|
4774
|
+
"token": "ds-alias-surface-primary-subtle",
|
|
4775
|
+
"value": "#cccfe2"
|
|
4776
|
+
},
|
|
4771
4777
|
{
|
|
4772
4778
|
"class": "bg-hover",
|
|
4773
4779
|
"property": "background-color",
|
|
4774
4780
|
"token": "ds-alias-surface-hover",
|
|
4775
4781
|
"value": "#fafafa"
|
|
4776
4782
|
},
|
|
4783
|
+
{
|
|
4784
|
+
"class": "bg-inverted-hover",
|
|
4785
|
+
"property": "background-color",
|
|
4786
|
+
"token": "ds-alias-surface-inverted-hover",
|
|
4787
|
+
"value": "rgba(255, 255, 255, 0.12)"
|
|
4788
|
+
},
|
|
4789
|
+
{
|
|
4790
|
+
"class": "bg-inverted-active",
|
|
4791
|
+
"property": "background-color",
|
|
4792
|
+
"token": "ds-alias-surface-inverted-active",
|
|
4793
|
+
"value": "rgba(255, 255, 255, 0.24)"
|
|
4794
|
+
},
|
|
4777
4795
|
{
|
|
4778
4796
|
"class": "bg-neutral",
|
|
4779
4797
|
"property": "background-color",
|
|
@@ -5241,6 +5259,30 @@
|
|
|
5241
5259
|
"property": "background-color",
|
|
5242
5260
|
"token": "ds-global-color-black",
|
|
5243
5261
|
"value": "#000000"
|
|
5262
|
+
},
|
|
5263
|
+
{
|
|
5264
|
+
"class": "bg-white-alpha-12",
|
|
5265
|
+
"property": "background-color",
|
|
5266
|
+
"token": "ds-global-color-white-alpha-12",
|
|
5267
|
+
"value": "rgba(255, 255, 255, 0.12)"
|
|
5268
|
+
},
|
|
5269
|
+
{
|
|
5270
|
+
"class": "bg-white-alpha-24",
|
|
5271
|
+
"property": "background-color",
|
|
5272
|
+
"token": "ds-global-color-white-alpha-24",
|
|
5273
|
+
"value": "rgba(255, 255, 255, 0.24)"
|
|
5274
|
+
},
|
|
5275
|
+
{
|
|
5276
|
+
"class": "bg-white-alpha-30",
|
|
5277
|
+
"property": "background-color",
|
|
5278
|
+
"token": "ds-global-color-white-alpha-30",
|
|
5279
|
+
"value": "rgba(255, 255, 255, 0.3)"
|
|
5280
|
+
},
|
|
5281
|
+
{
|
|
5282
|
+
"class": "bg-white-alpha-50",
|
|
5283
|
+
"property": "background-color",
|
|
5284
|
+
"token": "ds-global-color-white-alpha-50",
|
|
5285
|
+
"value": "rgba(255, 255, 255, 0.5)"
|
|
5244
5286
|
}
|
|
5245
5287
|
],
|
|
5246
5288
|
"border": [
|
|
@@ -5292,6 +5334,54 @@
|
|
|
5292
5334
|
"token": "ds-alias-radius-none",
|
|
5293
5335
|
"value": "0rem"
|
|
5294
5336
|
},
|
|
5337
|
+
{
|
|
5338
|
+
"class": "radius-xs",
|
|
5339
|
+
"property": "border-radius",
|
|
5340
|
+
"token": "ds-alias-radius-xs",
|
|
5341
|
+
"value": "0.125rem"
|
|
5342
|
+
},
|
|
5343
|
+
{
|
|
5344
|
+
"class": "radius-top-xs",
|
|
5345
|
+
"property": [
|
|
5346
|
+
"border-top-left-radius",
|
|
5347
|
+
"border-top-right-radius"
|
|
5348
|
+
],
|
|
5349
|
+
"token": "ds-alias-radius-xs",
|
|
5350
|
+
"value": "0.125rem"
|
|
5351
|
+
},
|
|
5352
|
+
{
|
|
5353
|
+
"class": "radius-bottom-xs",
|
|
5354
|
+
"property": [
|
|
5355
|
+
"border-bottom-left-radius",
|
|
5356
|
+
"border-bottom-right-radius"
|
|
5357
|
+
],
|
|
5358
|
+
"token": "ds-alias-radius-xs",
|
|
5359
|
+
"value": "0.125rem"
|
|
5360
|
+
},
|
|
5361
|
+
{
|
|
5362
|
+
"class": "radius-top-left-xs",
|
|
5363
|
+
"property": "border-top-left-radius",
|
|
5364
|
+
"token": "ds-alias-radius-xs",
|
|
5365
|
+
"value": "0.125rem"
|
|
5366
|
+
},
|
|
5367
|
+
{
|
|
5368
|
+
"class": "radius-top-right-xs",
|
|
5369
|
+
"property": "border-top-right-radius",
|
|
5370
|
+
"token": "ds-alias-radius-xs",
|
|
5371
|
+
"value": "0.125rem"
|
|
5372
|
+
},
|
|
5373
|
+
{
|
|
5374
|
+
"class": "radius-bottom-left-xs",
|
|
5375
|
+
"property": "border-bottom-left-radius",
|
|
5376
|
+
"token": "ds-alias-radius-xs",
|
|
5377
|
+
"value": "0.125rem"
|
|
5378
|
+
},
|
|
5379
|
+
{
|
|
5380
|
+
"class": "radius-bottom-right-xs",
|
|
5381
|
+
"property": "border-bottom-right-radius",
|
|
5382
|
+
"token": "ds-alias-radius-xs",
|
|
5383
|
+
"value": "0.125rem"
|
|
5384
|
+
},
|
|
5295
5385
|
{
|
|
5296
5386
|
"class": "radius",
|
|
5297
5387
|
"property": "border-radius",
|
|
@@ -6626,6 +6716,66 @@
|
|
|
6626
6716
|
"token": "ds-alias-border-composite-grey",
|
|
6627
6717
|
"value": "0.125rem solid #e8e8e8"
|
|
6628
6718
|
},
|
|
6719
|
+
{
|
|
6720
|
+
"class": "border-white-subtle",
|
|
6721
|
+
"property": "border",
|
|
6722
|
+
"token": "ds-alias-border-composite-white-subtle",
|
|
6723
|
+
"value": "0.125rem solid rgba(255, 255, 255, 0.3)"
|
|
6724
|
+
},
|
|
6725
|
+
{
|
|
6726
|
+
"class": "border-top-white-subtle",
|
|
6727
|
+
"property": "border-top",
|
|
6728
|
+
"token": "ds-alias-border-composite-white-subtle",
|
|
6729
|
+
"value": "0.125rem solid rgba(255, 255, 255, 0.3)"
|
|
6730
|
+
},
|
|
6731
|
+
{
|
|
6732
|
+
"class": "border-bottom-white-subtle",
|
|
6733
|
+
"property": "border-bottom",
|
|
6734
|
+
"token": "ds-alias-border-composite-white-subtle",
|
|
6735
|
+
"value": "0.125rem solid rgba(255, 255, 255, 0.3)"
|
|
6736
|
+
},
|
|
6737
|
+
{
|
|
6738
|
+
"class": "border-left-white-subtle",
|
|
6739
|
+
"property": "border-left",
|
|
6740
|
+
"token": "ds-alias-border-composite-white-subtle",
|
|
6741
|
+
"value": "0.125rem solid rgba(255, 255, 255, 0.3)"
|
|
6742
|
+
},
|
|
6743
|
+
{
|
|
6744
|
+
"class": "border-right-white-subtle",
|
|
6745
|
+
"property": "border-right",
|
|
6746
|
+
"token": "ds-alias-border-composite-white-subtle",
|
|
6747
|
+
"value": "0.125rem solid rgba(255, 255, 255, 0.3)"
|
|
6748
|
+
},
|
|
6749
|
+
{
|
|
6750
|
+
"class": "border-white-muted",
|
|
6751
|
+
"property": "border",
|
|
6752
|
+
"token": "ds-alias-border-composite-white-muted",
|
|
6753
|
+
"value": "0.125rem solid rgba(255, 255, 255, 0.5)"
|
|
6754
|
+
},
|
|
6755
|
+
{
|
|
6756
|
+
"class": "border-top-white-muted",
|
|
6757
|
+
"property": "border-top",
|
|
6758
|
+
"token": "ds-alias-border-composite-white-muted",
|
|
6759
|
+
"value": "0.125rem solid rgba(255, 255, 255, 0.5)"
|
|
6760
|
+
},
|
|
6761
|
+
{
|
|
6762
|
+
"class": "border-bottom-white-muted",
|
|
6763
|
+
"property": "border-bottom",
|
|
6764
|
+
"token": "ds-alias-border-composite-white-muted",
|
|
6765
|
+
"value": "0.125rem solid rgba(255, 255, 255, 0.5)"
|
|
6766
|
+
},
|
|
6767
|
+
{
|
|
6768
|
+
"class": "border-left-white-muted",
|
|
6769
|
+
"property": "border-left",
|
|
6770
|
+
"token": "ds-alias-border-composite-white-muted",
|
|
6771
|
+
"value": "0.125rem solid rgba(255, 255, 255, 0.5)"
|
|
6772
|
+
},
|
|
6773
|
+
{
|
|
6774
|
+
"class": "border-right-white-muted",
|
|
6775
|
+
"property": "border-right",
|
|
6776
|
+
"token": "ds-alias-border-composite-white-muted",
|
|
6777
|
+
"value": "0.125rem solid rgba(255, 255, 255, 0.5)"
|
|
6778
|
+
},
|
|
6629
6779
|
{
|
|
6630
6780
|
"class": "border",
|
|
6631
6781
|
"property": "border",
|
|
@@ -6766,6 +6916,12 @@
|
|
|
6766
6916
|
"token": "ds-alias-opacity-disabled",
|
|
6767
6917
|
"value": "0.6"
|
|
6768
6918
|
},
|
|
6919
|
+
{
|
|
6920
|
+
"class": "opacity-disabled-subtle",
|
|
6921
|
+
"property": "opacity",
|
|
6922
|
+
"token": "ds-alias-opacity-disabled-subtle",
|
|
6923
|
+
"value": "0.4"
|
|
6924
|
+
},
|
|
6769
6925
|
{
|
|
6770
6926
|
"class": "opacity-backdrop",
|
|
6771
6927
|
"property": "opacity",
|
|
@@ -6778,6 +6934,12 @@
|
|
|
6778
6934
|
"token": "ds-alias-opacity-full",
|
|
6779
6935
|
"value": "1"
|
|
6780
6936
|
},
|
|
6937
|
+
{
|
|
6938
|
+
"class": "opacity-subtle",
|
|
6939
|
+
"property": "opacity",
|
|
6940
|
+
"token": "ds-alias-opacity-subtle",
|
|
6941
|
+
"value": "0.3"
|
|
6942
|
+
},
|
|
6781
6943
|
{
|
|
6782
6944
|
"class": "shadow-none",
|
|
6783
6945
|
"property": "box-shadow",
|
|
@@ -6887,6 +7049,18 @@
|
|
|
6887
7049
|
"token": "ds-alias-text-color-danger",
|
|
6888
7050
|
"value": "#cb1501"
|
|
6889
7051
|
},
|
|
7052
|
+
{
|
|
7053
|
+
"class": "text-danger-dark",
|
|
7054
|
+
"property": "color",
|
|
7055
|
+
"token": "ds-alias-text-color-danger-dark",
|
|
7056
|
+
"value": "#ea1800"
|
|
7057
|
+
},
|
|
7058
|
+
{
|
|
7059
|
+
"class": "text-danger-darker",
|
|
7060
|
+
"property": "color",
|
|
7061
|
+
"token": "ds-alias-text-color-danger-darker",
|
|
7062
|
+
"value": "#a01100"
|
|
7063
|
+
},
|
|
6890
7064
|
{
|
|
6891
7065
|
"class": "text-base",
|
|
6892
7066
|
"property": "font-size",
|
|
@@ -6957,13 +7131,13 @@
|
|
|
6957
7131
|
"class": "font-family-heading",
|
|
6958
7132
|
"property": "font-family",
|
|
6959
7133
|
"token": "ds-alias-text-family-heading",
|
|
6960
|
-
"value": "\"
|
|
7134
|
+
"value": "\"\"Baloise Create Headline\", Arial, sans-serif\""
|
|
6961
7135
|
},
|
|
6962
7136
|
{
|
|
6963
7137
|
"class": "font-family-text",
|
|
6964
7138
|
"property": "font-family",
|
|
6965
7139
|
"token": "ds-alias-text-family-text",
|
|
6966
|
-
"value": "\"
|
|
7140
|
+
"value": "\"\"Baloise Create Text\", Arial, sans-serif\""
|
|
6967
7141
|
},
|
|
6968
7142
|
{
|
|
6969
7143
|
"class": "font-weight-light",
|
|
@@ -7007,6 +7181,36 @@
|
|
|
7007
7181
|
"token": "ds-alias-text-line-height-text",
|
|
7008
7182
|
"value": "1.5"
|
|
7009
7183
|
},
|
|
7184
|
+
{
|
|
7185
|
+
"class": "letter-spacing-text",
|
|
7186
|
+
"property": "letter-spacing",
|
|
7187
|
+
"token": "ds-alias-text-letter-spacing-text",
|
|
7188
|
+
"value": "0rem"
|
|
7189
|
+
},
|
|
7190
|
+
{
|
|
7191
|
+
"class": "letter-spacing-heading",
|
|
7192
|
+
"property": "letter-spacing",
|
|
7193
|
+
"token": "ds-alias-text-letter-spacing-heading",
|
|
7194
|
+
"value": "0rem"
|
|
7195
|
+
},
|
|
7196
|
+
{
|
|
7197
|
+
"class": "text-decoration-none",
|
|
7198
|
+
"property": "text-decoration",
|
|
7199
|
+
"token": "ds-alias-text-text-decoration-none",
|
|
7200
|
+
"value": "none"
|
|
7201
|
+
},
|
|
7202
|
+
{
|
|
7203
|
+
"class": "text-decoration-underline",
|
|
7204
|
+
"property": "text-decoration",
|
|
7205
|
+
"token": "ds-alias-text-text-decoration-underline",
|
|
7206
|
+
"value": "underline"
|
|
7207
|
+
},
|
|
7208
|
+
{
|
|
7209
|
+
"class": "text-transform-none",
|
|
7210
|
+
"property": "text-transform",
|
|
7211
|
+
"token": "ds-alias-text-text-transform-none",
|
|
7212
|
+
"value": "none"
|
|
7213
|
+
},
|
|
7010
7214
|
{
|
|
7011
7215
|
"class": "text-align-left",
|
|
7012
7216
|
"property": "text-align",
|
package/dist/scss/structure.scss
CHANGED
|
@@ -14,6 +14,9 @@ html,
|
|
|
14
14
|
font-size: var(--ds-body-font-font-size);
|
|
15
15
|
font-weight: var(--ds-body-font-font-weight);
|
|
16
16
|
line-height: var(--ds-body-font-line-height);
|
|
17
|
+
letter-spacing: var(--ds-body-font-letter-spacing);
|
|
18
|
+
text-decoration: var(--ds-body-font-text-decoration);
|
|
19
|
+
text-transform: var(--ds-body-font-text-transform);
|
|
17
20
|
|
|
18
21
|
text-rendering: optimizeLegibility;
|
|
19
22
|
text-size-adjust: 100%;
|
|
@@ -50,6 +53,8 @@ textarea {
|
|
|
50
53
|
font-size: var(--ds-body-font-font-size);
|
|
51
54
|
font-weight: var(--ds-body-font-font-weight);
|
|
52
55
|
line-height: var(--ds-body-font-line-height);
|
|
56
|
+
letter-spacing: var(--ds-body-font-letter-spacing);
|
|
57
|
+
text-transform: var(--ds-body-font-text-transform);
|
|
53
58
|
}
|
|
54
59
|
|
|
55
60
|
body {
|
|
@@ -58,6 +63,9 @@ body {
|
|
|
58
63
|
font-size: var(--ds-body-font-font-size);
|
|
59
64
|
font-weight: var(--ds-body-font-font-weight);
|
|
60
65
|
line-height: var(--ds-body-font-line-height);
|
|
66
|
+
letter-spacing: var(--ds-body-font-letter-spacing);
|
|
67
|
+
text-decoration: var(--ds-body-font-text-decoration);
|
|
68
|
+
text-transform: var(--ds-body-font-text-transform);
|
|
61
69
|
-webkit-overflow-scrolling: auto;
|
|
62
70
|
}
|
|
63
71
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@helvetia-design/styles",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "UnoCSS utility preset and pre-built CSS bundle for the Helvetia Design System.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,10 +14,6 @@
|
|
|
14
14
|
"license": "Apache-2.0",
|
|
15
15
|
"type": "module",
|
|
16
16
|
"exports": {
|
|
17
|
-
".": {
|
|
18
|
-
"import": "./dist/preset/index.js",
|
|
19
|
-
"require": "./dist/preset/index.cjs"
|
|
20
|
-
},
|
|
21
17
|
"./css/design-system": "./dist/css/design-system.css",
|
|
22
18
|
"./css/design-system.min": "./dist/css/design-system.min.css",
|
|
23
19
|
"./css/design-system.local": "./dist/css/design-system.local.css",
|
|
@@ -33,17 +29,17 @@
|
|
|
33
29
|
"sbom.cdx.json"
|
|
34
30
|
],
|
|
35
31
|
"dependencies": {
|
|
36
|
-
"@helvetia-design/assets": "0.
|
|
37
|
-
"@helvetia-design/tokens": "0.
|
|
32
|
+
"@helvetia-design/assets": "0.2.0",
|
|
33
|
+
"@helvetia-design/tokens": "0.2.0"
|
|
38
34
|
},
|
|
39
35
|
"devDependencies": {
|
|
40
|
-
"@helvetia-design/tokens": "0.
|
|
41
|
-
"autoprefixer": "10.6.
|
|
42
|
-
"cssnano": "9.
|
|
43
|
-
"postcss": "8.5.
|
|
44
|
-
"sass": "1.
|
|
36
|
+
"@helvetia-design/tokens": "0.2.0",
|
|
37
|
+
"autoprefixer": "10.6.2",
|
|
38
|
+
"cssnano": "9.9.0",
|
|
39
|
+
"postcss": "8.5.33",
|
|
40
|
+
"sass": "1.108.2",
|
|
45
41
|
"tsx": "4.23.15",
|
|
46
|
-
"unocss": "66.
|
|
42
|
+
"unocss": "66.13.0"
|
|
47
43
|
},
|
|
48
44
|
"scripts": {
|
|
49
45
|
"build": "node --import tsx/esm src/build.ts"
|