@m7kni/tokens 0.2.1 → 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 +2 -0
- package/dist/tokens.css +4 -0
- package/dist/tokens.dark.css +2 -0
- package/dist/tokens.light.css +2 -0
- package/package.json +1 -1
- 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)
|
package/dist/tokens.css
CHANGED
|
@@ -59,6 +59,8 @@
|
|
|
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
|
@@ -58,5 +58,7 @@
|
|
|
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
|
@@ -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}"
|