rapier-markdown-kit 1.1.2 → 1.1.3
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 +1 -1
- package/style.css +8 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rapier-markdown-kit",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "Read, write and style Self-contained Markdown: the universal stylesheet, picture layout, text marks, picture appendix, line planner and Will/1 markers. MIT, no dependencies.",
|
|
5
5
|
"author": "Jack Skipworth",
|
|
6
6
|
"license": "MIT",
|
package/style.css
CHANGED
|
@@ -54,17 +54,16 @@
|
|
|
54
54
|
--md-jump-marker-inline-start:-1.18rem;
|
|
55
55
|
--md-jump-marker-center:1em;
|
|
56
56
|
--md-diagram-ink:light-dark(#121212,#fafafa);
|
|
57
|
-
--md-diagram-box:light-dark(#
|
|
58
|
-
--md-diagram-decision:light-dark(#d5eeea,#0e302c);
|
|
57
|
+
--md-diagram-box:light-dark(#f0f0f0,#1d1d1d);
|
|
59
58
|
--md-diagram-accent:light-dark(#12a594,#12a594);
|
|
60
59
|
--md-diagram-on-accent:light-dark(#000000,#000000);
|
|
61
|
-
--md-diagram-step:light-dark(#
|
|
60
|
+
--md-diagram-step:light-dark(#666666,#999999);
|
|
62
61
|
--md-diagram-stroke:2px;
|
|
63
62
|
--md-diagram-hairline:1px;
|
|
64
63
|
--md-diagram-caption-size:10px;
|
|
65
64
|
--md-diagram-caption-track:.12em;
|
|
66
65
|
--md-diagram-title-track:.16em;
|
|
67
|
-
--md-diagram-step-scale
|
|
66
|
+
--md-diagram-step-scale:.8;
|
|
68
67
|
--md-diagram-node-fill:var(--md-diagram-box);
|
|
69
68
|
--md-diagram-inner-line:color-mix(in srgb,var(--md-color-text) 12%,var(--md-color-bg));
|
|
70
69
|
--md-diagram-node-line:color-mix(in srgb,var(--md-color-text) 20%,var(--md-color-bg));
|
|
@@ -170,16 +169,15 @@
|
|
|
170
169
|
}
|
|
171
170
|
/* Rapier's diagram look, one for a figure an agent lays out in Draw and for the drawing Mermaid makes from the
|
|
172
171
|
author's source (Draw writes the same pairs into its SVG; _diagram-cells holds the two copies equal). Swiss
|
|
173
|
-
editorial after the mid-century magazines: a box
|
|
174
|
-
own type in its ink; the one accent is meaning only -- the
|
|
175
|
-
flow ends)
|
|
172
|
+
editorial after the mid-century magazines: nearly monochrome, a box or a decision a flat field of one grey with no
|
|
173
|
+
outline, the words the page's own type in its ink; the one accent is spent sparingly, on meaning only -- the outcome
|
|
174
|
+
(a round node, where a flow ends) under black words. It keeps the corner the source asked for: a stadium, a diamond and
|
|
176
175
|
a parallelogram are what the author wrote; the roundings Mermaid adds to a plain box, an actor, a note and a
|
|
177
176
|
cluster are not, and Rapier's boxes are square. An author's own style or classDef fill and stroke stay above all
|
|
178
177
|
of it (they are materialised inline, and an inline declaration outranks this sheet). */
|
|
179
178
|
:where(.md-render) svg.rapier-diagram .node :is(rect,circle,ellipse,polygon,path){
|
|
180
179
|
fill:var(--md-diagram-box)!important;stroke:none!important;
|
|
181
180
|
}
|
|
182
|
-
:where(.md-render) svg.rapier-diagram .node polygon{fill:var(--md-diagram-decision)!important}
|
|
183
181
|
:where(.md-render) svg.rapier-diagram[aria-roledescription^="flowchart"] .node:has(>circle) :is(circle,path){fill:var(--md-diagram-accent)!important}
|
|
184
182
|
:where(.md-render) svg.rapier-diagram[aria-roledescription^="flowchart"] .node:has(>circle) :is(text,tspan){fill:var(--md-diagram-on-accent)!important}
|
|
185
183
|
:where(.md-render) svg.rapier-diagram g.classGroup rect,:where(.md-render) svg.rapier-diagram .actor,:where(.md-render) svg.rapier-diagram .labelBox,:where(.md-render) svg.rapier-diagram .activation0,:where(.md-render) svg.rapier-diagram .activation1,:where(.md-render) svg.rapier-diagram .activation2{
|
|
@@ -191,8 +189,8 @@
|
|
|
191
189
|
:where(.md-render) svg.rapier-diagram :is(.cluster-label,.cluster .label) :is(text,tspan){
|
|
192
190
|
font-family:var(--md-font-mono)!important;font-size:var(--md-diagram-caption-size)!important;text-transform:uppercase;letter-spacing:var(--md-diagram-title-track)!important;
|
|
193
191
|
}
|
|
194
|
-
:where(.md-render) svg.rapier-diagram .
|
|
195
|
-
:where(.md-render) svg.rapier-diagram .node
|
|
192
|
+
:where(.md-render) svg.rapier-diagram .classTitle,:where(.md-render) svg.rapier-diagram text.actor>tspan{font-weight:var(--md-fw-medium)!important}
|
|
193
|
+
:where(.md-render) svg.rapier-diagram :is(.nodeLabel,.node text,.node tspan){font-weight:var(--md-fw-semibold)!important}
|
|
196
194
|
:where(.md-render) svg.rapier-diagram rect.basic,:where(.md-render) svg.rapier-diagram rect.title-state,:where(.md-render) svg.rapier-diagram rect.outer,:where(.md-render) svg.rapier-diagram .actor,:where(.md-render) svg.rapier-diagram .note,:where(.md-render) svg.rapier-diagram .labelBox,:where(.md-render) svg.rapier-diagram .cluster rect,:where(.md-render) svg.rapier-diagram .statediagram-cluster rect{rx:0!important;ry:0!important}
|
|
197
195
|
/* The line between two boxes is mid-ladder and one hairline weight everywhere: it is the road,
|
|
198
196
|
not the destination. A lifeline and a divider are neither -- they are a box's own rule down
|