@m7kni/tokens 0.1.1 → 0.2.1

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.
@@ -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 colorStatusOk = Color(red: 0.1843, green: 0.4902, blue: 0.3098)
32
- public static let colorStatusWarn = Color(red: 0.5608, green: 0.3922, blue: 0.0627)
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. */
32
+ public static let colorStatusOk = Color(red: 0.1373, green: 0.451, blue: 0.2745)
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. */
36
+ public static let colorStatusWarn = Color(red: 0.5333, green: 0.3647, blue: 0.0039)
33
37
  }
package/dist/tokens.css CHANGED
@@ -52,9 +52,13 @@
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: #2f7d4f;
56
- --color-status-warn: #8f6410;
55
+ --color-status-ok: #237346;
56
+ --color-status-warn: #885d01;
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
  }
@@ -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
  }
@@ -51,8 +51,12 @@
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: #2f7d4f;
55
- --color-status-warn: #8f6410;
54
+ --color-status-ok: #237346;
55
+ --color-status-warn: #885d01;
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m7kni/tokens",
3
- "version": "0.1.1",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "build": "node build.mjs"
@@ -107,7 +107,7 @@
107
107
  "$value": "#5fae7f"
108
108
  },
109
109
  "600": {
110
- "$value": "#2f7d4f"
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": "#8f6410"
119
+ "$value": "#885d01"
120
120
  },
121
121
  "$type": "color"
122
122
  },
@@ -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": {