@nimtech/nimpress 2.10.6 → 2.11.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/api.css +4 -0
- package/dist/api.js +203 -0
- package/dist/cli.es.js +1 -1
- package/dist/{plugin-B-Kv7cY0.js → plugin-Bs2SiFWE.js} +2343 -2343
- package/dist/plugin.es.js +1 -1
- package/dist/src/api/flatten.d.ts +4 -0
- package/dist/src/api/flatten.d.ts.map +1 -0
- package/dist/src/api/standalone.d.ts +8 -0
- package/dist/src/api/standalone.d.ts.map +1 -0
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/styles/tokens.css +46 -46
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nimtech/nimpress",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.0",
|
|
4
4
|
"description": "Svelte 5 docs framework that supports it all.",
|
|
5
5
|
"author": "nimling",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
},
|
|
130
130
|
"scripts": {
|
|
131
131
|
"dev": "node scripts/dev.mjs",
|
|
132
|
-
"build:lib": "vite build --mode library",
|
|
132
|
+
"build:lib": "vite build --mode library && vite build --mode api",
|
|
133
133
|
"preview:lib": "vite preview --mode library",
|
|
134
134
|
"type-check": "svelte-check --tsconfig ./tsconfig.app.json && tsc -p tsconfig.node.json",
|
|
135
135
|
"test": "vitest run",
|
package/src/styles/tokens.css
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--np-brand: #
|
|
3
|
-
--np-brand-hover: #
|
|
4
|
-
--np-brand-soft: rgba(
|
|
5
|
-
--np-link: #
|
|
2
|
+
--np-brand: #6966DA;
|
|
3
|
+
--np-brand-hover: #5755B8;
|
|
4
|
+
--np-brand-soft: rgba(105, 102, 218, 0.12);
|
|
5
|
+
--np-link: #373679;
|
|
6
6
|
|
|
7
7
|
--np-bg: #FFFFFF;
|
|
8
|
-
--np-bg-surface: #
|
|
9
|
-
--np-bg-sidebar: #
|
|
10
|
-
--np-bg-card: #
|
|
11
|
-
--np-bg-code-inline: #
|
|
12
|
-
--np-bg-code-block: #
|
|
13
|
-
--np-code-line-highlight: rgba(
|
|
14
|
-
--np-code-annotation: #
|
|
8
|
+
--np-bg-surface: #F2F2F8;
|
|
9
|
+
--np-bg-sidebar: #F2F2F8;
|
|
10
|
+
--np-bg-card: #FCFCFC;
|
|
11
|
+
--np-bg-code-inline: #DEDEEC;
|
|
12
|
+
--np-bg-code-block: #18182A;
|
|
13
|
+
--np-code-line-highlight: rgba(105, 102, 218, 0.18);
|
|
14
|
+
--np-code-annotation: #6966DA;
|
|
15
15
|
--np-code-annotation-text: #FFFFFF;
|
|
16
16
|
--np-code-bar-bg: rgb(255 255 255 / 0.04);
|
|
17
17
|
--np-code-bar-border: rgb(255 255 255 / 0.06);
|
|
@@ -22,22 +22,22 @@
|
|
|
22
22
|
--np-code-gutter: rgb(229 231 235 / 0.35);
|
|
23
23
|
--np-code-inset: rgb(0 0 0 / 0.3);
|
|
24
24
|
|
|
25
|
-
--np-text-primary: #
|
|
26
|
-
--np-text-secondary: #
|
|
27
|
-
--np-text-muted: #
|
|
28
|
-
--np-text-faint: #
|
|
25
|
+
--np-text-primary: #18182A;
|
|
26
|
+
--np-text-secondary: #38384C;
|
|
27
|
+
--np-text-muted: #4A4A60;
|
|
28
|
+
--np-text-faint: #5E5E76;
|
|
29
29
|
--np-text-on-brand: #FFFFFF;
|
|
30
30
|
--np-text-code-block: #E5E7EB;
|
|
31
31
|
|
|
32
|
-
--np-border: #
|
|
33
|
-
--np-border-strong: #
|
|
34
|
-
--np-divider: #
|
|
32
|
+
--np-border: #CDCDE0;
|
|
33
|
+
--np-border-strong: #8D8DA8;
|
|
34
|
+
--np-divider: #DEDEEC;
|
|
35
35
|
|
|
36
|
-
--np-table-row-alt: #
|
|
37
|
-
--np-table-row-hover: #
|
|
38
|
-
--np-table-header-bg: #
|
|
36
|
+
--np-table-row-alt: #F2F2F8;
|
|
37
|
+
--np-table-row-hover: #CDCDE0;
|
|
38
|
+
--np-table-header-bg: #DEDEEC;
|
|
39
39
|
|
|
40
|
-
--np-tip: #
|
|
40
|
+
--np-tip: #FF7D33;
|
|
41
41
|
--np-note: #3B82F6;
|
|
42
42
|
--np-warning: #F59E0B;
|
|
43
43
|
--np-info: #6366F1;
|
|
@@ -86,20 +86,20 @@
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
html.dark {
|
|
89
|
-
--np-brand: #
|
|
90
|
-
--np-brand-hover: #
|
|
91
|
-
--np-brand-soft: rgba(
|
|
92
|
-
--np-link: #
|
|
93
|
-
|
|
94
|
-
--np-bg: #
|
|
95
|
-
--np-bg-surface: #
|
|
96
|
-
--np-bg-sidebar: #
|
|
97
|
-
--np-bg-card: #
|
|
98
|
-
--np-bg-code-inline: #
|
|
99
|
-
--np-bg-code-block: #
|
|
100
|
-
--np-code-line-highlight: rgba(
|
|
101
|
-
--np-code-annotation: #
|
|
102
|
-
--np-code-annotation-text: #
|
|
89
|
+
--np-brand: #6966DA;
|
|
90
|
+
--np-brand-hover: #5755B8;
|
|
91
|
+
--np-brand-soft: rgba(105, 102, 218, 0.14);
|
|
92
|
+
--np-link: #BEC3F4;
|
|
93
|
+
|
|
94
|
+
--np-bg: #171717;
|
|
95
|
+
--np-bg-surface: #1F1F1F;
|
|
96
|
+
--np-bg-sidebar: #171717;
|
|
97
|
+
--np-bg-card: #1B1B1B;
|
|
98
|
+
--np-bg-code-inline: #262626;
|
|
99
|
+
--np-bg-code-block: #0A0A0A;
|
|
100
|
+
--np-code-line-highlight: rgba(105, 102, 218, 0.22);
|
|
101
|
+
--np-code-annotation: #BEC3F4;
|
|
102
|
+
--np-code-annotation-text: #171717;
|
|
103
103
|
--np-code-bar-bg: rgb(255 255 255 / 0.04);
|
|
104
104
|
--np-code-bar-border: rgb(255 255 255 / 0.06);
|
|
105
105
|
--np-code-bar-border-strong: rgb(255 255 255 / 0.12);
|
|
@@ -110,19 +110,19 @@ html.dark {
|
|
|
110
110
|
--np-code-inset: rgb(0 0 0 / 0.3);
|
|
111
111
|
|
|
112
112
|
--np-text-primary: #FAFAFA;
|
|
113
|
-
--np-text-secondary: #
|
|
114
|
-
--np-text-muted: #
|
|
115
|
-
--np-text-faint: #
|
|
116
|
-
--np-text-on-brand: #
|
|
113
|
+
--np-text-secondary: #E5E5E5;
|
|
114
|
+
--np-text-muted: #D4D4D4;
|
|
115
|
+
--np-text-faint: #A3A3A3;
|
|
116
|
+
--np-text-on-brand: #FFFFFF;
|
|
117
117
|
--np-text-code-block: #E5E7EB;
|
|
118
118
|
|
|
119
|
-
--np-border: #
|
|
120
|
-
--np-border-strong: #
|
|
121
|
-
--np-divider: #
|
|
119
|
+
--np-border: #262626;
|
|
120
|
+
--np-border-strong: #404040;
|
|
121
|
+
--np-divider: #1F1F1F;
|
|
122
122
|
|
|
123
|
-
--np-table-row-alt: #
|
|
124
|
-
--np-table-row-hover: #
|
|
125
|
-
--np-table-header-bg: #
|
|
123
|
+
--np-table-row-alt: #1B1B1B;
|
|
124
|
+
--np-table-row-hover: #262626;
|
|
125
|
+
--np-table-header-bg: #1F1F1F;
|
|
126
126
|
|
|
127
127
|
--np-abstract: #38BDF8;
|
|
128
128
|
--np-success: #4ADE80;
|