@refrakt-md/lumina 0.41.0 → 0.41.2
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@refrakt-md/lumina",
|
|
3
3
|
"description": "Lumina theme for refrakt.md — design tokens, CSS, identity transform, and layout configs",
|
|
4
|
-
"version": "0.41.
|
|
4
|
+
"version": "0.41.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -86,10 +86,10 @@
|
|
|
86
86
|
"generate-tokens": "node scripts/generate-tokens.mjs"
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@refrakt-md/runes": "0.41.
|
|
90
|
-
"@refrakt-md/skeleton": "0.41.
|
|
91
|
-
"@refrakt-md/transform": "0.41.
|
|
92
|
-
"@refrakt-md/types": "0.41.
|
|
89
|
+
"@refrakt-md/runes": "0.41.2",
|
|
90
|
+
"@refrakt-md/skeleton": "0.41.2",
|
|
91
|
+
"@refrakt-md/transform": "0.41.2",
|
|
92
|
+
"@refrakt-md/types": "0.41.2"
|
|
93
93
|
},
|
|
94
94
|
"devDependencies": {
|
|
95
95
|
"postcss": "^8.4.0"
|
|
@@ -87,14 +87,21 @@
|
|
|
87
87
|
* Rune blocks (elements with data-rune) get section-level margins.
|
|
88
88
|
* Prose elements (p, h2, pre, table, etc.) keep their natural flow
|
|
89
89
|
* spacing from global.css — only gaining section margins when
|
|
90
|
-
* immediately adjacent to a rune block.
|
|
91
|
-
|
|
90
|
+
* immediately adjacent to a rune block.
|
|
91
|
+
*
|
|
92
|
+
* A drawer enhanced into a `<dialog>` is not in the flow: it is a modal
|
|
93
|
+
* panel in the top layer, positioned by its own insets. Both rules skip
|
|
94
|
+
* it — otherwise the open panel keeps a 4rem margin top and bottom and
|
|
95
|
+
* stops short of the viewport edges (BUG-042), and prose after a closed,
|
|
96
|
+
* invisible drawer gains a section gap. The no-JS fallback is a
|
|
97
|
+
* `<section>`, which stays in the flow and keeps its spacing. */
|
|
98
|
+
.rf-page-content > article > * + [data-rune]:not(dialog) {
|
|
92
99
|
margin-top: var(--rf-spacing-section, 4rem);
|
|
93
100
|
margin-bottom: var(--rf-spacing-section, 4rem);
|
|
94
101
|
}
|
|
95
102
|
/* Prose after a rune block: section gap above only.
|
|
96
103
|
* No margin-bottom so subsequent prose keeps natural flow spacing. */
|
|
97
|
-
.rf-page-content > article > [data-rune] + :not([data-rune]) {
|
|
104
|
+
.rf-page-content > article > [data-rune]:not(dialog) + :not([data-rune]) {
|
|
98
105
|
margin-top: var(--rf-spacing-section, 4rem);
|
|
99
106
|
}
|
|
100
107
|
.rf-page-content > article > [data-spacing="flush"] {
|
|
@@ -17,6 +17,17 @@
|
|
|
17
17
|
margin: 0 0 0.25rem;
|
|
18
18
|
color: var(--rf-color-text);
|
|
19
19
|
}
|
|
20
|
+
/* "0.41.0 · Composed runes you can ship". The dot is drawn here rather than
|
|
21
|
+
* written in the heading, with empty alt text so it is not announced. */
|
|
22
|
+
.rf-changelog-release__title {
|
|
23
|
+
font-weight: var(--rf-weight-semibold);
|
|
24
|
+
}
|
|
25
|
+
.rf-changelog-release__title::before {
|
|
26
|
+
content: "·" / "";
|
|
27
|
+
margin-right: 0.35em;
|
|
28
|
+
color: var(--rf-color-muted);
|
|
29
|
+
font-weight: var(--rf-weight-normal);
|
|
30
|
+
}
|
|
20
31
|
.rf-changelog-release time {
|
|
21
32
|
font-size: var(--rf-text-xs);
|
|
22
33
|
color: var(--rf-color-muted);
|
|
@@ -31,7 +42,10 @@
|
|
|
31
42
|
line-height: var(--rf-leading-relaxed);
|
|
32
43
|
margin-bottom: 0.25rem;
|
|
33
44
|
}
|
|
34
|
-
|
|
45
|
+
/* A label leading a list item ("- **Added** …") is a badge. Bold anywhere
|
|
46
|
+
* else in a release — a summary paragraph, an "Action needed" hint — stays
|
|
47
|
+
* ordinary bold rather than turning into small capitals. */
|
|
48
|
+
.rf-changelog-release li > strong:first-child {
|
|
35
49
|
font-size: var(--rf-text-xs);
|
|
36
50
|
font-weight: var(--rf-weight-bold);
|
|
37
51
|
text-transform: uppercase;
|
package/styles/runes/drawer.css
CHANGED
|
@@ -14,9 +14,10 @@
|
|
|
14
14
|
* (right/left) or height (top/bottom). Slide-in animation uses
|
|
15
15
|
* `@starting-style` to interpolate from off-screen on open.
|
|
16
16
|
*
|
|
17
|
-
*
|
|
18
|
-
* (`html.rf-drawer-open` → `overflow: hidden`
|
|
19
|
-
*
|
|
17
|
+
* Page-scroll lock is applied as a class on `<html>` by the behavior
|
|
18
|
+
* (`html.rf-drawer-open` → `overflow: hidden` on the root only, never on
|
|
19
|
+
* `<body>`, see BUG-044) so mobile Safari doesn't scroll the page
|
|
20
|
+
* underneath the open dialog.
|
|
20
21
|
*/
|
|
21
22
|
|
|
22
23
|
.rf-drawer {
|