@mittwald/flow-design-tokens 0.2.0-alpha.26 → 0.2.0-alpha.28
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/variables.css +17 -1
- package/dist/variables.json +306 -12
- package/package.json +5 -5
package/dist/variables.css
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
--image-button--brightness--pressed: 50%;
|
|
8
8
|
--corner-radius--round: 50%;
|
|
9
9
|
--border-style--default: solid;
|
|
10
|
+
--border-style--dashed: dashed;
|
|
10
11
|
--dark--color--100: rgb(0 0 0 / 12.5%);
|
|
11
12
|
--dark--color--200: rgb(0 0 0 / 25%);
|
|
12
13
|
--dark--color--300: rgb(0 0 0 / 37.5%);
|
|
@@ -447,6 +448,10 @@
|
|
|
447
448
|
--message--spacing-x: var(--size-rem--m);
|
|
448
449
|
--message--background-color-responder: var(--color--gray--400);
|
|
449
450
|
--message--background-color-sender: var(--color--hosting-blue--200);
|
|
451
|
+
--message-thread--spacing: var(--size-rem--l);
|
|
452
|
+
--text--blockquote-border-style: var(--border-style--default);
|
|
453
|
+
--text--blockquote-padding: var(--size-rem--s);
|
|
454
|
+
--text--list-padding: var(--size-rem--l);
|
|
450
455
|
--focus--outline-offset: var(--size-px--xxs);
|
|
451
456
|
--line-height--m: calc(var(--font-size-text--m) * 1.5);
|
|
452
457
|
--line-height--s: calc(var(--font-size-text--s) * 1.5);
|
|
@@ -493,7 +498,7 @@
|
|
|
493
498
|
--header-navigation--spacing: var(--size-rem--m);
|
|
494
499
|
--header-navigation--corner-radius-round: var(--corner-radius--round);
|
|
495
500
|
--header-navigation--font-weight-current: var(--font-weight--bold);
|
|
496
|
-
--link--
|
|
501
|
+
--link--icon-height: calc(var(--font-size-text--m) * 1.25);
|
|
497
502
|
--link--font-weight: var(--font-weight--bold);
|
|
498
503
|
--link--spacing: var(--size-rem--xs);
|
|
499
504
|
--link--color-dark--default: var(--dark--color--800);
|
|
@@ -670,6 +675,9 @@
|
|
|
670
675
|
--file-card--spacing: var(--size-rem--s);
|
|
671
676
|
--file-card--border-style: var(--border-style--default);
|
|
672
677
|
--file-card--sub-title-font-size: var(--font-size-text--s);
|
|
678
|
+
--file-drop-zone--padding: var(--size-px--m);
|
|
679
|
+
--file-drop-zone--border-style--default: var(--border-style--dashed);
|
|
680
|
+
--file-drop-zone--border-style--target: var(--border-style--default);
|
|
673
681
|
--button--corner-radius: var(--corner-radius--default);
|
|
674
682
|
--button--pending-icon-color: var(--neutral--color--1000);
|
|
675
683
|
--button--succeeded-icon-color: var(--success--color--800);
|
|
@@ -886,6 +894,7 @@
|
|
|
886
894
|
--text--color--default: var(--neutral--color--1000);
|
|
887
895
|
--text--color--light: var(--light-plain-content-color);
|
|
888
896
|
--text--color--dark: var(--dark-plain-content-color);
|
|
897
|
+
--text--blockquote-border-width: var(--border-width--300);
|
|
889
898
|
--focus--outline-color: var(--primary--color--800);
|
|
890
899
|
--focus--outline-width: var(--border-width--200);
|
|
891
900
|
--choice--icon-color--selected: var(--primary--color--800);
|
|
@@ -987,6 +996,9 @@
|
|
|
987
996
|
--file-card--corner-radius: var(--corner-radius--default);
|
|
988
997
|
--file-card--border-width: var(--border-width--100);
|
|
989
998
|
--file-card--background-color--default: var(--neutral--color--100);
|
|
999
|
+
--file-drop-zone--corner-radius: var(--corner-radius--default);
|
|
1000
|
+
--file-drop-zone--border-width: var(--border-width--100);
|
|
1001
|
+
--file-drop-zone--border-color--target: var(--primary--color--800);
|
|
990
1002
|
--button--accent-solid-background-color--default: var(--success-solid-background-color--default);
|
|
991
1003
|
--button--accent-solid-background-color--hover: var(--success-solid-background-color--hover);
|
|
992
1004
|
--button--accent-solid-background-color--pressed: var(--success-solid-background-color--pressed);
|
|
@@ -1122,6 +1134,7 @@
|
|
|
1122
1134
|
--illustrated-message--light-heading-color: var(--heading--color-light);
|
|
1123
1135
|
--label--color--disabled: var(--disabled-plain-content-color);
|
|
1124
1136
|
--text--color--disabled: var(--disabled-plain-content-color);
|
|
1137
|
+
--text--blockquote-border-color: var(--info-outline-border-color);
|
|
1125
1138
|
--choice--icon-color--default: var(--icon--color);
|
|
1126
1139
|
--choice--icon-color--disabled: var(--disabled-outline-content-color);
|
|
1127
1140
|
--date-picker--date-segment-background-color--focused: var(--primary-plain-background-color--pressed);
|
|
@@ -1233,4 +1246,7 @@
|
|
|
1233
1246
|
--file-card--border-color: var(--neutral-outline-border-color);
|
|
1234
1247
|
--file-card--background-color--hover: var(--neutral-outline-background-color--hover);
|
|
1235
1248
|
--file-card--background-color--pressed: var(--neutral-outline-background-color--pressed);
|
|
1249
|
+
--file-drop-zone--background-color--default: var(--form-control--background-color--default);
|
|
1250
|
+
--file-drop-zone--background-color--target: var(--form-control--background-color--hover);
|
|
1251
|
+
--file-drop-zone--border-color--default: var(--form-control--border-color--default);
|
|
1236
1252
|
}
|
package/dist/variables.json
CHANGED
|
@@ -4781,6 +4781,23 @@
|
|
|
4781
4781
|
"border-style",
|
|
4782
4782
|
"default"
|
|
4783
4783
|
]
|
|
4784
|
+
},
|
|
4785
|
+
"dashed": {
|
|
4786
|
+
"value": "dashed",
|
|
4787
|
+
"filePath": "src/border.yml",
|
|
4788
|
+
"isSource": true,
|
|
4789
|
+
"original": {
|
|
4790
|
+
"value": "dashed"
|
|
4791
|
+
},
|
|
4792
|
+
"name": "BorderStyleDashed",
|
|
4793
|
+
"attributes": {
|
|
4794
|
+
"category": "border-style",
|
|
4795
|
+
"type": "dashed"
|
|
4796
|
+
},
|
|
4797
|
+
"path": [
|
|
4798
|
+
"border-style",
|
|
4799
|
+
"dashed"
|
|
4800
|
+
]
|
|
4784
4801
|
}
|
|
4785
4802
|
},
|
|
4786
4803
|
"primary": {
|
|
@@ -13633,6 +13650,25 @@
|
|
|
13633
13650
|
]
|
|
13634
13651
|
}
|
|
13635
13652
|
},
|
|
13653
|
+
"message-thread": {
|
|
13654
|
+
"spacing": {
|
|
13655
|
+
"value": "1.5rem",
|
|
13656
|
+
"filePath": "src/content/messageThread.yml",
|
|
13657
|
+
"isSource": true,
|
|
13658
|
+
"original": {
|
|
13659
|
+
"value": "{size-rem.l}"
|
|
13660
|
+
},
|
|
13661
|
+
"name": "MessageThreadSpacing",
|
|
13662
|
+
"attributes": {
|
|
13663
|
+
"category": "message-thread",
|
|
13664
|
+
"type": "spacing"
|
|
13665
|
+
},
|
|
13666
|
+
"path": [
|
|
13667
|
+
"message-thread",
|
|
13668
|
+
"spacing"
|
|
13669
|
+
]
|
|
13670
|
+
}
|
|
13671
|
+
},
|
|
13636
13672
|
"text": {
|
|
13637
13673
|
"color": {
|
|
13638
13674
|
"default": {
|
|
@@ -13728,6 +13764,91 @@
|
|
|
13728
13764
|
"text",
|
|
13729
13765
|
"max-width"
|
|
13730
13766
|
]
|
|
13767
|
+
},
|
|
13768
|
+
"blockquote-border-width": {
|
|
13769
|
+
"value": "4px",
|
|
13770
|
+
"filePath": "src/content/text.yml",
|
|
13771
|
+
"isSource": true,
|
|
13772
|
+
"original": {
|
|
13773
|
+
"value": "{border-width.300}"
|
|
13774
|
+
},
|
|
13775
|
+
"name": "TextBlockquoteBorderWidth",
|
|
13776
|
+
"attributes": {
|
|
13777
|
+
"category": "text",
|
|
13778
|
+
"type": "blockquote-border-width"
|
|
13779
|
+
},
|
|
13780
|
+
"path": [
|
|
13781
|
+
"text",
|
|
13782
|
+
"blockquote-border-width"
|
|
13783
|
+
]
|
|
13784
|
+
},
|
|
13785
|
+
"blockquote-border-style": {
|
|
13786
|
+
"value": "solid",
|
|
13787
|
+
"filePath": "src/content/text.yml",
|
|
13788
|
+
"isSource": true,
|
|
13789
|
+
"original": {
|
|
13790
|
+
"value": "{border-style.default}"
|
|
13791
|
+
},
|
|
13792
|
+
"name": "TextBlockquoteBorderStyle",
|
|
13793
|
+
"attributes": {
|
|
13794
|
+
"category": "text",
|
|
13795
|
+
"type": "blockquote-border-style"
|
|
13796
|
+
},
|
|
13797
|
+
"path": [
|
|
13798
|
+
"text",
|
|
13799
|
+
"blockquote-border-style"
|
|
13800
|
+
]
|
|
13801
|
+
},
|
|
13802
|
+
"blockquote-border-color": {
|
|
13803
|
+
"value": "#0054F5",
|
|
13804
|
+
"filePath": "src/content/text.yml",
|
|
13805
|
+
"isSource": true,
|
|
13806
|
+
"original": {
|
|
13807
|
+
"value": "{info-outline-border-color}"
|
|
13808
|
+
},
|
|
13809
|
+
"name": "TextBlockquoteBorderColor",
|
|
13810
|
+
"attributes": {
|
|
13811
|
+
"category": "text",
|
|
13812
|
+
"type": "blockquote-border-color"
|
|
13813
|
+
},
|
|
13814
|
+
"path": [
|
|
13815
|
+
"text",
|
|
13816
|
+
"blockquote-border-color"
|
|
13817
|
+
]
|
|
13818
|
+
},
|
|
13819
|
+
"blockquote-padding": {
|
|
13820
|
+
"value": "0.5rem",
|
|
13821
|
+
"filePath": "src/content/text.yml",
|
|
13822
|
+
"isSource": true,
|
|
13823
|
+
"original": {
|
|
13824
|
+
"value": "{size-rem.s}"
|
|
13825
|
+
},
|
|
13826
|
+
"name": "TextBlockquotePadding",
|
|
13827
|
+
"attributes": {
|
|
13828
|
+
"category": "text",
|
|
13829
|
+
"type": "blockquote-padding"
|
|
13830
|
+
},
|
|
13831
|
+
"path": [
|
|
13832
|
+
"text",
|
|
13833
|
+
"blockquote-padding"
|
|
13834
|
+
]
|
|
13835
|
+
},
|
|
13836
|
+
"list-padding": {
|
|
13837
|
+
"value": "1.5rem",
|
|
13838
|
+
"filePath": "src/content/text.yml",
|
|
13839
|
+
"isSource": true,
|
|
13840
|
+
"original": {
|
|
13841
|
+
"value": "{size-rem.l}"
|
|
13842
|
+
},
|
|
13843
|
+
"name": "TextListPadding",
|
|
13844
|
+
"attributes": {
|
|
13845
|
+
"category": "text",
|
|
13846
|
+
"type": "list-padding"
|
|
13847
|
+
},
|
|
13848
|
+
"path": [
|
|
13849
|
+
"text",
|
|
13850
|
+
"list-padding"
|
|
13851
|
+
]
|
|
13731
13852
|
}
|
|
13732
13853
|
},
|
|
13733
13854
|
"focus": {
|
|
@@ -16149,38 +16270,38 @@
|
|
|
16149
16270
|
}
|
|
16150
16271
|
},
|
|
16151
16272
|
"link": {
|
|
16152
|
-
"
|
|
16153
|
-
"value": "
|
|
16273
|
+
"line-height": {
|
|
16274
|
+
"value": "calc(1rem * 1.5)",
|
|
16154
16275
|
"filePath": "src/navigation/link.yml",
|
|
16155
16276
|
"isSource": true,
|
|
16156
16277
|
"original": {
|
|
16157
|
-
"value": "{
|
|
16278
|
+
"value": "{line-height.m}"
|
|
16158
16279
|
},
|
|
16159
|
-
"name": "
|
|
16280
|
+
"name": "LinkLineHeight",
|
|
16160
16281
|
"attributes": {
|
|
16161
16282
|
"category": "link",
|
|
16162
|
-
"type": "
|
|
16283
|
+
"type": "line-height"
|
|
16163
16284
|
},
|
|
16164
16285
|
"path": [
|
|
16165
16286
|
"link",
|
|
16166
|
-
"
|
|
16287
|
+
"line-height"
|
|
16167
16288
|
]
|
|
16168
16289
|
},
|
|
16169
|
-
"
|
|
16170
|
-
"value": "calc(1rem * 1.
|
|
16290
|
+
"icon-height": {
|
|
16291
|
+
"value": "calc(1rem * 1.25)",
|
|
16171
16292
|
"filePath": "src/navigation/link.yml",
|
|
16172
16293
|
"isSource": true,
|
|
16173
16294
|
"original": {
|
|
16174
|
-
"value": "{
|
|
16295
|
+
"value": "calc({font-size-text.m} * 1.25)"
|
|
16175
16296
|
},
|
|
16176
|
-
"name": "
|
|
16297
|
+
"name": "LinkIconHeight",
|
|
16177
16298
|
"attributes": {
|
|
16178
16299
|
"category": "link",
|
|
16179
|
-
"type": "
|
|
16300
|
+
"type": "icon-height"
|
|
16180
16301
|
},
|
|
16181
16302
|
"path": [
|
|
16182
16303
|
"link",
|
|
16183
|
-
"
|
|
16304
|
+
"icon-height"
|
|
16184
16305
|
]
|
|
16185
16306
|
},
|
|
16186
16307
|
"font-weight": {
|
|
@@ -22472,5 +22593,178 @@
|
|
|
22472
22593
|
]
|
|
22473
22594
|
}
|
|
22474
22595
|
}
|
|
22596
|
+
},
|
|
22597
|
+
"file-drop-zone": {
|
|
22598
|
+
"corner-radius": {
|
|
22599
|
+
"value": "4px",
|
|
22600
|
+
"filePath": "src/upload/file-drop-zone.yml",
|
|
22601
|
+
"isSource": true,
|
|
22602
|
+
"original": {
|
|
22603
|
+
"value": "{corner-radius.default}"
|
|
22604
|
+
},
|
|
22605
|
+
"name": "FileDropZoneCornerRadius",
|
|
22606
|
+
"attributes": {
|
|
22607
|
+
"category": "file-drop-zone",
|
|
22608
|
+
"type": "corner-radius"
|
|
22609
|
+
},
|
|
22610
|
+
"path": [
|
|
22611
|
+
"file-drop-zone",
|
|
22612
|
+
"corner-radius"
|
|
22613
|
+
]
|
|
22614
|
+
},
|
|
22615
|
+
"padding": {
|
|
22616
|
+
"value": "16px",
|
|
22617
|
+
"filePath": "src/upload/file-drop-zone.yml",
|
|
22618
|
+
"isSource": true,
|
|
22619
|
+
"original": {
|
|
22620
|
+
"value": "{size-px.m}"
|
|
22621
|
+
},
|
|
22622
|
+
"name": "FileDropZonePadding",
|
|
22623
|
+
"attributes": {
|
|
22624
|
+
"category": "file-drop-zone",
|
|
22625
|
+
"type": "padding"
|
|
22626
|
+
},
|
|
22627
|
+
"path": [
|
|
22628
|
+
"file-drop-zone",
|
|
22629
|
+
"padding"
|
|
22630
|
+
]
|
|
22631
|
+
},
|
|
22632
|
+
"background-color": {
|
|
22633
|
+
"default": {
|
|
22634
|
+
"value": "#F8F8F8",
|
|
22635
|
+
"filePath": "src/upload/file-drop-zone.yml",
|
|
22636
|
+
"isSource": true,
|
|
22637
|
+
"original": {
|
|
22638
|
+
"value": "{form-control.background-color.default}"
|
|
22639
|
+
},
|
|
22640
|
+
"name": "FileDropZoneBackgroundColorDefault",
|
|
22641
|
+
"attributes": {
|
|
22642
|
+
"category": "file-drop-zone",
|
|
22643
|
+
"type": "background-color",
|
|
22644
|
+
"item": "default"
|
|
22645
|
+
},
|
|
22646
|
+
"path": [
|
|
22647
|
+
"file-drop-zone",
|
|
22648
|
+
"background-color",
|
|
22649
|
+
"default"
|
|
22650
|
+
]
|
|
22651
|
+
},
|
|
22652
|
+
"target": {
|
|
22653
|
+
"value": "#F0F5FF",
|
|
22654
|
+
"filePath": "src/upload/file-drop-zone.yml",
|
|
22655
|
+
"isSource": true,
|
|
22656
|
+
"original": {
|
|
22657
|
+
"value": "{form-control.background-color.hover}"
|
|
22658
|
+
},
|
|
22659
|
+
"name": "FileDropZoneBackgroundColorTarget",
|
|
22660
|
+
"attributes": {
|
|
22661
|
+
"category": "file-drop-zone",
|
|
22662
|
+
"type": "background-color",
|
|
22663
|
+
"item": "target"
|
|
22664
|
+
},
|
|
22665
|
+
"path": [
|
|
22666
|
+
"file-drop-zone",
|
|
22667
|
+
"background-color",
|
|
22668
|
+
"target"
|
|
22669
|
+
]
|
|
22670
|
+
}
|
|
22671
|
+
},
|
|
22672
|
+
"border-width": {
|
|
22673
|
+
"value": "1px",
|
|
22674
|
+
"filePath": "src/upload/file-drop-zone.yml",
|
|
22675
|
+
"isSource": true,
|
|
22676
|
+
"original": {
|
|
22677
|
+
"value": "{border-width.100}"
|
|
22678
|
+
},
|
|
22679
|
+
"name": "FileDropZoneBorderWidth",
|
|
22680
|
+
"attributes": {
|
|
22681
|
+
"category": "file-drop-zone",
|
|
22682
|
+
"type": "border-width"
|
|
22683
|
+
},
|
|
22684
|
+
"path": [
|
|
22685
|
+
"file-drop-zone",
|
|
22686
|
+
"border-width"
|
|
22687
|
+
]
|
|
22688
|
+
},
|
|
22689
|
+
"border-style": {
|
|
22690
|
+
"default": {
|
|
22691
|
+
"value": "dashed",
|
|
22692
|
+
"filePath": "src/upload/file-drop-zone.yml",
|
|
22693
|
+
"isSource": true,
|
|
22694
|
+
"original": {
|
|
22695
|
+
"value": "{border-style.dashed}"
|
|
22696
|
+
},
|
|
22697
|
+
"name": "FileDropZoneBorderStyleDefault",
|
|
22698
|
+
"attributes": {
|
|
22699
|
+
"category": "file-drop-zone",
|
|
22700
|
+
"type": "border-style",
|
|
22701
|
+
"item": "default"
|
|
22702
|
+
},
|
|
22703
|
+
"path": [
|
|
22704
|
+
"file-drop-zone",
|
|
22705
|
+
"border-style",
|
|
22706
|
+
"default"
|
|
22707
|
+
]
|
|
22708
|
+
},
|
|
22709
|
+
"target": {
|
|
22710
|
+
"value": "solid",
|
|
22711
|
+
"filePath": "src/upload/file-drop-zone.yml",
|
|
22712
|
+
"isSource": true,
|
|
22713
|
+
"original": {
|
|
22714
|
+
"value": "{border-style.default}"
|
|
22715
|
+
},
|
|
22716
|
+
"name": "FileDropZoneBorderStyleTarget",
|
|
22717
|
+
"attributes": {
|
|
22718
|
+
"category": "file-drop-zone",
|
|
22719
|
+
"type": "border-style",
|
|
22720
|
+
"item": "target"
|
|
22721
|
+
},
|
|
22722
|
+
"path": [
|
|
22723
|
+
"file-drop-zone",
|
|
22724
|
+
"border-style",
|
|
22725
|
+
"target"
|
|
22726
|
+
]
|
|
22727
|
+
}
|
|
22728
|
+
},
|
|
22729
|
+
"border-color": {
|
|
22730
|
+
"default": {
|
|
22731
|
+
"value": "#909090",
|
|
22732
|
+
"filePath": "src/upload/file-drop-zone.yml",
|
|
22733
|
+
"isSource": true,
|
|
22734
|
+
"original": {
|
|
22735
|
+
"value": "{form-control.border-color.default}"
|
|
22736
|
+
},
|
|
22737
|
+
"name": "FileDropZoneBorderColorDefault",
|
|
22738
|
+
"attributes": {
|
|
22739
|
+
"category": "file-drop-zone",
|
|
22740
|
+
"type": "border-color",
|
|
22741
|
+
"item": "default"
|
|
22742
|
+
},
|
|
22743
|
+
"path": [
|
|
22744
|
+
"file-drop-zone",
|
|
22745
|
+
"border-color",
|
|
22746
|
+
"default"
|
|
22747
|
+
]
|
|
22748
|
+
},
|
|
22749
|
+
"target": {
|
|
22750
|
+
"value": "#0054F5",
|
|
22751
|
+
"filePath": "src/upload/file-drop-zone.yml",
|
|
22752
|
+
"isSource": true,
|
|
22753
|
+
"original": {
|
|
22754
|
+
"value": "{primary.color.800}"
|
|
22755
|
+
},
|
|
22756
|
+
"name": "FileDropZoneBorderColorTarget",
|
|
22757
|
+
"attributes": {
|
|
22758
|
+
"category": "file-drop-zone",
|
|
22759
|
+
"type": "border-color",
|
|
22760
|
+
"item": "target"
|
|
22761
|
+
},
|
|
22762
|
+
"path": [
|
|
22763
|
+
"file-drop-zone",
|
|
22764
|
+
"border-color",
|
|
22765
|
+
"target"
|
|
22766
|
+
]
|
|
22767
|
+
}
|
|
22768
|
+
}
|
|
22475
22769
|
}
|
|
22476
22770
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/flow-design-tokens",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.28",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The design tokens used in Flow, mittwald’s design system",
|
|
6
6
|
"homepage": "https://github.com/mittwald/flow/tree/main/packages/design-tokens",
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
"dist"
|
|
14
14
|
],
|
|
15
15
|
"scripts": {
|
|
16
|
-
"build": "
|
|
16
|
+
"build": "style-dictionary build -c style-dictionary.config.js",
|
|
17
17
|
"clean": "rimraf dist"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@types/js-yaml": "^4.0.9",
|
|
21
21
|
"js-yaml": "^4.1.0",
|
|
22
|
-
"nx": "^20.
|
|
22
|
+
"nx": "^20.4.0",
|
|
23
23
|
"prettier": "^3.4.2",
|
|
24
24
|
"rimraf": "^6.0.1",
|
|
25
|
-
"style-dictionary": "^4.3.
|
|
25
|
+
"style-dictionary": "^4.3.2"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "62d6a35560fb3728c0073029445d5578f3c90030"
|
|
28
28
|
}
|