@dillingerstaffing/strand 0.1.1 → 0.2.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/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 +12 -1
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,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dillingerstaffing/strand",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
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": [
|
|
8
|
+
"design-tokens",
|
|
9
|
+
"css-custom-properties",
|
|
10
|
+
"design-system",
|
|
11
|
+
"color-tokens",
|
|
12
|
+
"typography",
|
|
13
|
+
"spacing",
|
|
14
|
+
"motion",
|
|
15
|
+
"accessibility"
|
|
16
|
+
],
|
|
7
17
|
"homepage": "https://dillingerstaffing.com/labs/strand",
|
|
8
18
|
"repository": {
|
|
9
19
|
"type": "git",
|
|
@@ -26,6 +36,7 @@
|
|
|
26
36
|
"./css/reset.css": "./css/reset.css",
|
|
27
37
|
"./css/base.css": "./css/base.css"
|
|
28
38
|
},
|
|
39
|
+
"style": "./css/tokens.css",
|
|
29
40
|
"files": [
|
|
30
41
|
"css/",
|
|
31
42
|
"dist/"
|