@noirmd/previewer 1.2.0 → 2.0.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/NReditor.cjs +851 -895
- package/dist/NReditor.cjs.map +1 -1
- package/dist/NReditor.d.cts +1 -1
- package/dist/NReditor.d.ts +1 -1
- package/dist/NReditor.js +852 -896
- package/dist/NReditor.js.map +1 -1
- package/dist/admonition.css +55 -0
- package/dist/{markdown.css → base.css} +96 -126
- package/dist/blockquote.css +16 -0
- package/dist/button.css +32 -0
- package/dist/card.css +143 -0
- package/dist/codeblock.css +59 -0
- package/dist/core.cjs +9 -1
- package/dist/core.cjs.map +1 -1
- package/dist/core.js +9 -1
- package/dist/core.js.map +1 -1
- package/dist/details.css +45 -0
- package/dist/editor.css +56 -9
- package/dist/fonts/material-icons-round.woff2 +0 -0
- package/dist/index.cjs +852 -883
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +41 -70
- package/dist/index.d.ts +41 -70
- package/dist/index.js +851 -877
- package/dist/index.js.map +1 -1
- package/dist/list.css +18 -0
- package/dist/modal.css +82 -0
- package/dist/react.cjs +852 -886
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +44 -73
- package/dist/react.d.ts +44 -73
- package/dist/react.js +851 -880
- package/dist/react.js.map +1 -1
- package/dist/slide.css +21 -0
- package/dist/table.css +36 -0
- package/dist/toc.css +45 -0
- package/dist/vanilla.cjs +42 -28
- package/dist/vanilla.cjs.map +1 -1
- package/dist/vanilla.css +32 -677
- package/dist/vanilla.d.cts +8 -2
- package/dist/vanilla.d.ts +8 -2
- package/dist/vanilla.js +41 -28
- package/dist/vanilla.js.map +1 -1
- package/dist/variables.css +53 -0
- package/dist/vue.cjs +931 -1121
- package/dist/vue.cjs.map +1 -1
- package/dist/vue.d.cts +63 -214
- package/dist/vue.d.ts +63 -214
- package/dist/vue.js +930 -1120
- package/dist/vue.js.map +1 -1
- package/editor.css +56 -9
- package/package.json +5 -10
- package/markdown.css +0 -344
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/* ============================================================
|
|
2
|
+
NoirMD Vanilla — CSS Variables
|
|
3
|
+
|
|
4
|
+
Override-friendly design tokens. Host themes can win by
|
|
5
|
+
defining --color-* variables; fallbacks are used otherwise.
|
|
6
|
+
============================================================ */
|
|
7
|
+
|
|
8
|
+
/* ── Material Icons Round (self-hosted) ────────────────────
|
|
9
|
+
All directives (admonitions, buttons, modals, cards, ...)
|
|
10
|
+
render icons via the `material-icons-round` ligature
|
|
11
|
+
font. Self-hosted so icons work offline and without host
|
|
12
|
+
dependencies. */
|
|
13
|
+
|
|
14
|
+
@font-face {
|
|
15
|
+
font-family: 'Material Icons Round';
|
|
16
|
+
font-style: normal;
|
|
17
|
+
font-weight: 400;
|
|
18
|
+
font-display: block;
|
|
19
|
+
src: url('./fonts/material-icons-round.woff2') format('woff2');
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.material-icons-round {
|
|
23
|
+
font-family: 'Material Icons Round';
|
|
24
|
+
font-weight: 400;
|
|
25
|
+
font-style: normal;
|
|
26
|
+
font-size: 24px;
|
|
27
|
+
line-height: 1;
|
|
28
|
+
letter-spacing: normal;
|
|
29
|
+
text-transform: none;
|
|
30
|
+
display: inline-block;
|
|
31
|
+
white-space: nowrap;
|
|
32
|
+
word-wrap: normal;
|
|
33
|
+
direction: ltr;
|
|
34
|
+
font-feature-settings: 'liga';
|
|
35
|
+
-webkit-font-smoothing: antialiased;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.nr-prose {
|
|
39
|
+
--nr-bg: var(--color-background-primary, #0f172a);
|
|
40
|
+
--nr-bg-secondary: var(--color-background-secondary-solid, #1e293b);
|
|
41
|
+
--nr-text: var(--color-text-primary, #e2e8f0);
|
|
42
|
+
--nr-text-secondary: var(--color-text-secondary, #94a3b8);
|
|
43
|
+
--nr-border: var(--color-border, #334155);
|
|
44
|
+
--nr-accent: var(--color-accent-primary, #0ea5e9);
|
|
45
|
+
--nr-accent-hover: var(--color-accent-hover, #38bdf8);
|
|
46
|
+
--nr-info: #3b82f6;
|
|
47
|
+
--nr-warning: #f59e0b;
|
|
48
|
+
--nr-danger: #ef4444;
|
|
49
|
+
--nr-success: #22c55e;
|
|
50
|
+
--nr-radius: 1rem;
|
|
51
|
+
--nr-radius-sm: 0.5rem;
|
|
52
|
+
--nr-radius-lg: 1.5rem;
|
|
53
|
+
}
|