@dillingerstaffing/strand-svelte 0.7.0 → 0.8.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/css/strand-ui.css +49 -10
- package/package.json +2 -2
package/dist/css/strand-ui.css
CHANGED
|
@@ -323,21 +323,21 @@
|
|
|
323
323
|
|
|
324
324
|
/* ── Sizes ── */
|
|
325
325
|
.strand-btn--sm {
|
|
326
|
-
padding: var(--strand-space-
|
|
326
|
+
padding: var(--strand-space-2) var(--strand-space-5);
|
|
327
327
|
font-size: var(--strand-text-sm);
|
|
328
328
|
min-height: var(--strand-touch-target);
|
|
329
329
|
}
|
|
330
330
|
|
|
331
331
|
.strand-btn--md {
|
|
332
|
-
padding:
|
|
332
|
+
padding: var(--strand-space-3) var(--strand-space-8);
|
|
333
333
|
font-size: var(--strand-text-sm);
|
|
334
334
|
min-height: var(--strand-touch-target);
|
|
335
335
|
}
|
|
336
336
|
|
|
337
337
|
.strand-btn--lg {
|
|
338
|
-
padding: var(--strand-space-3) var(--strand-space-
|
|
338
|
+
padding: var(--strand-space-3) var(--strand-space-10);
|
|
339
339
|
font-size: var(--strand-text-base);
|
|
340
|
-
min-height:
|
|
340
|
+
min-height: var(--strand-touch-target);
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
/* ── Icon-only ── */
|
|
@@ -363,18 +363,18 @@
|
|
|
363
363
|
|
|
364
364
|
/* ── Primary variant ── */
|
|
365
365
|
.strand-btn--primary {
|
|
366
|
-
background: var(--strand-blue-
|
|
367
|
-
color: var(--strand-on-blue-
|
|
366
|
+
background: var(--strand-blue-deep);
|
|
367
|
+
color: var(--strand-on-blue-deep);
|
|
368
368
|
}
|
|
369
369
|
|
|
370
370
|
.strand-btn--primary:hover:not(:disabled) {
|
|
371
|
-
background: var(--strand-blue-
|
|
371
|
+
background: var(--strand-blue-midnight);
|
|
372
372
|
transform: translateY(-1px);
|
|
373
373
|
box-shadow: var(--strand-hover-shadow-primary);
|
|
374
374
|
}
|
|
375
375
|
|
|
376
376
|
.strand-btn--primary:active:not(:disabled) {
|
|
377
|
-
background: var(--strand-blue-
|
|
377
|
+
background: var(--strand-blue-abyss);
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
/* ── Secondary variant ── */
|
|
@@ -688,7 +688,7 @@
|
|
|
688
688
|
line-height: var(--strand-leading-relaxed);
|
|
689
689
|
color: var(--strand-blue-midnight);
|
|
690
690
|
background: var(--strand-surface-recessed);
|
|
691
|
-
box-shadow:
|
|
691
|
+
box-shadow: var(--strand-shadow-inset);
|
|
692
692
|
border-radius: var(--strand-radius-lg);
|
|
693
693
|
padding: var(--strand-space-3) var(--strand-space-4);
|
|
694
694
|
overflow-x: auto;
|
|
@@ -2671,8 +2671,47 @@
|
|
|
2671
2671
|
|
|
2672
2672
|
.strand-viewport {
|
|
2673
2673
|
background: var(--strand-surface-recessed);
|
|
2674
|
-
box-shadow: inset
|
|
2674
|
+
box-shadow: var(--strand-shadow-inset);
|
|
2675
2675
|
border-radius: var(--strand-radius-lg);
|
|
2676
2676
|
padding: var(--strand-space-6);
|
|
2677
2677
|
}
|
|
2678
2678
|
|
|
2679
|
+
/* ── Overline (specimen label pattern, DL Part IV.5) ── */
|
|
2680
|
+
.strand-overline {
|
|
2681
|
+
font-family: var(--strand-font-mono);
|
|
2682
|
+
font-size: var(--strand-text-xs);
|
|
2683
|
+
font-weight: var(--strand-weight-medium);
|
|
2684
|
+
letter-spacing: var(--strand-tracking-ultra);
|
|
2685
|
+
text-transform: uppercase;
|
|
2686
|
+
color: var(--strand-gray-500);
|
|
2687
|
+
line-height: var(--strand-leading-normal);
|
|
2688
|
+
}
|
|
2689
|
+
|
|
2690
|
+
/* ── Headline (display heading, DL Part IV.5) ── */
|
|
2691
|
+
.strand-headline {
|
|
2692
|
+
font-family: var(--strand-font-mono);
|
|
2693
|
+
font-weight: var(--strand-weight-light);
|
|
2694
|
+
letter-spacing: var(--strand-tracking-widest);
|
|
2695
|
+
text-transform: uppercase;
|
|
2696
|
+
color: var(--strand-blue-midnight);
|
|
2697
|
+
line-height: var(--strand-leading-tight);
|
|
2698
|
+
}
|
|
2699
|
+
|
|
2700
|
+
.strand-headline--xl {
|
|
2701
|
+
font-size: clamp(2.5rem, 5vw + 1rem, 5rem);
|
|
2702
|
+
letter-spacing: 0.35em;
|
|
2703
|
+
}
|
|
2704
|
+
|
|
2705
|
+
.strand-headline--lg {
|
|
2706
|
+
font-size: clamp(1.5rem, 3vw + 0.5rem, 2.5rem);
|
|
2707
|
+
letter-spacing: var(--strand-tracking-tighter);
|
|
2708
|
+
}
|
|
2709
|
+
|
|
2710
|
+
/* ── Lead (intro paragraph, DL Part IV.6) ── */
|
|
2711
|
+
.strand-lead {
|
|
2712
|
+
font-size: var(--strand-text-lg);
|
|
2713
|
+
color: var(--strand-gray-500);
|
|
2714
|
+
max-width: 50ch;
|
|
2715
|
+
line-height: var(--strand-leading-relaxed);
|
|
2716
|
+
}
|
|
2717
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dillingerstaffing/strand-svelte",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "Strand UI - Svelte component library built on the Strand Design Language",
|
|
5
5
|
"author": "Dillinger Staffing <engineering@dillingerstaffing.com> (https://dillingerstaffing.com)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"svelte": "^4.0.0 || ^5.0.0"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@dillingerstaffing/strand": "^0.
|
|
58
|
+
"@dillingerstaffing/strand": "^0.8.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@sveltejs/vite-plugin-svelte": "^5.0.0",
|