@imdanibytes/nexus-ui 0.2.0 → 0.3.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/index.js +1595 -1575
- package/package.json +5 -1
- package/src/styles/base.css +64 -0
- package/src/styles/fonts/Geist-Bold.woff2 +0 -0
- package/src/styles/fonts/Geist-Medium.woff2 +0 -0
- package/src/styles/fonts/Geist-Regular.woff2 +0 -0
- package/src/styles/fonts/Geist-SemiBold.woff2 +0 -0
- package/src/styles/fonts/GeistMono-Medium.woff2 +0 -0
- package/src/styles/fonts/GeistMono-Regular.woff2 +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imdanibytes/nexus-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Nexus-themed React component library for plugins",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org",
|
|
@@ -27,6 +27,10 @@
|
|
|
27
27
|
"dist",
|
|
28
28
|
"src/styles"
|
|
29
29
|
],
|
|
30
|
+
"sideEffects": [
|
|
31
|
+
"**/*.css",
|
|
32
|
+
"**/*.woff2"
|
|
33
|
+
],
|
|
30
34
|
"scripts": {
|
|
31
35
|
"build": "vite build",
|
|
32
36
|
"typecheck": "tsc --noEmit"
|
package/src/styles/base.css
CHANGED
|
@@ -2,3 +2,67 @@
|
|
|
2
2
|
@import "tw-animate-css";
|
|
3
3
|
@import "./theme.css";
|
|
4
4
|
@import "./bridge.css";
|
|
5
|
+
|
|
6
|
+
/* Geist font faces — bundled so plugins render correctly without host CSS */
|
|
7
|
+
|
|
8
|
+
@font-face {
|
|
9
|
+
font-family: "Geist";
|
|
10
|
+
font-weight: 400;
|
|
11
|
+
font-style: normal;
|
|
12
|
+
font-display: swap;
|
|
13
|
+
src: url("./fonts/Geist-Regular.woff2") format("woff2");
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@font-face {
|
|
17
|
+
font-family: "Geist";
|
|
18
|
+
font-weight: 500;
|
|
19
|
+
font-style: normal;
|
|
20
|
+
font-display: swap;
|
|
21
|
+
src: url("./fonts/Geist-Medium.woff2") format("woff2");
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
@font-face {
|
|
25
|
+
font-family: "Geist";
|
|
26
|
+
font-weight: 600;
|
|
27
|
+
font-style: normal;
|
|
28
|
+
font-display: swap;
|
|
29
|
+
src: url("./fonts/Geist-SemiBold.woff2") format("woff2");
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@font-face {
|
|
33
|
+
font-family: "Geist";
|
|
34
|
+
font-weight: 700;
|
|
35
|
+
font-style: normal;
|
|
36
|
+
font-display: swap;
|
|
37
|
+
src: url("./fonts/Geist-Bold.woff2") format("woff2");
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
@font-face {
|
|
41
|
+
font-family: "Geist Mono";
|
|
42
|
+
font-weight: 400;
|
|
43
|
+
font-style: normal;
|
|
44
|
+
font-display: swap;
|
|
45
|
+
src: url("./fonts/GeistMono-Regular.woff2") format("woff2");
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@font-face {
|
|
49
|
+
font-family: "Geist Mono";
|
|
50
|
+
font-weight: 500;
|
|
51
|
+
font-style: normal;
|
|
52
|
+
font-display: swap;
|
|
53
|
+
src: url("./fonts/GeistMono-Medium.woff2") format("woff2");
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* Theme variants — bundled so plugins switch instantly via data-theme attribute */
|
|
57
|
+
|
|
58
|
+
[data-theme="nebula"] {
|
|
59
|
+
--color-nx-accent: #8b8bf5;
|
|
60
|
+
--color-nx-accent-hover: #7a7aef;
|
|
61
|
+
--color-nx-accent-muted: oklch(0.67 0.18 285 / 0.15);
|
|
62
|
+
--color-nx-accent-subtle: oklch(0.67 0.18 285 / 0.08);
|
|
63
|
+
--color-nx-highlight: #F472B6;
|
|
64
|
+
--color-nx-highlight-muted: oklch(0.73 0.16 350 / 0.15);
|
|
65
|
+
--color-nx-border-accent: oklch(0.67 0.18 285 / 0.5);
|
|
66
|
+
--shadow-focus: 0 0 0 2px oklch(0.67 0.18 285 / 0.3);
|
|
67
|
+
--shadow-card-hover: 0 0 0 1px oklch(0.67 0.18 285 / 0.15);
|
|
68
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|