@dialpad/dialtone-tokens 1.22.0 → 1.23.2
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/android/java/tokens-dark.kt +19 -10
- package/dist/android/java/tokens-light.kt +25 -16
- package/dist/android/res/values/colors-dark.xml +56 -46
- package/dist/android/res/values/colors-light.xml +21 -11
- package/dist/android/res/values/dimens.xml +1 -4
- package/dist/css/variables-dark.css +704 -694
- package/dist/css/variables-light.css +580 -570
- package/dist/doc.json +37864 -16184
- package/dist/ios/tokens-dark.swift +15 -8
- package/dist/ios/tokens-light.swift +21 -14
- package/dist/less/variables-dark.less +704 -694
- package/dist/less/variables-light.less +580 -570
- package/dist/tokens-dark.json +357 -350
- package/dist/tokens-light.json +283 -276
- package/package.json +13 -12
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
//
|
|
5
5
|
|
|
6
6
|
// Do not edit directly
|
|
7
|
-
// Generated on
|
|
7
|
+
// Generated on Thu, 02 Nov 2023 22:15:52 GMT
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
import UIKit
|
|
@@ -13,13 +13,13 @@ public enum DialtoneTokensDark {
|
|
|
13
13
|
public static let dtActionColorBackgroundBaseActive = UIColor(red: 0.671, green: 0.494, blue: 1.000, alpha: 0.2)
|
|
14
14
|
public static let dtActionColorBackgroundBaseDefault = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0)
|
|
15
15
|
public static let dtActionColorBackgroundBaseHover = UIColor(red: 0.671, green: 0.494, blue: 1.000, alpha: 0.10196078431372549)
|
|
16
|
-
public static let dtActionColorBackgroundBasePrimaryActive = UIColor(red: 0.
|
|
16
|
+
public static let dtActionColorBackgroundBasePrimaryActive = UIColor(red: 0.412, green: 0.216, blue: 1.000, alpha: 1)
|
|
17
17
|
public static let dtActionColorBackgroundBasePrimaryDefault = UIColor(red: 0.486, green: 0.322, blue: 1.000, alpha: 1)
|
|
18
|
-
public static let dtActionColorBackgroundBasePrimaryHover = UIColor(red: 0.
|
|
18
|
+
public static let dtActionColorBackgroundBasePrimaryHover = UIColor(red: 0.451, green: 0.267, blue: 1.000, alpha: 1)
|
|
19
19
|
public static let dtActionColorBackgroundCriticalActive = UIColor(red: 0.925, green: 0.055, blue: 0.055, alpha: 0.30196078431372547)
|
|
20
20
|
public static let dtActionColorBackgroundCriticalDefault = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0)
|
|
21
21
|
public static let dtActionColorBackgroundCriticalHover = UIColor(red: 0.925, green: 0.055, blue: 0.055, alpha: 0.2)
|
|
22
|
-
public static let dtActionColorBackgroundCriticalPrimaryActive = UIColor(red: 0.
|
|
22
|
+
public static let dtActionColorBackgroundCriticalPrimaryActive = UIColor(red: 0.816, green: 0.047, blue: 0.047, alpha: 1)
|
|
23
23
|
public static let dtActionColorBackgroundCriticalPrimaryDefault = UIColor(red: 0.925, green: 0.055, blue: 0.055, alpha: 1)
|
|
24
24
|
public static let dtActionColorBackgroundCriticalPrimaryHover = UIColor(red: 0.851, green: 0.051, blue: 0.051, alpha: 1)
|
|
25
25
|
public static let dtActionColorBackgroundDisabledDefault = UIColor(red: 0.227, green: 0.227, blue: 0.227, alpha: 1)
|
|
@@ -32,6 +32,12 @@ public enum DialtoneTokensDark {
|
|
|
32
32
|
public static let dtActionColorBackgroundMutedActive = UIColor(red: 0.831, green: 0.831, blue: 0.831, alpha: 0.1607843137254902)
|
|
33
33
|
public static let dtActionColorBackgroundMutedDefault = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0)
|
|
34
34
|
public static let dtActionColorBackgroundMutedHover = UIColor(red: 0.831, green: 0.831, blue: 0.831, alpha: 0.10196078431372549)
|
|
35
|
+
public static let dtActionColorBackgroundPositiveActive = UIColor(red: 0.686, green: 1.000, blue: 0.639, alpha: 0.0784313725490196)
|
|
36
|
+
public static let dtActionColorBackgroundPositiveDefault = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0)
|
|
37
|
+
public static let dtActionColorBackgroundPositiveHover = UIColor(red: 0.475, green: 0.863, blue: 0.576, alpha: 1)
|
|
38
|
+
public static let dtActionColorBackgroundPositivePrimaryActive = UIColor(red: 0.459, green: 1.000, blue: 0.376, alpha: 1)
|
|
39
|
+
public static let dtActionColorBackgroundPositivePrimaryDefault = UIColor(red: 0.690, green: 1.000, blue: 0.639, alpha: 1)
|
|
40
|
+
public static let dtActionColorBackgroundPositivePrimaryHover = UIColor(red: 0.545, green: 1.000, blue: 0.475, alpha: 1)
|
|
35
41
|
public static let dtActionColorBorderBaseOutlinedDefault = UIColor(red: 0.671, green: 0.494, blue: 1.000, alpha: 1)
|
|
36
42
|
public static let dtActionColorBorderCriticalOutlinedDefault = UIColor(red: 1.000, green: 0.522, blue: 0.522, alpha: 1)
|
|
37
43
|
public static let dtActionColorBorderInvertedOutlinedDefault = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 1)
|
|
@@ -54,6 +60,10 @@ public enum DialtoneTokensDark {
|
|
|
54
60
|
public static let dtActionColorForegroundMutedActive = UIColor(red: 0.761, green: 0.761, blue: 0.761, alpha: 1)
|
|
55
61
|
public static let dtActionColorForegroundMutedDefault = UIColor(red: 0.761, green: 0.761, blue: 0.761, alpha: 1)
|
|
56
62
|
public static let dtActionColorForegroundMutedHover = UIColor(red: 0.761, green: 0.761, blue: 0.761, alpha: 1)
|
|
63
|
+
public static let dtActionColorForegroundPositiveActive = UIColor(red: 0.431, green: 1.000, blue: 0.345, alpha: 1)
|
|
64
|
+
public static let dtActionColorForegroundPositiveDefault = UIColor(red: 0.690, green: 1.000, blue: 0.639, alpha: 1)
|
|
65
|
+
public static let dtActionColorForegroundPositiveHover = UIColor(red: 0.431, green: 1.000, blue: 0.345, alpha: 1)
|
|
66
|
+
public static let dtActionColorForegroundPositivePrimaryDefault = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
|
|
57
67
|
public static let dtAvatarColorBackground000 = UIColor(red: 0.878, green: 0.878, blue: 0.878, alpha: 1)
|
|
58
68
|
public static let dtAvatarColorBackground100 = UIColor(red: 0.102, green: 0.639, blue: 0.251, alpha: 1)
|
|
59
69
|
public static let dtAvatarColorBackground1000 = UIColor(red: 0.714, green: 0.812, blue: 1.000, alpha: 1)
|
|
@@ -267,7 +277,6 @@ public enum DialtoneTokensDark {
|
|
|
267
277
|
public static let dtFontSize300 = CGFloat(19.00)
|
|
268
278
|
public static let dtFontSize400 = CGFloat(27.00)
|
|
269
279
|
public static let dtFontSize500 = CGFloat(38.00)
|
|
270
|
-
public static let dtFontSizeRoot = CGFloat(10.00)
|
|
271
280
|
public static let dtFontTextCaseCapitalize = "capitalize"
|
|
272
281
|
public static let dtFontTextCaseLowercase = "lowercase"
|
|
273
282
|
public static let dtFontTextCaseNone = "none"
|
|
@@ -617,7 +626,6 @@ public enum DialtoneTokensDark {
|
|
|
617
626
|
public static let dtSize95Percent = CGFloat(95.00)
|
|
618
627
|
public static let dtSize975 = CGFloat(464.00)
|
|
619
628
|
public static let dtSize975Negative = CGFloat(-464.00)
|
|
620
|
-
public static let dtSizeBase = CGFloat(8.00)
|
|
621
629
|
public static let dtSizeBorder0 = CGFloat(0.00)
|
|
622
630
|
public static let dtSizeBorder100 = CGFloat(1.00)
|
|
623
631
|
public static let dtSizeBorder150 = CGFloat(1.50)
|
|
@@ -735,7 +743,6 @@ public enum DialtoneTokensDark {
|
|
|
735
743
|
public static let dtSpace95Percent = CGFloat(95.00)
|
|
736
744
|
public static let dtSpace975 = CGFloat(464.00)
|
|
737
745
|
public static let dtSpace975Negative = CGFloat(-464.00)
|
|
738
|
-
public static let dtSpaceBase = CGFloat(8.00)
|
|
739
746
|
public static let dtThemeColorBase = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 1)
|
|
740
747
|
public static let dtThemeMentionColorBackground = UIColor(red: 0.486, green: 0.322, blue: 1.000, alpha: 1)
|
|
741
748
|
public static let dtThemeMentionColorForeground = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
|
|
@@ -762,7 +769,7 @@ public enum DialtoneTokensDark {
|
|
|
762
769
|
public static let dtThemeTopbarColorBackground = UIColor(red: 0.149, green: 0.149, blue: 0.149, alpha: 1)
|
|
763
770
|
public static let dtThemeTopbarColorForeground = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.7490196078431373)
|
|
764
771
|
public static let dtThemeTopbarFieldColorBackground = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.050980392156862744)
|
|
765
|
-
public static let dtThemeTopbarFieldColorBackgroundHover = UIColor(red: 0.
|
|
772
|
+
public static let dtThemeTopbarFieldColorBackgroundHover = UIColor(red: 0.102, green: 0.102, blue: 0.102, alpha: 1)
|
|
766
773
|
public static let dtThemeTopbarFieldColorBorder = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0)
|
|
767
774
|
public static let dtThemeTopbarFieldColorBorderActive = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.2)
|
|
768
775
|
public static let dtThemeTopbarFieldColorBorderHover = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.10196078431372549)
|
|
@@ -4,41 +4,47 @@
|
|
|
4
4
|
//
|
|
5
5
|
|
|
6
6
|
// Do not edit directly
|
|
7
|
-
// Generated on
|
|
7
|
+
// Generated on Thu, 02 Nov 2023 22:15:52 GMT
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
import UIKit
|
|
11
11
|
|
|
12
12
|
public enum DialtoneTokensLight {
|
|
13
|
-
public static let dtActionColorBackgroundBaseActive = UIColor(red: 0.
|
|
13
|
+
public static let dtActionColorBackgroundBaseActive = UIColor(red: 0.490, green: 0.322, blue: 1.000, alpha: 0.1803921568627451)
|
|
14
14
|
public static let dtActionColorBackgroundBaseDefault = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0)
|
|
15
|
-
public static let dtActionColorBackgroundBaseHover = UIColor(red: 0.
|
|
16
|
-
public static let dtActionColorBackgroundBasePrimaryActive = UIColor(red: 0.
|
|
15
|
+
public static let dtActionColorBackgroundBaseHover = UIColor(red: 0.490, green: 0.322, blue: 1.000, alpha: 0.1411764705882353)
|
|
16
|
+
public static let dtActionColorBackgroundBasePrimaryActive = UIColor(red: 0.412, green: 0.216, blue: 1.000, alpha: 1)
|
|
17
17
|
public static let dtActionColorBackgroundBasePrimaryDefault = UIColor(red: 0.486, green: 0.322, blue: 1.000, alpha: 1)
|
|
18
|
-
public static let dtActionColorBackgroundBasePrimaryHover = UIColor(red: 0.
|
|
19
|
-
public static let dtActionColorBackgroundCriticalActive = UIColor(red: 0.925, green: 0.055, blue: 0.055, alpha: 0.
|
|
18
|
+
public static let dtActionColorBackgroundBasePrimaryHover = UIColor(red: 0.451, green: 0.267, blue: 1.000, alpha: 1)
|
|
19
|
+
public static let dtActionColorBackgroundCriticalActive = UIColor(red: 0.925, green: 0.055, blue: 0.055, alpha: 0.12156862745098039)
|
|
20
20
|
public static let dtActionColorBackgroundCriticalDefault = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0)
|
|
21
|
-
public static let dtActionColorBackgroundCriticalHover = UIColor(red: 0.925, green: 0.055, blue: 0.055, alpha: 0.
|
|
22
|
-
public static let dtActionColorBackgroundCriticalPrimaryActive = UIColor(red: 0.
|
|
21
|
+
public static let dtActionColorBackgroundCriticalHover = UIColor(red: 0.925, green: 0.055, blue: 0.055, alpha: 0.07058823529411765)
|
|
22
|
+
public static let dtActionColorBackgroundCriticalPrimaryActive = UIColor(red: 0.816, green: 0.047, blue: 0.047, alpha: 1)
|
|
23
23
|
public static let dtActionColorBackgroundCriticalPrimaryDefault = UIColor(red: 0.925, green: 0.055, blue: 0.055, alpha: 1)
|
|
24
24
|
public static let dtActionColorBackgroundCriticalPrimaryHover = UIColor(red: 0.851, green: 0.051, blue: 0.051, alpha: 1)
|
|
25
25
|
public static let dtActionColorBackgroundDisabledDefault = UIColor(red: 0.824, green: 0.824, blue: 0.824, alpha: 1)
|
|
26
26
|
public static let dtActionColorBackgroundInvertedActive = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 0.30196078431372547)
|
|
27
27
|
public static let dtActionColorBackgroundInvertedDefault = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0)
|
|
28
28
|
public static let dtActionColorBackgroundInvertedHover = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 0.14901960784313725)
|
|
29
|
-
public static let dtActionColorBackgroundInvertedPrimaryActive = UIColor(red: 0.
|
|
29
|
+
public static let dtActionColorBackgroundInvertedPrimaryActive = UIColor(red: 0.910, green: 0.863, blue: 1.000, alpha: 1)
|
|
30
30
|
public static let dtActionColorBackgroundInvertedPrimaryDefault = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
|
|
31
31
|
public static let dtActionColorBackgroundInvertedPrimaryHover = UIColor(red: 0.961, green: 0.941, blue: 1.000, alpha: 1)
|
|
32
32
|
public static let dtActionColorBackgroundMutedActive = UIColor(red: 0.133, green: 0.133, blue: 0.133, alpha: 0.1607843137254902)
|
|
33
33
|
public static let dtActionColorBackgroundMutedDefault = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0)
|
|
34
34
|
public static let dtActionColorBackgroundMutedHover = UIColor(red: 0.133, green: 0.133, blue: 0.133, alpha: 0.10196078431372549)
|
|
35
|
+
public static let dtActionColorBackgroundPositiveActive = UIColor(red: 0.102, green: 0.639, blue: 0.255, alpha: 0.0784313725490196)
|
|
36
|
+
public static let dtActionColorBackgroundPositiveDefault = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0)
|
|
37
|
+
public static let dtActionColorBackgroundPositiveHover = UIColor(red: 0.973, green: 0.992, blue: 0.969, alpha: 1)
|
|
38
|
+
public static let dtActionColorBackgroundPositivePrimaryActive = UIColor(red: 0.086, green: 0.537, blue: 0.212, alpha: 1)
|
|
39
|
+
public static let dtActionColorBackgroundPositivePrimaryDefault = UIColor(red: 0.102, green: 0.639, blue: 0.251, alpha: 1)
|
|
40
|
+
public static let dtActionColorBackgroundPositivePrimaryHover = UIColor(red: 0.090, green: 0.576, blue: 0.227, alpha: 1)
|
|
35
41
|
public static let dtActionColorBorderBaseOutlinedDefault = UIColor(red: 0.486, green: 0.322, blue: 1.000, alpha: 1)
|
|
36
42
|
public static let dtActionColorBorderCriticalOutlinedDefault = UIColor(red: 0.925, green: 0.055, blue: 0.055, alpha: 1)
|
|
37
43
|
public static let dtActionColorBorderInvertedOutlinedDefault = UIColor(red: 0.976, green: 0.976, blue: 0.976, alpha: 1)
|
|
38
44
|
public static let dtActionColorBorderMutedOutlinedDefault = UIColor(red: 0.333, green: 0.333, blue: 0.333, alpha: 1)
|
|
39
|
-
public static let dtActionColorForegroundBaseActive = UIColor(red: 0.
|
|
45
|
+
public static let dtActionColorForegroundBaseActive = UIColor(red: 0.451, green: 0.267, blue: 1.000, alpha: 1)
|
|
40
46
|
public static let dtActionColorForegroundBaseDefault = UIColor(red: 0.486, green: 0.322, blue: 1.000, alpha: 1)
|
|
41
|
-
public static let dtActionColorForegroundBaseHover = UIColor(red: 0.
|
|
47
|
+
public static let dtActionColorForegroundBaseHover = UIColor(red: 0.451, green: 0.267, blue: 1.000, alpha: 1)
|
|
42
48
|
public static let dtActionColorForegroundBasePrimaryDefault = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
|
|
43
49
|
public static let dtActionColorForegroundCriticalActive = UIColor(red: 0.851, green: 0.051, blue: 0.051, alpha: 1)
|
|
44
50
|
public static let dtActionColorForegroundCriticalDefault = UIColor(red: 0.925, green: 0.055, blue: 0.055, alpha: 1)
|
|
@@ -54,6 +60,10 @@ public enum DialtoneTokensLight {
|
|
|
54
60
|
public static let dtActionColorForegroundMutedActive = UIColor(red: 0.227, green: 0.227, blue: 0.227, alpha: 1)
|
|
55
61
|
public static let dtActionColorForegroundMutedDefault = UIColor(red: 0.227, green: 0.227, blue: 0.227, alpha: 1)
|
|
56
62
|
public static let dtActionColorForegroundMutedHover = UIColor(red: 0.227, green: 0.227, blue: 0.227, alpha: 1)
|
|
63
|
+
public static let dtActionColorForegroundPositiveActive = UIColor(red: 0.082, green: 0.525, blue: 0.208, alpha: 1)
|
|
64
|
+
public static let dtActionColorForegroundPositiveDefault = UIColor(red: 0.102, green: 0.639, blue: 0.251, alpha: 1)
|
|
65
|
+
public static let dtActionColorForegroundPositiveHover = UIColor(red: 0.082, green: 0.525, blue: 0.208, alpha: 1)
|
|
66
|
+
public static let dtActionColorForegroundPositivePrimaryDefault = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
|
|
57
67
|
public static let dtAvatarColorBackground000 = UIColor(red: 0.878, green: 0.878, blue: 0.878, alpha: 1)
|
|
58
68
|
public static let dtAvatarColorBackground100 = UIColor(red: 0.102, green: 0.639, blue: 0.251, alpha: 1)
|
|
59
69
|
public static let dtAvatarColorBackground1000 = UIColor(red: 0.714, green: 0.812, blue: 1.000, alpha: 1)
|
|
@@ -267,7 +277,6 @@ public enum DialtoneTokensLight {
|
|
|
267
277
|
public static let dtFontSize300 = CGFloat(19.00)
|
|
268
278
|
public static let dtFontSize400 = CGFloat(27.00)
|
|
269
279
|
public static let dtFontSize500 = CGFloat(38.00)
|
|
270
|
-
public static let dtFontSizeRoot = CGFloat(10.00)
|
|
271
280
|
public static let dtFontTextCaseCapitalize = "capitalize"
|
|
272
281
|
public static let dtFontTextCaseLowercase = "lowercase"
|
|
273
282
|
public static let dtFontTextCaseNone = "none"
|
|
@@ -497,7 +506,6 @@ public enum DialtoneTokensLight {
|
|
|
497
506
|
public static let dtSize95Percent = CGFloat(95.00)
|
|
498
507
|
public static let dtSize975 = CGFloat(464.00)
|
|
499
508
|
public static let dtSize975Negative = CGFloat(-464.00)
|
|
500
|
-
public static let dtSizeBase = CGFloat(8.00)
|
|
501
509
|
public static let dtSizeBorder0 = CGFloat(0.00)
|
|
502
510
|
public static let dtSizeBorder100 = CGFloat(1.00)
|
|
503
511
|
public static let dtSizeBorder150 = CGFloat(1.50)
|
|
@@ -615,7 +623,6 @@ public enum DialtoneTokensLight {
|
|
|
615
623
|
public static let dtSpace95Percent = CGFloat(95.00)
|
|
616
624
|
public static let dtSpace975 = CGFloat(464.00)
|
|
617
625
|
public static let dtSpace975Negative = CGFloat(-464.00)
|
|
618
|
-
public static let dtSpaceBase = CGFloat(8.00)
|
|
619
626
|
public static let dtThemeColorBase = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 1)
|
|
620
627
|
public static let dtThemeMentionColorBackground = UIColor(red: 0.486, green: 0.322, blue: 1.000, alpha: 1)
|
|
621
628
|
public static let dtThemeMentionColorForeground = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
|