Skip to content

Commit bb4d87c

Browse files
author
dialpad
committed
dialtone-tokens-swift release
1 parent eb76359 commit bb4d87c

File tree

5 files changed

+69
-161
lines changed

5 files changed

+69
-161
lines changed

Sources/DialtoneTokens/tokens-dp-dark.swift

Lines changed: 17 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -9,32 +9,32 @@
99
import UIKit
1010

1111
public enum DialtoneTokensDpDark {
12-
public static let dtActionColorBackgroundBaseActive = UIColor(red: 0.102, green: 0.004, blue: 0.298, alpha: 0.702)
12+
public static let dtActionColorBackgroundBaseActive = UIColor(red: 0.565, green: 0.443, blue: 0.988, alpha: 0.302)
1313
public static let dtActionColorBackgroundBaseDefault = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0)
14-
public static let dtActionColorBackgroundBaseHover = UIColor(red: 0.114, green: 0.004, blue: 0.333, alpha: 0.702)
14+
public static let dtActionColorBackgroundBaseHover = UIColor(red: 0.565, green: 0.443, blue: 0.988, alpha: 0.200)
1515
public static let dtActionColorBackgroundBasePrimaryActive = UIColor(red: 0.733, green: 0.651, blue: 0.988, alpha: 1)
16-
public static let dtActionColorBackgroundBasePrimaryDefault = UIColor(red: 0.565, green: 0.443, blue: 0.988, alpha: 1)
17-
public static let dtActionColorBackgroundBasePrimaryHover = UIColor(red: 0.639, green: 0.561, blue: 0.976, alpha: 1)
18-
public static let dtActionColorBackgroundCriticalActive = UIColor(red: 0.514, green: 0.078, blue: 0.204, alpha: 0.200)
16+
public static let dtActionColorBackgroundBasePrimaryDefault = UIColor(red: 0.733, green: 0.651, blue: 0.988, alpha: 1)
17+
public static let dtActionColorBackgroundBasePrimaryHover = UIColor(red: 0.827, green: 0.737, blue: 1.000, alpha: 1)
18+
public static let dtActionColorBackgroundCriticalActive = UIColor(red: 0.863, green: 0.133, blue: 0.341, alpha: 0.200)
1919
public static let dtActionColorBackgroundCriticalDefault = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0)
2020
public static let dtActionColorBackgroundCriticalHover = UIColor(red: 0.576, green: 0.090, blue: 0.227, alpha: 0.200)
21-
public static let dtActionColorBackgroundCriticalPrimaryActive = UIColor(red: 1.000, green: 0.255, blue: 0.357, alpha: 1)
22-
public static let dtActionColorBackgroundCriticalPrimaryDefault = UIColor(red: 0.851, green: 0.039, blue: 0.271, alpha: 1)
23-
public static let dtActionColorBackgroundCriticalPrimaryHover = UIColor(red: 1.000, green: 0.075, blue: 0.337, alpha: 1)
21+
public static let dtActionColorBackgroundCriticalPrimaryActive = UIColor(red: 1.000, green: 0.443, blue: 0.435, alpha: 1)
22+
public static let dtActionColorBackgroundCriticalPrimaryDefault = UIColor(red: 1.000, green: 0.443, blue: 0.435, alpha: 1)
23+
public static let dtActionColorBackgroundCriticalPrimaryHover = UIColor(red: 1.000, green: 0.671, blue: 0.643, alpha: 1)
2424
public static let dtActionColorBackgroundDisabledDefault = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.302)
2525
public static let dtActionColorBackgroundInvertedActive = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0.180)
2626
public static let dtActionColorBackgroundInvertedDefault = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0)
2727
public static let dtActionColorBackgroundInvertedHover = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0.110)
2828
public static let dtActionColorBackgroundInvertedPrimaryActive = UIColor(red: 0.227, green: 0.114, blue: 0.584, alpha: 1)
2929
public static let dtActionColorBackgroundInvertedPrimaryDefault = UIColor(red: 0.090, green: 0.090, blue: 0.090, alpha: 1)
3030
public static let dtActionColorBackgroundInvertedPrimaryHover = UIColor(red: 0.114, green: 0.004, blue: 0.333, alpha: 1)
31-
public static let dtActionColorBackgroundMutedActive = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.141)
31+
public static let dtActionColorBackgroundMutedActive = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.302)
3232
public static let dtActionColorBackgroundMutedDefault = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0)
3333
public static let dtActionColorBackgroundMutedHover = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.180)
34-
public static let dtActionColorBackgroundPositiveActive = UIColor(red: 0.000, green: 0.216, blue: 0.125, alpha: 0.278)
34+
public static let dtActionColorBackgroundPositiveActive = UIColor(red: 0.000, green: 0.733, blue: 0.424, alpha: 0.278)
3535
public static let dtActionColorBackgroundPositiveDefault = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0)
3636
public static let dtActionColorBackgroundPositiveHover = UIColor(red: 0.000, green: 0.310, blue: 0.180, alpha: 0.278)
37-
public static let dtActionColorBackgroundPositivePrimaryActive = UIColor(red: 0.765, green: 1.000, blue: 0.302, alpha: 1)
37+
public static let dtActionColorBackgroundPositivePrimaryActive = UIColor(red: 0.682, green: 0.984, blue: 0.235, alpha: 1)
3838
public static let dtActionColorBackgroundPositivePrimaryDefault = UIColor(red: 0.682, green: 0.984, blue: 0.235, alpha: 1)
3939
public static let dtActionColorBackgroundPositivePrimaryHover = UIColor(red: 0.820, green: 1.000, blue: 0.463, alpha: 1)
4040
public static let dtActionColorBorderBaseOutlinedDefault = UIColor(red: 0.733, green: 0.651, blue: 0.988, alpha: 1)
@@ -126,19 +126,6 @@ public enum DialtoneTokensDpDark {
126126
public static let dtCheckboxSizeHeight = CGFloat(16.00)
127127
public static let dtCheckboxSizeRadius = CGFloat(4.00)
128128
public static let dtCheckboxSizeWidth = CGFloat(16.00)
129-
public static let dtColorActionColorBackgroundBaseActive = UIColor(red: 0.114, green: 0.004, blue: 0.333, alpha: 0.302)
130-
public static let dtColorActionColorBackgroundBaseHover = UIColor(red: 0.565, green: 0.443, blue: 0.988, alpha: 0.200)
131-
public static let dtColorActionColorBackgroundBasePrimaryActive = UIColor(red: 0.565, green: 0.443, blue: 0.988, alpha: 1)
132-
public static let dtColorActionColorBackgroundBasePrimaryDefault = UIColor(red: 0.733, green: 0.651, blue: 0.988, alpha: 1)
133-
public static let dtColorActionColorBackgroundBasePrimaryHover = UIColor(red: 0.827, green: 0.737, blue: 1.000, alpha: 1)
134-
public static let dtColorActionColorBackgroundCriticalActive = UIColor(red: 0.863, green: 0.133, blue: 0.341, alpha: 0.200)
135-
public static let dtColorActionColorBackgroundCriticalPrimaryActive = UIColor(red: 0.851, green: 0.039, blue: 0.271, alpha: 1)
136-
public static let dtColorActionColorBackgroundCriticalPrimaryDefault = UIColor(red: 1.000, green: 0.443, blue: 0.435, alpha: 1)
137-
public static let dtColorActionColorBackgroundCriticalPrimaryHover = UIColor(red: 1.000, green: 0.671, blue: 0.643, alpha: 1)
138-
public static let dtColorActionColorBackgroundMutedActive = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.302)
139-
public static let dtColorActionColorBackgroundMutedHover = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.180)
140-
public static let dtColorActionColorBackgroundPositiveActive = UIColor(red: 0.000, green: 0.733, blue: 0.424, alpha: 0.278)
141-
public static let dtColorActionColorBackgroundPositivePrimaryActive = UIColor(red: 0.682, green: 0.984, blue: 0.235, alpha: 1)
142129
public static let dtColorBorderAccent = UIColor(red: 1.000, green: 0.106, blue: 0.643, alpha: 1)
143130
public static let dtColorBorderBold = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 0.502)
144131
public static let dtColorBorderBoldInverted = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 0.502)
@@ -276,7 +263,6 @@ public enum DialtoneTokensDpDark {
276263
public static let dtColorForegroundTertiaryInverted = UIColor(red: 0.333, green: 0.333, blue: 0.333, alpha: 1)
277264
public static let dtColorForegroundWarning = UIColor(red: 1.000, green: 0.741, blue: 0.282, alpha: 1)
278265
public static let dtColorForegroundWarningInverted = UIColor(red: 0.506, green: 0.314, blue: 0.031, alpha: 1)
279-
public static let dtColorInputsColorForegroundDefault = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 1)
280266
public static let dtColorLinkCritical = UIColor(red: 1.000, green: 0.443, blue: 0.435, alpha: 1)
281267
public static let dtColorLinkCriticalHover = UIColor(red: 1.000, green: 0.671, blue: 0.643, alpha: 1)
282268
public static let dtColorLinkCriticalInverted = UIColor(red: 1.000, green: 0.075, blue: 0.337, alpha: 1)
@@ -376,15 +362,6 @@ public enum DialtoneTokensDpDark {
376362
public static let dtColorSurfaceWarningSubtleInverted = UIColor(red: 1.000, green: 0.980, blue: 0.898, alpha: 1)
377363
public static let dtColorSurfaceWarningSubtleOpaque = UIColor(red: 0.173, green: 0.106, blue: 0.008, alpha: 0.702)
378364
public static let dtColorSurfaceWarningSubtleOpaqueInverted = UIColor(red: 1.000, green: 0.980, blue: 0.898, alpha: 0.702)
379-
public static let dtColorThemeMentionColorBackgroundStrong = UIColor(red: 0.961, green: 0.941, blue: 1.000, alpha: 1)
380-
public static let dtColorThemePresenceColorBackgroundAvailable = UIColor(red: 0.518, green: 0.933, blue: 0.043, alpha: 1)
381-
public static let dtColorThemePresenceColorBackgroundBusy = UIColor(red: 1.000, green: 0.741, blue: 0.282, alpha: 1)
382-
public static let dtColorThemePresenceColorBackgroundBusyUnavailable = UIColor(red: 1.000, green: 0.255, blue: 0.357, alpha: 1)
383-
public static let dtColorThemeSidebarRowColorBackgroundActive = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.149)
384-
public static let dtColorThemeSidebarRowColorBackgroundHover = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.102)
385-
public static let dtColorThemeSidebarSelectedRowColorBackground = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.122)
386-
public static let dtColorThemeTopbarButtonColorBackgroundHover = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.149)
387-
public static let dtColorThemeTopbarFieldColorBackgroundHover = UIColor(red: 0.082, green: 0.082, blue: 0.082, alpha: 1)
388365
public static let dtIconSize100 = CGFloat(10.00) * 0.8 * 1.5
389366
public static let dtIconSize200 = CGFloat(10.00) * 0.8 * 1.75
390367
public static let dtIconSize300 = CGFloat(10.00) * 0.8 * 2.25
@@ -411,7 +388,7 @@ public enum DialtoneTokensDpDark {
411388
public static let dtInputsColorBorderHover = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 0.361)
412389
public static let dtInputsColorBorderSuccess = UIColor(red: 0.820, green: 1.000, blue: 0.463, alpha: 1)
413390
public static let dtInputsColorBorderWarning = UIColor(red: 1.000, green: 0.859, blue: 0.502, alpha: 1)
414-
public static let dtInputsColorForegroundDefault = UIColor(red: 0.780, green: 0.780, blue: 0.780, alpha: 1)
391+
public static let dtInputsColorForegroundDefault = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 1)
415392
public static let dtInputsColorForegroundDisabled = UIColor(red: 0.690, green: 0.690, blue: 0.690, alpha: 1)
416393
public static let dtInputsColorForegroundPlaceholder = UIColor(red: 0.690, green: 0.690, blue: 0.690, alpha: 1)
417394
public static let dtInputsFontSizeLg = CGFloat(10.00) * 1.9
@@ -508,7 +485,7 @@ public enum DialtoneTokensDpDark {
508485
public static let dtSizeBorderFocus = CGFloat(2.00) + CGFloat(1.00)
509486
public static let dtThemeColorBase = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 1)
510487
public static let dtThemeMentionColorBackground = UIColor(red: 0.733, green: 0.651, blue: 0.988, alpha: 1)
511-
public static let dtThemeMentionColorBackgroundStrong = UIColor(red: 0.827, green: 0.737, blue: 1.000, alpha: 1)
488+
public static let dtThemeMentionColorBackgroundStrong = UIColor(red: 0.961, green: 0.941, blue: 1.000, alpha: 1)
512489
public static let dtThemeMentionColorForeground = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 1)
513490
public static let dtThemeMentionColorForegroundStrong = UIColor(red: 0.000, green: 0.000, blue: 0.000, alpha: 1)
514491
public static let dtThemePresenceColorBackgroundAvailable = UIColor(red: 0.518, green: 0.933, blue: 0.043, alpha: 1)
@@ -521,20 +498,20 @@ public enum DialtoneTokensDpDark {
521498
public static let dtThemeSidebarIconColorForeground = UIColor(red: 0.780, green: 0.780, blue: 0.780, alpha: 1)
522499
public static let dtThemeSidebarRowColorBackground = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0)
523500
public static let dtThemeSidebarRowColorBackgroundActive = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.149)
524-
public static let dtThemeSidebarRowColorBackgroundHover = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.110)
501+
public static let dtThemeSidebarRowColorBackgroundHover = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.102)
525502
public static let dtThemeSidebarSectionColorForeground = UIColor(red: 0.690, green: 0.690, blue: 0.690, alpha: 1)
526-
public static let dtThemeSidebarSelectedRowColorBackground = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.090)
503+
public static let dtThemeSidebarSelectedRowColorBackground = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.122)
527504
public static let dtThemeSidebarSelectedRowColorForeground = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 1)
528505
public static let dtThemeSidebarStatusColorForeground = UIColor(red: 0.690, green: 0.690, blue: 0.690, alpha: 1)
529506
public static let dtThemeTopbarButtonColorBackground = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0)
530507
public static let dtThemeTopbarButtonColorBackgroundActive = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.102)
531-
public static let dtThemeTopbarButtonColorBackgroundHover = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.051)
508+
public static let dtThemeTopbarButtonColorBackgroundHover = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.149)
532509
public static let dtThemeTopbarButtonColorForeground = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.651)
533510
public static let dtThemeTopbarButtonColorForegroundHover = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 1)
534511
public static let dtThemeTopbarColorBackground = UIColor(red: 0.122, green: 0.122, blue: 0.122, alpha: 1)
535512
public static let dtThemeTopbarColorForeground = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.800)
536513
public static let dtThemeTopbarFieldColorBackground = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.051)
537-
public static let dtThemeTopbarFieldColorBackgroundHover = UIColor(red: 1.000, green: 1.000, blue: 1.000, alpha: 1)
514+
public static let dtThemeTopbarFieldColorBackgroundHover = UIColor(red: 0.082, green: 0.082, blue: 0.082, alpha: 1)
538515
public static let dtThemeTopbarFieldColorBorder = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0)
539516
public static let dtThemeTopbarFieldColorBorderActive = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.200)
540517
public static let dtThemeTopbarFieldColorBorderHover = UIColor(red: 0.902, green: 0.902, blue: 0.902, alpha: 0.102)

0 commit comments

Comments
 (0)