@adminiumjs/tokens 0.3.20 → 0.3.21

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/tokens.css +23 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminiumjs/tokens",
3
- "version": "0.3.20",
3
+ "version": "0.3.21",
4
4
  "license": "AGPL-3.0-only",
5
5
  "repository": {
6
6
  "type": "git",
package/src/tokens.css CHANGED
@@ -91,6 +91,19 @@
91
91
  --method-batch: #0f766e;
92
92
  --method-batch-soft: #e2f4f2;
93
93
  --method-batch-soft-solid: var(--method-batch-soft);
94
+ /* SOURCE CODE AS TEXT TO EDIT (the Designer's Code tab), on --surface with the caret's line
95
+ tinted by --cur-line. Eight are the design's own; the comment is not: its #8a8a96 measured
96
+ 3.01:1, and #6d6d79 is the lightest grey of that hue that clears 4.5:1 on --surface and on
97
+ the line's tint under every accent (4.51:1 at the worst). Punctuation and headings are
98
+ --fg-muted and --fg. */
99
+ --syn-kw: #7c3aed;
100
+ --syn-str: #0f766e;
101
+ --syn-tag: #be123c;
102
+ --syn-attr: #a35a00;
103
+ --syn-fn: #2563eb;
104
+ --syn-com: #6d6d79;
105
+ --syn-num: #c2410c;
106
+ --cur-line: color-mix(in srgb, var(--accent) 6%, transparent);
94
107
  --shadow: 0 1px 2px rgba(20,20,35,.04), 0 1px 3px rgba(20,20,35,.05);
95
108
  --shadow-md: 0 4px 14px rgba(20,20,35,.09);
96
109
  --shadow-lg: 0 12px 34px rgba(20,20,35,.13);
@@ -150,6 +163,16 @@
150
163
  --method-batch: #5ed6c8;
151
164
  --method-batch-soft: rgba(94,214,200,.13);
152
165
  --method-batch-soft-solid: color-mix(in srgb, var(--method-batch) 13%, var(--surface));
166
+ /* The comment: the design's #6e6e7a measured 3.28:1; #858591 is the darkest grey of that hue
167
+ that clears 4.5:1 on --surface and on the line's tint (4.53:1). */
168
+ --syn-kw: #c4a5ff;
169
+ --syn-str: #5fd4b8;
170
+ --syn-tag: #ff8fa3;
171
+ --syn-attr: #f5b971;
172
+ --syn-fn: #8ab4ff;
173
+ --syn-com: #858591;
174
+ --syn-num: #ffa070;
175
+ --cur-line: rgba(255,255,255,.045);
153
176
  --shadow: 0 1px 2px rgba(0,0,0,.4);
154
177
  --shadow-md: 0 6px 20px rgba(0,0,0,.5);
155
178
  --shadow-lg: 0 16px 40px rgba(0,0,0,.6);