@klodd/ds 3.18.0 → 3.19.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/components/hero.css +16 -8
- package/package.json +1 -1
package/css/components/hero.css
CHANGED
|
@@ -36,12 +36,15 @@
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
.hero__label {
|
|
39
|
+
/* 2026-05-13: text-transform: uppercase borttaget. Labels skrivs
|
|
40
|
+
sentence-case i template ("Din dagsbudget", inte "DIN DAGSBUDGET").
|
|
41
|
+
Det matchar svensk grafisk konvention + var hero-hierarki kommer
|
|
42
|
+
fran font-size och weight, inte fran caps. */
|
|
39
43
|
font-size: var(--fs-12);
|
|
40
44
|
font-weight: var(--fw-medium);
|
|
41
45
|
color: var(--text-muted);
|
|
42
|
-
letter-spacing: var(--ls-
|
|
43
|
-
|
|
44
|
-
margin: 0 0 var(--space-8);
|
|
46
|
+
letter-spacing: var(--ls-tight);
|
|
47
|
+
margin: 0 0 var(--space-12);
|
|
45
48
|
}
|
|
46
49
|
|
|
47
50
|
.hero__label--muted {
|
|
@@ -49,7 +52,6 @@
|
|
|
49
52
|
font-weight: var(--fw-regular);
|
|
50
53
|
color: var(--text-disabled);
|
|
51
54
|
letter-spacing: 0.03em;
|
|
52
|
-
text-transform: lowercase;
|
|
53
55
|
opacity: 0.7;
|
|
54
56
|
}
|
|
55
57
|
|
|
@@ -60,7 +62,7 @@
|
|
|
60
62
|
letter-spacing: var(--ls-tightest, -0.04em);
|
|
61
63
|
color: var(--text-default);
|
|
62
64
|
line-height: var(--lh-tight);
|
|
63
|
-
margin: 0 0 var(--space-
|
|
65
|
+
margin: 0 0 var(--space-12);
|
|
64
66
|
font-variant-numeric: tabular-nums;
|
|
65
67
|
}
|
|
66
68
|
|
|
@@ -75,11 +77,17 @@
|
|
|
75
77
|
}
|
|
76
78
|
|
|
77
79
|
.hero__amount-row {
|
|
80
|
+
/* 2026-05-13: justify-content center → flex-start och gap 10 → 16.
|
|
81
|
+
Amount-row anvands inom .panel/.collapsible-kontext (Ekonom
|
|
82
|
+
Gemensamma utgifter) dar parent ar text-align:left. Center-just
|
|
83
|
+
overrode den left-align via flex. Nu foljer amount-row parent-
|
|
84
|
+
justification. Gap-16 ger luft mellan summa och adjacent
|
|
85
|
+
actions-knappar (btn-copy, btn-bank). */
|
|
78
86
|
display: flex;
|
|
79
87
|
align-items: center;
|
|
80
|
-
justify-content:
|
|
81
|
-
gap: var(--space-
|
|
82
|
-
margin-bottom: var(--space-
|
|
88
|
+
justify-content: flex-start;
|
|
89
|
+
gap: var(--space-16);
|
|
90
|
+
margin-bottom: var(--space-12);
|
|
83
91
|
}
|
|
84
92
|
|
|
85
93
|
.hero__amount-row .hero__amount,
|