@m7kni/tokens 0.2.0 → 0.3.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 +2 -0
- package/dist/swift/DSColorLight.swift +4 -2
- package/dist/tokens.css +6 -2
- package/dist/tokens.dark.css +2 -0
- package/dist/tokens.light.css +4 -2
- package/package.json +1 -1
- package/src/primitive/color.tokens.json +2 -2
- package/src/semantic/dark.tokens.json +10 -0
- package/src/semantic/light.tokens.json +10 -0
|
@@ -21,6 +21,8 @@ public enum DSColorDark {
|
|
|
21
21
|
public static let colorBgTrack = Color(red: 0.2148, green: 0.2451, blue: 0.259)
|
|
22
22
|
public static let colorBorderDefault = Color(red: 0.1654, green: 0.1947, blue: 0.2081)
|
|
23
23
|
public static let colorBorderStrong = Color(red: 0.2513, green: 0.2877, blue: 0.3043)
|
|
24
|
+
public static let colorDiffAdded = Color(red: 0.1098, green: 0.2314, blue: 0.1608) /** Inline revision addition tint. Text on it uses fg.default; additions also carry an underline. */
|
|
25
|
+
public static let colorDiffRemoved = Color(red: 0.302, green: 0.149, blue: 0.1216) /** Inline revision removal tint. Text on it uses fg.default; removals also carry a strike-through. */
|
|
24
26
|
public static let colorFgDefault = Color(red: 0.8807, green: 0.8995, blue: 0.9082)
|
|
25
27
|
public static let colorFgFaint = Color(red: 0.4111, green: 0.453, blue: 0.4723) /** Decorative/disabled/placeholder only — exempt from AA text checks. */
|
|
26
28
|
public static let colorFgMuted = Color(red: 0.5851, green: 0.6294, blue: 0.6499)
|
|
@@ -21,6 +21,8 @@ public enum DSColorLight {
|
|
|
21
21
|
public static let colorBgTrack = Color(red: 0.7816, green: 0.8124, blue: 0.8267)
|
|
22
22
|
public static let colorBorderDefault = Color(red: 0.85, green: 0.875, blue: 0.8866)
|
|
23
23
|
public static let colorBorderStrong = Color(red: 0.744, green: 0.7745, blue: 0.7887)
|
|
24
|
+
public static let colorDiffAdded = Color(red: 0.8627, green: 0.9373, blue: 0.8863) /** Inline revision addition tint. Text on it uses fg.default; additions also carry an underline. */
|
|
25
|
+
public static let colorDiffRemoved = Color(red: 0.9569, green: 0.8745, blue: 0.8549) /** Inline revision removal tint. Text on it uses fg.default; removals also carry a strike-through. */
|
|
24
26
|
public static let colorFgDefault = Color(red: 0.0997, green: 0.1275, blue: 0.14)
|
|
25
27
|
public static let colorFgFaint = Color(red: 0.5259, green: 0.5695, blue: 0.5895) /** Decorative/disabled/placeholder only — exempt from AA text checks, never for readable copy. */
|
|
26
28
|
public static let colorFgMuted = Color(red: 0.3487, green: 0.3982, blue: 0.4208)
|
|
@@ -29,9 +31,9 @@ public enum DSColorLight {
|
|
|
29
31
|
public static let colorFgSoft = Color(red: 0.2184, green: 0.2568, blue: 0.2743)
|
|
30
32
|
public static let colorStatusFail = Color(red: 0.6588, green: 0.2275, blue: 0.1804)
|
|
31
33
|
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. */
|
|
32
|
-
public static let colorStatusOk = Color(red: 0.
|
|
34
|
+
public static let colorStatusOk = Color(red: 0.1373, green: 0.451, blue: 0.2745)
|
|
33
35
|
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
36
|
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
37
|
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. */
|
|
36
|
-
public static let colorStatusWarn = Color(red: 0.
|
|
38
|
+
public static let colorStatusWarn = Color(red: 0.5333, green: 0.3647, blue: 0.0039)
|
|
37
39
|
}
|
package/dist/tokens.css
CHANGED
|
@@ -52,13 +52,15 @@
|
|
|
52
52
|
--color-fg-on-inverse: oklch(0.93 0.005 227);
|
|
53
53
|
--color-border-default: oklch(0.9 0.008 227);
|
|
54
54
|
--color-border-strong: oklch(0.82 0.01 227);
|
|
55
|
-
--color-status-ok: #
|
|
56
|
-
--color-status-warn: #
|
|
55
|
+
--color-status-ok: #237346;
|
|
56
|
+
--color-status-warn: #885d01;
|
|
57
57
|
--color-status-fail: #a83a2e;
|
|
58
58
|
--color-status-running: #1d6a8a; /** The system is doing this now. Filled right-pointing triangle; the only status glyph that implies motion. */
|
|
59
59
|
--color-status-queued: #1d6a8a; /** Accepted and waiting to start. Hollow diamond: in hand, not yet acting. */
|
|
60
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
61
|
--color-status-info: oklch(0.5 0.018 227); /** A note, not a state. Hollow circle, the unfilled twin of FAIL. */
|
|
62
|
+
--color-diff-added: #dcefe2; /** Inline revision addition tint. Text on it uses fg.default; additions also carry an underline. */
|
|
63
|
+
--color-diff-removed: #f4dfda; /** Inline revision removal tint. Text on it uses fg.default; removals also carry a strike-through. */
|
|
62
64
|
--color-accent-hover: #175874;
|
|
63
65
|
}
|
|
64
66
|
|
|
@@ -91,5 +93,7 @@
|
|
|
91
93
|
--color-status-queued: #66aecb; /** Accepted and waiting to start. Hollow diamond: in hand, not yet acting. */
|
|
92
94
|
--color-status-retired: oklch(0.7 0.015 227); /** No longer live and carrying no verdict. Hollow square, the unfilled twin of OK. */
|
|
93
95
|
--color-status-info: oklch(0.7 0.015 227); /** A note, not a state. Hollow circle, the unfilled twin of FAIL. */
|
|
96
|
+
--color-diff-added: #1c3b29; /** Inline revision addition tint. Text on it uses fg.default; additions also carry an underline. */
|
|
97
|
+
--color-diff-removed: #4d261f; /** Inline revision removal tint. Text on it uses fg.default; removals also carry a strike-through. */
|
|
94
98
|
--color-accent-hover: #7cbcd6;
|
|
95
99
|
}
|
package/dist/tokens.dark.css
CHANGED
|
@@ -27,5 +27,7 @@
|
|
|
27
27
|
--color-status-queued: #66aecb; /** Accepted and waiting to start. Hollow diamond: in hand, not yet acting. */
|
|
28
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
29
|
--color-status-info: oklch(0.7 0.015 227); /** A note, not a state. Hollow circle, the unfilled twin of FAIL. */
|
|
30
|
+
--color-diff-added: #1c3b29; /** Inline revision addition tint. Text on it uses fg.default; additions also carry an underline. */
|
|
31
|
+
--color-diff-removed: #4d261f; /** Inline revision removal tint. Text on it uses fg.default; removals also carry a strike-through. */
|
|
30
32
|
--color-accent-hover: #7cbcd6;
|
|
31
33
|
}
|
package/dist/tokens.light.css
CHANGED
|
@@ -51,12 +51,14 @@
|
|
|
51
51
|
--color-fg-on-inverse: oklch(0.93 0.005 227);
|
|
52
52
|
--color-border-default: oklch(0.9 0.008 227);
|
|
53
53
|
--color-border-strong: oklch(0.82 0.01 227);
|
|
54
|
-
--color-status-ok: #
|
|
55
|
-
--color-status-warn: #
|
|
54
|
+
--color-status-ok: #237346;
|
|
55
|
+
--color-status-warn: #885d01;
|
|
56
56
|
--color-status-fail: #a83a2e;
|
|
57
57
|
--color-status-running: #1d6a8a; /** The system is doing this now. Filled right-pointing triangle; the only status glyph that implies motion. */
|
|
58
58
|
--color-status-queued: #1d6a8a; /** Accepted and waiting to start. Hollow diamond: in hand, not yet acting. */
|
|
59
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
60
|
--color-status-info: oklch(0.5 0.018 227); /** A note, not a state. Hollow circle, the unfilled twin of FAIL. */
|
|
61
|
+
--color-diff-added: #dcefe2; /** Inline revision addition tint. Text on it uses fg.default; additions also carry an underline. */
|
|
62
|
+
--color-diff-removed: #f4dfda; /** Inline revision removal tint. Text on it uses fg.default; removals also carry a strike-through. */
|
|
61
63
|
--color-accent-hover: #175874;
|
|
62
64
|
}
|
package/package.json
CHANGED
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"$value": "#5fae7f"
|
|
108
108
|
},
|
|
109
109
|
"600": {
|
|
110
|
-
"$value": "#
|
|
110
|
+
"$value": "#237346"
|
|
111
111
|
},
|
|
112
112
|
"$type": "color"
|
|
113
113
|
},
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"$value": "#c9a04a"
|
|
117
117
|
},
|
|
118
118
|
"600": {
|
|
119
|
-
"$value": "#
|
|
119
|
+
"$value": "#885d01"
|
|
120
120
|
},
|
|
121
121
|
"$type": "color"
|
|
122
122
|
},
|
|
@@ -86,6 +86,16 @@
|
|
|
86
86
|
"$description": "A note, not a state. Hollow circle, the unfilled twin of FAIL."
|
|
87
87
|
}
|
|
88
88
|
},
|
|
89
|
+
"diff": {
|
|
90
|
+
"added": {
|
|
91
|
+
"$value": "#1c3b29",
|
|
92
|
+
"$description": "Inline revision addition tint. Text on it uses fg.default; additions also carry an underline."
|
|
93
|
+
},
|
|
94
|
+
"removed": {
|
|
95
|
+
"$value": "#4d261f",
|
|
96
|
+
"$description": "Inline revision removal tint. Text on it uses fg.default; removals also carry a strike-through."
|
|
97
|
+
}
|
|
98
|
+
},
|
|
89
99
|
"accent": {
|
|
90
100
|
"hover": {
|
|
91
101
|
"$value": "#7cbcd6"
|
|
@@ -86,6 +86,16 @@
|
|
|
86
86
|
"$description": "A note, not a state. Hollow circle, the unfilled twin of FAIL."
|
|
87
87
|
}
|
|
88
88
|
},
|
|
89
|
+
"diff": {
|
|
90
|
+
"added": {
|
|
91
|
+
"$value": "#dcefe2",
|
|
92
|
+
"$description": "Inline revision addition tint. Text on it uses fg.default; additions also carry an underline."
|
|
93
|
+
},
|
|
94
|
+
"removed": {
|
|
95
|
+
"$value": "#f4dfda",
|
|
96
|
+
"$description": "Inline revision removal tint. Text on it uses fg.default; removals also carry a strike-through."
|
|
97
|
+
}
|
|
98
|
+
},
|
|
89
99
|
"accent": {
|
|
90
100
|
"hover": {
|
|
91
101
|
"$value": "{petrol.700}"
|