@dillingerstaffing/strand 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.
- package/css/base.css +1 -1
- package/css/reset.css +1 -1
- package/css/tokens.css +19 -1
- package/dist/tokens.d.ts +1 -1
- package/dist/tokens.js +1 -1
- package/package.json +7 -5
- package/LICENSE +0 -21
package/css/base.css
CHANGED
package/css/reset.css
CHANGED
package/css/tokens.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Strand v0.
|
|
1
|
+
/*! Strand v0.2.0 | MIT License | dillingerstaffing.com */
|
|
2
2
|
|
|
3
3
|
:root {
|
|
4
4
|
/* ═══════════════════════════════════════════
|
|
@@ -44,6 +44,8 @@
|
|
|
44
44
|
--strand-green-positive: #10B981;
|
|
45
45
|
--strand-violet-data: #8B5CF6;
|
|
46
46
|
--strand-red-alert: #EF4444;
|
|
47
|
+
--strand-red-alert-vivid: #DC2626;
|
|
48
|
+
--strand-red-alert-deep: #B91C1C;
|
|
47
49
|
--strand-amber-caution: #F59E0B;
|
|
48
50
|
|
|
49
51
|
/* ── ON-COLORS (contrast-safe text pairings) ── */
|
|
@@ -54,8 +56,13 @@
|
|
|
54
56
|
--strand-on-blue-vivid: #FFFFFF;
|
|
55
57
|
--strand-on-blue-deep: #FFFFFF;
|
|
56
58
|
--strand-on-red-alert: #FFFFFF;
|
|
59
|
+
--strand-on-red-alert-vivid: #FFFFFF;
|
|
60
|
+
--strand-on-red-alert-deep: #FFFFFF;
|
|
57
61
|
--strand-on-teal-vital: #0F172A;
|
|
62
|
+
--strand-on-teal-tint: #0D7377;
|
|
58
63
|
--strand-on-amber-caution: #0F172A;
|
|
64
|
+
--strand-on-amber-tint: #92400E;
|
|
65
|
+
--strand-on-red-tint: #991B1B;
|
|
59
66
|
|
|
60
67
|
/* ── TYPE SCALE (Major Third, 1.250 ratio) ── */
|
|
61
68
|
--strand-text-xs: 0.694rem;
|
|
@@ -131,6 +138,17 @@
|
|
|
131
138
|
--strand-elevation-3: 0 8px 16px rgba(15, 23, 42, 0.06), 0 24px 48px rgba(15, 23, 42, 0.08);
|
|
132
139
|
--strand-elevation-4: 0 16px 32px rgba(15, 23, 42, 0.08), 0 32px 64px rgba(15, 23, 42, 0.12);
|
|
133
140
|
|
|
141
|
+
/* ── INTERACTION: FOCUS ── */
|
|
142
|
+
--strand-focus-ring: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
143
|
+
--strand-focus-ring-error: 0 0 0 3px rgba(239, 68, 68, 0.1);
|
|
144
|
+
|
|
145
|
+
/* ── INTERACTION: HOVER SHADOWS ── */
|
|
146
|
+
--strand-hover-shadow-primary: 0 4px 12px rgba(37, 99, 235, 0.2);
|
|
147
|
+
--strand-hover-shadow-danger: 0 4px 12px rgba(239, 68, 68, 0.2);
|
|
148
|
+
|
|
149
|
+
/* ── INTERACTION: BACKDROP ── */
|
|
150
|
+
--strand-backdrop: rgba(15, 23, 42, 0.5);
|
|
151
|
+
|
|
134
152
|
/* ── SHAPE (border-radius) ── */
|
|
135
153
|
--strand-radius-sm: 4px;
|
|
136
154
|
--strand-radius-md: 6px;
|
package/dist/tokens.d.ts
CHANGED
package/dist/tokens.js
CHANGED
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dillingerstaffing/strand",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Strand Design Language tokens - CSS custom properties and JS constants",
|
|
5
5
|
"author": "Dillinger Staffing <engineering@dillingerstaffing.com> (https://dillingerstaffing.com)",
|
|
6
6
|
"license": "MIT",
|
|
7
|
+
"keywords": ["design-tokens", "css-custom-properties", "design-system", "color-tokens", "typography", "spacing", "motion", "accessibility"],
|
|
7
8
|
"homepage": "https://dillingerstaffing.com/labs/strand",
|
|
8
9
|
"repository": {
|
|
9
10
|
"type": "git",
|
|
@@ -26,6 +27,7 @@
|
|
|
26
27
|
"./css/reset.css": "./css/reset.css",
|
|
27
28
|
"./css/base.css": "./css/base.css"
|
|
28
29
|
},
|
|
30
|
+
"style": "./css/tokens.css",
|
|
29
31
|
"files": [
|
|
30
32
|
"css/",
|
|
31
33
|
"dist/"
|
|
@@ -33,13 +35,13 @@
|
|
|
33
35
|
"sideEffects": [
|
|
34
36
|
"css/*.css"
|
|
35
37
|
],
|
|
36
|
-
"devDependencies": {
|
|
37
|
-
"vitest": "^3.0.0"
|
|
38
|
-
},
|
|
39
38
|
"scripts": {
|
|
40
39
|
"build": "tsc --project tsconfig.json",
|
|
41
40
|
"test": "vitest run",
|
|
42
41
|
"test:watch": "vitest",
|
|
43
42
|
"test:coverage": "vitest run --coverage"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"vitest": "^3.0.0"
|
|
44
46
|
}
|
|
45
|
-
}
|
|
47
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Dillinger Staffing (https://dillingerstaffing.com)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|