@m7kni/tokens 0.1.1 → 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/swift/DSColorDark.swift +4 -0
- package/dist/swift/DSColorLight.swift +4 -0
- package/dist/tokens.css +8 -0
- package/dist/tokens.dark.css +4 -0
- package/dist/tokens.light.css +4 -0
- package/package.json +1 -1
- package/src/semantic/dark.tokens.json +16 -0
- package/src/semantic/light.tokens.json +16 -0
|
@@ -28,6 +28,10 @@ public enum DSColorDark {
|
|
|
28
28
|
public static let colorFgOnInverse = Color(red: 0.8807, green: 0.8995, blue: 0.9082)
|
|
29
29
|
public static let colorFgSoft = Color(red: 0.7191, green: 0.7494, blue: 0.7635)
|
|
30
30
|
public static let colorStatusFail = Color(red: 0.851, green: 0.4824, blue: 0.3922)
|
|
31
|
+
public static let colorStatusInfo = Color(red: 0.5851, green: 0.6294, blue: 0.6499) /** A note, not a state. Hollow circle, the unfilled twin of FAIL. */
|
|
31
32
|
public static let colorStatusOk = Color(red: 0.3725, green: 0.6824, blue: 0.498)
|
|
33
|
+
public static let colorStatusQueued = Color(red: 0.4, green: 0.6824, blue: 0.7961) /** Accepted and waiting to start. Hollow diamond: in hand, not yet acting. */
|
|
34
|
+
public static let colorStatusRetired = Color(red: 0.5851, green: 0.6294, blue: 0.6499) /** No longer live and carrying no verdict. Hollow square, the unfilled twin of OK. */
|
|
35
|
+
public static let colorStatusRunning = Color(red: 0.4, green: 0.6824, blue: 0.7961) /** The system is doing this now. Filled right-pointing triangle; the only status glyph that implies motion. */
|
|
32
36
|
public static let colorStatusWarn = Color(red: 0.7882, green: 0.6275, blue: 0.2902)
|
|
33
37
|
}
|
|
@@ -28,6 +28,10 @@ public enum DSColorLight {
|
|
|
28
28
|
public static let colorFgOnInverse = Color(red: 0.8961, green: 0.9118, blue: 0.9191)
|
|
29
29
|
public static let colorFgSoft = Color(red: 0.2184, green: 0.2568, blue: 0.2743)
|
|
30
30
|
public static let colorStatusFail = Color(red: 0.6588, green: 0.2275, blue: 0.1804)
|
|
31
|
+
public static let colorStatusInfo = Color(red: 0.3487, green: 0.3982, blue: 0.4208) /** A note, not a state. Hollow circle, the unfilled twin of FAIL. */
|
|
31
32
|
public static let colorStatusOk = Color(red: 0.1843, green: 0.4902, blue: 0.3098)
|
|
33
|
+
public static let colorStatusQueued = Color(red: 0.1137, green: 0.4157, blue: 0.5412) /** Accepted and waiting to start. Hollow diamond: in hand, not yet acting. */
|
|
34
|
+
public static let colorStatusRetired = Color(red: 0.3487, green: 0.3982, blue: 0.4208) /** No longer live and carrying no verdict. Hollow square, the unfilled twin of OK. */
|
|
35
|
+
public static let colorStatusRunning = Color(red: 0.1137, green: 0.4157, blue: 0.5412) /** The system is doing this now. Filled right-pointing triangle; the only status glyph that implies motion. */
|
|
32
36
|
public static let colorStatusWarn = Color(red: 0.5608, green: 0.3922, blue: 0.0627)
|
|
33
37
|
}
|
package/dist/tokens.css
CHANGED
|
@@ -55,6 +55,10 @@
|
|
|
55
55
|
--color-status-ok: #2f7d4f;
|
|
56
56
|
--color-status-warn: #8f6410;
|
|
57
57
|
--color-status-fail: #a83a2e;
|
|
58
|
+
--color-status-running: #1d6a8a; /** The system is doing this now. Filled right-pointing triangle; the only status glyph that implies motion. */
|
|
59
|
+
--color-status-queued: #1d6a8a; /** Accepted and waiting to start. Hollow diamond: in hand, not yet acting. */
|
|
60
|
+
--color-status-retired: oklch(0.5 0.018 227); /** No longer live and carrying no verdict. Hollow square, the unfilled twin of OK. */
|
|
61
|
+
--color-status-info: oklch(0.5 0.018 227); /** A note, not a state. Hollow circle, the unfilled twin of FAIL. */
|
|
58
62
|
--color-accent-hover: #175874;
|
|
59
63
|
}
|
|
60
64
|
|
|
@@ -83,5 +87,9 @@
|
|
|
83
87
|
--color-status-ok: #5fae7f;
|
|
84
88
|
--color-status-warn: #c9a04a;
|
|
85
89
|
--color-status-fail: #d97b64;
|
|
90
|
+
--color-status-running: #66aecb; /** The system is doing this now. Filled right-pointing triangle; the only status glyph that implies motion. */
|
|
91
|
+
--color-status-queued: #66aecb; /** Accepted and waiting to start. Hollow diamond: in hand, not yet acting. */
|
|
92
|
+
--color-status-retired: oklch(0.7 0.015 227); /** No longer live and carrying no verdict. Hollow square, the unfilled twin of OK. */
|
|
93
|
+
--color-status-info: oklch(0.7 0.015 227); /** A note, not a state. Hollow circle, the unfilled twin of FAIL. */
|
|
86
94
|
--color-accent-hover: #7cbcd6;
|
|
87
95
|
}
|
package/dist/tokens.dark.css
CHANGED
|
@@ -23,5 +23,9 @@
|
|
|
23
23
|
--color-status-ok: #5fae7f;
|
|
24
24
|
--color-status-warn: #c9a04a;
|
|
25
25
|
--color-status-fail: #d97b64;
|
|
26
|
+
--color-status-running: #66aecb; /** The system is doing this now. Filled right-pointing triangle; the only status glyph that implies motion. */
|
|
27
|
+
--color-status-queued: #66aecb; /** Accepted and waiting to start. Hollow diamond: in hand, not yet acting. */
|
|
28
|
+
--color-status-retired: oklch(0.7 0.015 227); /** No longer live and carrying no verdict. Hollow square, the unfilled twin of OK. */
|
|
29
|
+
--color-status-info: oklch(0.7 0.015 227); /** A note, not a state. Hollow circle, the unfilled twin of FAIL. */
|
|
26
30
|
--color-accent-hover: #7cbcd6;
|
|
27
31
|
}
|
package/dist/tokens.light.css
CHANGED
|
@@ -54,5 +54,9 @@
|
|
|
54
54
|
--color-status-ok: #2f7d4f;
|
|
55
55
|
--color-status-warn: #8f6410;
|
|
56
56
|
--color-status-fail: #a83a2e;
|
|
57
|
+
--color-status-running: #1d6a8a; /** The system is doing this now. Filled right-pointing triangle; the only status glyph that implies motion. */
|
|
58
|
+
--color-status-queued: #1d6a8a; /** Accepted and waiting to start. Hollow diamond: in hand, not yet acting. */
|
|
59
|
+
--color-status-retired: oklch(0.5 0.018 227); /** No longer live and carrying no verdict. Hollow square, the unfilled twin of OK. */
|
|
60
|
+
--color-status-info: oklch(0.5 0.018 227); /** A note, not a state. Hollow circle, the unfilled twin of FAIL. */
|
|
57
61
|
--color-accent-hover: #175874;
|
|
58
62
|
}
|
package/package.json
CHANGED
|
@@ -68,6 +68,22 @@
|
|
|
68
68
|
},
|
|
69
69
|
"fail": {
|
|
70
70
|
"$value": "{red.300}"
|
|
71
|
+
},
|
|
72
|
+
"running": {
|
|
73
|
+
"$value": "{petrol.300}",
|
|
74
|
+
"$description": "The system is doing this now. Filled right-pointing triangle; the only status glyph that implies motion."
|
|
75
|
+
},
|
|
76
|
+
"queued": {
|
|
77
|
+
"$value": "{petrol.300}",
|
|
78
|
+
"$description": "Accepted and waiting to start. Hollow diamond: in hand, not yet acting."
|
|
79
|
+
},
|
|
80
|
+
"retired": {
|
|
81
|
+
"$value": "{neutralDark.600}",
|
|
82
|
+
"$description": "No longer live and carrying no verdict. Hollow square, the unfilled twin of OK."
|
|
83
|
+
},
|
|
84
|
+
"info": {
|
|
85
|
+
"$value": "{neutralDark.600}",
|
|
86
|
+
"$description": "A note, not a state. Hollow circle, the unfilled twin of FAIL."
|
|
71
87
|
}
|
|
72
88
|
},
|
|
73
89
|
"accent": {
|
|
@@ -68,6 +68,22 @@
|
|
|
68
68
|
},
|
|
69
69
|
"fail": {
|
|
70
70
|
"$value": "{red.600}"
|
|
71
|
+
},
|
|
72
|
+
"running": {
|
|
73
|
+
"$value": "{petrol.600}",
|
|
74
|
+
"$description": "The system is doing this now. Filled right-pointing triangle; the only status glyph that implies motion."
|
|
75
|
+
},
|
|
76
|
+
"queued": {
|
|
77
|
+
"$value": "{petrol.600}",
|
|
78
|
+
"$description": "Accepted and waiting to start. Hollow diamond: in hand, not yet acting."
|
|
79
|
+
},
|
|
80
|
+
"retired": {
|
|
81
|
+
"$value": "{neutral.600}",
|
|
82
|
+
"$description": "No longer live and carrying no verdict. Hollow square, the unfilled twin of OK."
|
|
83
|
+
},
|
|
84
|
+
"info": {
|
|
85
|
+
"$value": "{neutral.600}",
|
|
86
|
+
"$description": "A note, not a state. Hollow circle, the unfilled twin of FAIL."
|
|
71
87
|
}
|
|
72
88
|
},
|
|
73
89
|
"accent": {
|