@loidolt/theme-styles 0.7.0 → 0.8.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/README.md +3 -0
- package/package.json +3 -2
- package/src/accessibility.css +6 -6
- package/src/base.css +1 -1
- package/src/components/actions.css +13 -11
- package/src/components/charts.css +4 -3
- package/src/components/data.css +19 -13
- package/src/components/docs.css +34 -28
- package/src/components/feedback.css +19 -15
- package/src/components/forms.css +43 -30
- package/src/components/layout.css +33 -28
- package/src/components/maps.css +25 -21
- package/src/components/media.css +18 -12
- package/src/components/overlays.css +59 -42
- package/src/components/prose.css +21 -17
- package/src/components/selection.css +29 -22
- package/src/components/surfaces.css +18 -12
- package/src/presets/compact-dark-auto.css +2 -0
- package/src/presets/compact-dark.css +2 -0
- package/src/presets/compact.css +2 -0
- package/src/presets/loidolt-dark-auto.css +2 -0
- package/src/presets/loidolt-dark.css +2 -0
- package/src/presets/loidolt.css +2 -0
- package/src/presets/soft-dark-auto.css +2 -0
- package/src/presets/soft-dark.css +2 -0
- package/src/presets/soft.css +2 -0
- package/src/utilities.css +10 -4
package/src/utilities.css
CHANGED
|
@@ -32,10 +32,14 @@
|
|
|
32
32
|
* scope has to re-declare it. Put this on the wrapper you redefine tokens on:
|
|
33
33
|
*
|
|
34
34
|
* <div class="ldt-theme" style="--loidolt-surface: #10212c; --loidolt-text: #dceaf2">
|
|
35
|
+
*
|
|
36
|
+
* The same goes for `font-family`, which `<html>` sets once: a subtree preset that changes the
|
|
37
|
+
* display face needs it re-declared here to reach running text.
|
|
35
38
|
*/
|
|
36
39
|
.ldt-theme {
|
|
37
40
|
color: var(--loidolt-text);
|
|
38
41
|
background: var(--loidolt-background);
|
|
42
|
+
font-family: var(--loidolt-font-display);
|
|
39
43
|
}
|
|
40
44
|
/* Muted body voice for meta lines (author · timestamp). Unlike .ldt-utility-text it keeps
|
|
41
45
|
sentence case and the body face, so names and dates stay readable. */
|
|
@@ -63,15 +67,17 @@
|
|
|
63
67
|
.ldt-utility-text {
|
|
64
68
|
color: var(--loidolt-text-muted);
|
|
65
69
|
font: var(--loidolt-font-size-xs) var(--loidolt-font-utility);
|
|
66
|
-
|
|
67
|
-
|
|
70
|
+
font-weight: var(--loidolt-label-weight);
|
|
71
|
+
letter-spacing: var(--loidolt-label-tracking);
|
|
72
|
+
text-transform: var(--loidolt-label-transform);
|
|
68
73
|
}
|
|
69
74
|
.ldt-eyebrow {
|
|
70
75
|
margin: 0 0 0.4rem;
|
|
71
76
|
color: var(--loidolt-text-accent);
|
|
72
77
|
font: var(--loidolt-font-size-xs) var(--loidolt-font-utility);
|
|
73
|
-
|
|
74
|
-
|
|
78
|
+
font-weight: var(--loidolt-label-weight);
|
|
79
|
+
letter-spacing: var(--loidolt-label-tracking-wide);
|
|
80
|
+
text-transform: var(--loidolt-label-transform);
|
|
75
81
|
}
|
|
76
82
|
|
|
77
83
|
/* Print-only content — a URL written out after a link, a signature line. The counterpart to
|