@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nimtech/nimpress",
3
- "version": "2.10.6",
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",
@@ -1,17 +1,17 @@
1
1
  :root {
2
- --np-brand: #A85A3F;
3
- --np-brand-hover: #8C492F;
4
- --np-brand-soft: rgba(168, 90, 63, 0.12);
5
- --np-link: #8C492F;
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: #F4F4F5;
9
- --np-bg-sidebar: #FAFAFA;
10
- --np-bg-card: #FFFFFF;
11
- --np-bg-code-inline: #ECECEE;
12
- --np-bg-code-block: #0B1020;
13
- --np-code-line-highlight: rgba(204, 120, 92, 0.18);
14
- --np-code-annotation: #CC785C;
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: #09090B;
26
- --np-text-secondary: #3F3F46;
27
- --np-text-muted: #52525B;
28
- --np-text-faint: #71717A;
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: #C8C8CC;
33
- --np-border-strong: #A1A1AA;
34
- --np-divider: #D4D4D8;
32
+ --np-border: #CDCDE0;
33
+ --np-border-strong: #8D8DA8;
34
+ --np-divider: #DEDEEC;
35
35
 
36
- --np-table-row-alt: #F4F4F5;
37
- --np-table-row-hover: #E4E4E7;
38
- --np-table-header-bg: #ECECEE;
36
+ --np-table-row-alt: #F2F2F8;
37
+ --np-table-row-hover: #CDCDE0;
38
+ --np-table-header-bg: #DEDEEC;
39
39
 
40
- --np-tip: #CC785C;
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: #CC785C;
90
- --np-brand-hover: #E8A48E;
91
- --np-brand-soft: rgba(204, 120, 92, 0.14);
92
- --np-link: #E8A48E;
93
-
94
- --np-bg: #0F0F10;
95
- --np-bg-surface: #18181B;
96
- --np-bg-sidebar: #0F0F10;
97
- --np-bg-card: #1C1C1F;
98
- --np-bg-code-inline: #1F1F22;
99
- --np-bg-code-block: #0B0B0D;
100
- --np-code-line-highlight: rgba(204, 120, 92, 0.22);
101
- --np-code-annotation: #E8A48E;
102
- --np-code-annotation-text: #0F0F10;
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: #A1A1AA;
114
- --np-text-muted: #71717A;
115
- --np-text-faint: #52525B;
116
- --np-text-on-brand: #0F0F10;
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: #27272A;
120
- --np-border-strong: #3F3F46;
121
- --np-divider: #1F1F22;
119
+ --np-border: #262626;
120
+ --np-border-strong: #404040;
121
+ --np-divider: #1F1F1F;
122
122
 
123
- --np-table-row-alt: #16161A;
124
- --np-table-row-hover: #1F1F22;
125
- --np-table-header-bg: #1A1A1E;
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;