@themodcraft/addon-packs 1.1.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/README.md +13 -0
- package/dist/addons/animations/animated-number/AnimatedNumber.d.ts +2 -0
- package/dist/addons/animations/animated-number/AnimatedNumber.js +29 -0
- package/dist/addons/animations/animated-number/AnimatedNumber.types.d.ts +6 -0
- package/dist/addons/animations/animated-number/AnimatedNumber.types.js +1 -0
- package/dist/addons/animations/animated-number/index.d.ts +2 -0
- package/dist/addons/animations/animated-number/index.js +1 -0
- package/dist/addons/animations/index.d.ts +1 -0
- package/dist/addons/animations/index.js +1 -0
- package/dist/addons/artstyles/colors/color-utils.d.ts +23 -0
- package/dist/addons/artstyles/colors/color-utils.js +141 -0
- package/dist/addons/artstyles/colors/index.d.ts +1 -0
- package/dist/addons/artstyles/colors/index.js +1 -0
- package/dist/addons/artstyles/index.d.ts +1 -0
- package/dist/addons/artstyles/index.js +1 -0
- package/dist/addons/charts/index.d.ts +1 -0
- package/dist/addons/charts/index.js +1 -0
- package/dist/addons/charts/mini-bar-chart/MiniBarChart.d.ts +2 -0
- package/dist/addons/charts/mini-bar-chart/MiniBarChart.js +72 -0
- package/dist/addons/charts/mini-bar-chart/MiniBarChart.types.d.ts +16 -0
- package/dist/addons/charts/mini-bar-chart/MiniBarChart.types.js +1 -0
- package/dist/addons/charts/mini-bar-chart/index.d.ts +2 -0
- package/dist/addons/charts/mini-bar-chart/index.js +1 -0
- package/dist/addons/configs/index.d.ts +1 -0
- package/dist/addons/configs/index.js +1 -0
- package/dist/addons/index.d.ts +8 -0
- package/dist/addons/index.js +8 -0
- package/dist/addons/integrations/better-auth/better-auth.d.ts +16 -0
- package/dist/addons/integrations/better-auth/better-auth.js +11 -0
- package/dist/addons/integrations/better-auth/index.d.ts +1 -0
- package/dist/addons/integrations/better-auth/index.js +1 -0
- package/dist/addons/integrations/index.d.ts +1 -0
- package/dist/addons/integrations/index.js +1 -0
- package/dist/addons/paywall/Paywall.d.ts +5 -0
- package/dist/addons/paywall/Paywall.js +145 -0
- package/dist/addons/paywall/Paywall.types.d.ts +54 -0
- package/dist/addons/paywall/Paywall.types.js +1 -0
- package/dist/addons/paywall/index.d.ts +1 -0
- package/dist/addons/paywall/index.js +1 -0
- package/dist/addons/providers/auth/index.d.ts +1 -0
- package/dist/addons/providers/auth/index.js +1 -0
- package/dist/addons/providers/index.d.ts +1 -0
- package/dist/addons/providers/index.js +1 -0
- package/dist/addons/providers/keyboard/index.d.ts +1 -0
- package/dist/addons/providers/keyboard/index.js +1 -0
- package/dist/addons/providers/nexus/index.d.ts +1 -0
- package/dist/addons/providers/nexus/index.js +1 -0
- package/dist/addons/providers/runtime/auth-provider.d.ts +39 -0
- package/dist/addons/providers/runtime/auth-provider.js +172 -0
- package/dist/addons/providers/runtime/config-provider.d.ts +13 -0
- package/dist/addons/providers/runtime/config-provider.js +11 -0
- package/dist/addons/providers/runtime/index.d.ts +6 -0
- package/dist/addons/providers/runtime/index.js +6 -0
- package/dist/addons/providers/runtime/keyboard-provider.d.ts +29 -0
- package/dist/addons/providers/runtime/keyboard-provider.js +106 -0
- package/dist/addons/providers/runtime/nexus-provider.d.ts +15 -0
- package/dist/addons/providers/runtime/nexus-provider.js +10 -0
- package/dist/addons/providers/runtime/theme-provider.d.ts +28 -0
- package/dist/addons/providers/runtime/theme-provider.js +131 -0
- package/dist/addons/providers/runtime/ui-overlay-provider.d.ts +14 -0
- package/dist/addons/providers/runtime/ui-overlay-provider.js +36 -0
- package/dist/addons/providers/theme/index.d.ts +1 -0
- package/dist/addons/providers/theme/index.js +1 -0
- package/dist/addons/themes/index.d.ts +1 -0
- package/dist/addons/themes/index.js +1 -0
- package/dist/artstyles.d.ts +1 -0
- package/dist/artstyles.js +1 -0
- package/dist/configs/themodcraft-v3/index.d.ts +1 -0
- package/dist/configs/themodcraft-v3/index.js +1 -0
- package/dist/configs/themodcraft-v3/navigation.json +42 -0
- package/dist/configs/themodcraft-v3/servers.json +44 -0
- package/dist/configs/themodcraft-v3/sliderHome.json +31 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.js +9 -0
- package/dist/paywall.d.ts +1 -0
- package/dist/paywall.js +1 -0
- package/dist/providers/auth.d.ts +1 -0
- package/dist/providers/auth.js +1 -0
- package/dist/providers/keyboard.d.ts +1 -0
- package/dist/providers/keyboard.js +1 -0
- package/dist/providers/nexus.d.ts +1 -0
- package/dist/providers/nexus.js +1 -0
- package/dist/providers/theme.d.ts +1 -0
- package/dist/providers/theme.js +1 -0
- package/dist/providers.d.ts +1 -0
- package/dist/providers.js +1 -0
- package/dist/theme-packs/default/default-theme-pack.json +24 -0
- package/dist/theme-packs/themodcraft-v3/color-scheme.css +106 -0
- package/dist/theme-packs/themodcraft-v3/index.d.ts +1 -0
- package/dist/theme-packs/themodcraft-v3/index.js +1 -0
- package/dist/theme-packs/themodcraft-v3/themodcraft-v3-theme-pack.json +32 -0
- package/package.json +105 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@themodcraft/addon-configs/themodcraft-v3";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@themodcraft/addon-configs/themodcraft-v3";
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
{
|
|
2
|
+
"navigation": [
|
|
3
|
+
{
|
|
4
|
+
"name": "Home",
|
|
5
|
+
"link": "/home"
|
|
6
|
+
},
|
|
7
|
+
{
|
|
8
|
+
"name": "Play",
|
|
9
|
+
"link": "/play"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"name": "Modpacks",
|
|
13
|
+
"link": "/modpacks"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "Discord",
|
|
17
|
+
"link": "https://discord.gg/themodcraft"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "News",
|
|
21
|
+
"link": "/news"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "Docs",
|
|
25
|
+
"link": "/docs"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "Support",
|
|
29
|
+
"link": "/support"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"settings": {
|
|
33
|
+
"enableSidebar": true,
|
|
34
|
+
"enableDropdown": true,
|
|
35
|
+
"enableSearch": false,
|
|
36
|
+
"enableLogin": true,
|
|
37
|
+
"navbarcount": 5,
|
|
38
|
+
"loginUrl": "/login",
|
|
39
|
+
"settingsUrl": "/account/settings",
|
|
40
|
+
"logo": "@images/TMC_Logo.webp"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"nodes": [
|
|
3
|
+
{
|
|
4
|
+
"id": "survival-01",
|
|
5
|
+
"title": "SURVIVAL_CORE",
|
|
6
|
+
"subtitle": "ONLINE",
|
|
7
|
+
"meta": "84/100",
|
|
8
|
+
"img": "@images/survival_card.webp",
|
|
9
|
+
"desc": "Strategic survival with a player-driven economy. Build your empire."
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"id": "creative-01",
|
|
13
|
+
"title": "CREATIVE_ARCH",
|
|
14
|
+
"subtitle": "STABLE",
|
|
15
|
+
"meta": "22/50",
|
|
16
|
+
"img": "@images/creative_card.webp",
|
|
17
|
+
"desc": "High-performance building tools and massive plots for master architects."
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"id": "hardcore-01",
|
|
21
|
+
"title": "HARDCORE_VOID",
|
|
22
|
+
"subtitle": "CRITICAL",
|
|
23
|
+
"meta": "12/20",
|
|
24
|
+
"img": "@images/banner1.webp",
|
|
25
|
+
"desc": "Extreme difficulty. Seasonal resets. One life. No mercy."
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "hardcore-01",
|
|
29
|
+
"title": "HARDCORE_VOID",
|
|
30
|
+
"subtitle": "CRITICAL",
|
|
31
|
+
"meta": "12/20",
|
|
32
|
+
"img": "@images/banner1.webp",
|
|
33
|
+
"desc": "Extreme difficulty. Seasonal resets. One life. No mercy."
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"id": "hardcore-01",
|
|
37
|
+
"title": "HARDCORE_VOID",
|
|
38
|
+
"subtitle": "CRITICAL",
|
|
39
|
+
"meta": "12/20",
|
|
40
|
+
"img": "@images/banner1.webp",
|
|
41
|
+
"desc": "Extreme difficulty. Seasonal resets. One life. No mercy."
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slides": [
|
|
3
|
+
{
|
|
4
|
+
"image": "@images/Slide1.webp",
|
|
5
|
+
"text": "Welcome to TheModCraft!",
|
|
6
|
+
"link": "https://themodcraft.net"
|
|
7
|
+
},
|
|
8
|
+
{
|
|
9
|
+
"image": "@images/Slide2.webp",
|
|
10
|
+
"text": "Explore our Modpacks",
|
|
11
|
+
"link": "/modpacks"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"image": "@images/Slide3.webp",
|
|
15
|
+
"text": "Join the Community",
|
|
16
|
+
"link": "https://discord.gg/themodcraft"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"image": "@images/Slide4.webp",
|
|
20
|
+
"text": "Latest News & Updates"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"image": "@images/Slide5.webp",
|
|
24
|
+
"text": "Latest News & Updates"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"image": "@images/Slide6.webp",
|
|
28
|
+
"text": "Litle sneakpeeak at the new lobby"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "@themodcraft/addon-animations";
|
|
2
|
+
export * from "@themodcraft/addon-artstyles";
|
|
3
|
+
export * from "@themodcraft/addon-charts";
|
|
4
|
+
export * from "@themodcraft/addon-configs";
|
|
5
|
+
export * from "@themodcraft/addon-integrations";
|
|
6
|
+
export * from "@themodcraft/addon-paywall";
|
|
7
|
+
export * from "@themodcraft/addon-providers";
|
|
8
|
+
export * from "@themodcraft/addon-themes";
|
|
9
|
+
export * from "@themodcraft/license-client";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "@themodcraft/addon-animations";
|
|
2
|
+
export * from "@themodcraft/addon-artstyles";
|
|
3
|
+
export * from "@themodcraft/addon-charts";
|
|
4
|
+
export * from "@themodcraft/addon-configs";
|
|
5
|
+
export * from "@themodcraft/addon-integrations";
|
|
6
|
+
export * from "@themodcraft/addon-paywall";
|
|
7
|
+
export * from "@themodcraft/addon-providers";
|
|
8
|
+
export * from "@themodcraft/addon-themes";
|
|
9
|
+
export * from "@themodcraft/license-client";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@themodcraft/addon-paywall";
|
package/dist/paywall.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@themodcraft/addon-paywall";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@themodcraft/addon-providers/auth";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@themodcraft/addon-providers/auth";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@themodcraft/addon-providers/keyboard";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@themodcraft/addon-providers/keyboard";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@themodcraft/addon-providers/nexus";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@themodcraft/addon-providers/nexus";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@themodcraft/addon-providers/theme";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@themodcraft/addon-providers/theme";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@themodcraft/addon-providers";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@themodcraft/addon-providers";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "addon-packs.theme-pack",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"metadata": {
|
|
5
|
+
"name": "TMC default theme pack",
|
|
6
|
+
"description": "Base theme token pack for TMC Nexus packages.",
|
|
7
|
+
"tags": ["theme", "tokens"]
|
|
8
|
+
},
|
|
9
|
+
"props": {
|
|
10
|
+
"themes": [
|
|
11
|
+
{
|
|
12
|
+
"id": "tmc-default",
|
|
13
|
+
"label": "TMC Default",
|
|
14
|
+
"tokens": {
|
|
15
|
+
"surface": "#ffffff",
|
|
16
|
+
"surfaceMuted": "#f6f7f9",
|
|
17
|
+
"text": "#111827",
|
|
18
|
+
"accent": "#0b63ce",
|
|
19
|
+
"focus": "#ffb020"
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* GRASCALE / NEUTRAL RAMP (MAPPED FROM YOUR PRIMARY VARIABLES 8-19) */
|
|
3
|
+
--neutral-50: #FFFFFF; /* Pure White */
|
|
4
|
+
--neutral-100: #D9D9D9; /* Very Light Gray */
|
|
5
|
+
--neutral-200: #9E9E9E; /* Light Gray */
|
|
6
|
+
--neutral-300: #828282; /* Mid-Light Gray */
|
|
7
|
+
--neutral-400: #696969; /* Mid-Gray (from original primary12) */
|
|
8
|
+
--neutral-500: #4A4A4A; /* Medium Dark Gray */
|
|
9
|
+
--neutral-600: #3c3c3c; /* Dark Gray */
|
|
10
|
+
--neutral-700: #212121; /* Very Dark Gray */
|
|
11
|
+
--neutral-800: #161616; /* Near-Black (Dark Mode Card BG) */
|
|
12
|
+
--neutral-850: #131313;
|
|
13
|
+
--neutral-900: #121212; /* Off-Black */
|
|
14
|
+
--neutral-999: #000000; /* Pure Black */
|
|
15
|
+
|
|
16
|
+
/* --- ACCENT GREEN (Vibrant & Neon) --- */
|
|
17
|
+
--accent-green-400: #5DFF33;
|
|
18
|
+
--accent-green-500: #30FA00; /* Primary Action */
|
|
19
|
+
--accent-green-600: #28D900;
|
|
20
|
+
--accent-green-700: #21BA00;
|
|
21
|
+
--accent-green-800: #137D00;
|
|
22
|
+
--accent-green-900: #064600;
|
|
23
|
+
--accent-green-999: #000300;
|
|
24
|
+
|
|
25
|
+
/* BLUE ACCENT RAMP (FROM COLORKIT.CO) */
|
|
26
|
+
--accent-blue-500: #005EFE;
|
|
27
|
+
--accent-blue-600: #0051DD;
|
|
28
|
+
--accent-blue-700: #0044BD;
|
|
29
|
+
--accent-blue-800: #002B80;
|
|
30
|
+
--accent-blue-900: #001447;
|
|
31
|
+
--accent-blue-999: #000003;
|
|
32
|
+
|
|
33
|
+
--accent-cyan-400: #00f2ff; /* Brightest Neon */
|
|
34
|
+
--accent-cyan-500: #00d2de; /* Primary Teal */
|
|
35
|
+
--accent-cyan-600: #00b4be;
|
|
36
|
+
--accent-cyan-700: #00969e;
|
|
37
|
+
--accent-cyan-750: #007980; /* Mid-point */
|
|
38
|
+
--accent-cyan-800: #005e63;
|
|
39
|
+
--accent-cyan-850: #004348;
|
|
40
|
+
--accent-cyan-900: #002b2e;
|
|
41
|
+
--accent-cyan-950: #001416;
|
|
42
|
+
--accent-cyan-999: #000303; /* Near-Black Teal */
|
|
43
|
+
|
|
44
|
+
/* ---
|
|
45
|
+
GLOBAL LAYOUT DEFAULTS
|
|
46
|
+
--- */
|
|
47
|
+
--border-radius: 15px;
|
|
48
|
+
/* --- DEFAULTS --- */
|
|
49
|
+
--border-radius-sm: 6px;
|
|
50
|
+
--font-mono: 'JetBrains Mono', 'Fira Code', monospace;
|
|
51
|
+
--font-main: 'Inter', system-ui, sans-serif;
|
|
52
|
+
--font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
53
|
+
|
|
54
|
+
/* --- NEW: GLOW & GLASS UTILITIES --- */
|
|
55
|
+
--glass-border: rgba(255, 255, 255, 0.08);
|
|
56
|
+
--glass-bg: rgba(10, 10, 10, 0.6);
|
|
57
|
+
--glow-green: 0 0 15px rgba(48, 250, 0, 0.3);
|
|
58
|
+
--glow-blue: 0 0 15px rgba(0, 94, 254, 0.3);
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* --- DARK MODE MAPPINGS (The "TheModCraft" Look) --- */
|
|
65
|
+
@media (prefers-color-scheme: dark) {
|
|
66
|
+
:root {
|
|
67
|
+
/* BACKGROUNDS */
|
|
68
|
+
--primary-background: var(--neutral-700); /* Very Dark Gray */
|
|
69
|
+
--secondary-background: var(--neutral-800); /* Near-Black */
|
|
70
|
+
|
|
71
|
+
/* TEXT */
|
|
72
|
+
--primary-text: var(--neutral-50); /* White */
|
|
73
|
+
--secondary-text: var(--neutral-300); /* Mid-Light Gray */
|
|
74
|
+
--tertiary-text: var(--neutral-500); /* Medium Dark Gray */
|
|
75
|
+
|
|
76
|
+
/* INTERACTIVE ELEMENTS */
|
|
77
|
+
--border-color: var(--neutral-600); /* Dark Gray */
|
|
78
|
+
--cta-color: var(--accent-green-500); /* Primary Green */
|
|
79
|
+
--link-color: var(--accent-blue-500); /* Primary Blue */
|
|
80
|
+
--hover-overlay: rgba(0, 0, 0, 0.49); /* Subtle light hover */
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
:root[data-tmc-theme-mode="light"] {
|
|
85
|
+
--primary-background: #f3f5f8;
|
|
86
|
+
--secondary-background: #fbfcfe;
|
|
87
|
+
--primary-text: #151821;
|
|
88
|
+
--secondary-text: #5f6b7a;
|
|
89
|
+
--tertiary-text: #7a8795;
|
|
90
|
+
--border-color: #d7dde5;
|
|
91
|
+
--cta-color: var(--accent-blue-500);
|
|
92
|
+
--link-color: var(--accent-blue-700);
|
|
93
|
+
--hover-overlay: rgba(0, 94, 254, 0.08);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
:root[data-tmc-theme-mode="dark"] {
|
|
97
|
+
--primary-background: var(--neutral-700);
|
|
98
|
+
--secondary-background: var(--neutral-800);
|
|
99
|
+
--primary-text: var(--neutral-50);
|
|
100
|
+
--secondary-text: var(--neutral-300);
|
|
101
|
+
--tertiary-text: var(--neutral-500);
|
|
102
|
+
--border-color: var(--neutral-600);
|
|
103
|
+
--cta-color: var(--accent-green-500);
|
|
104
|
+
--link-color: var(--accent-blue-500);
|
|
105
|
+
--hover-overlay: rgba(0, 0, 0, 0.49);
|
|
106
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@themodcraft/addon-themes/themodcraft-v3";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@themodcraft/addon-themes/themodcraft-v3";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "addon-packs.theme-pack",
|
|
3
|
+
"version": 1,
|
|
4
|
+
"metadata": {
|
|
5
|
+
"name": "TheModCraft V3 theme pack",
|
|
6
|
+
"description": "Theme tokens migrated from TheModCraft.Net-V3 color-scheme.css.",
|
|
7
|
+
"tags": ["theme", "themodcraft-v3", "neon"]
|
|
8
|
+
},
|
|
9
|
+
"props": {
|
|
10
|
+
"themes": [
|
|
11
|
+
{
|
|
12
|
+
"id": "themodcraft-v3",
|
|
13
|
+
"label": "TheModCraft V3",
|
|
14
|
+
"tokens": {
|
|
15
|
+
"neutral50": "#ffffff",
|
|
16
|
+
"neutral700": "#212121",
|
|
17
|
+
"neutral800": "#161616",
|
|
18
|
+
"neutral850": "#131313",
|
|
19
|
+
"neutral900": "#121212",
|
|
20
|
+
"accentGreen500": "#30fa00",
|
|
21
|
+
"accentBlue500": "#005efe",
|
|
22
|
+
"accentCyan400": "#00f2ff",
|
|
23
|
+
"accentCyan500": "#00d2de",
|
|
24
|
+
"borderRadius": "15px",
|
|
25
|
+
"fontMono": "JetBrains Mono, Fira Code, monospace",
|
|
26
|
+
"fontMain": "Inter, system-ui, sans-serif"
|
|
27
|
+
},
|
|
28
|
+
"cssFile": "./color-scheme.css"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@themodcraft/addon-packs",
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public"
|
|
6
|
+
},
|
|
7
|
+
"type": "module",
|
|
8
|
+
"files": ["dist"],
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./configs/themodcraft-v3": {
|
|
15
|
+
"types": "./dist/configs/themodcraft-v3/index.d.ts",
|
|
16
|
+
"default": "./dist/configs/themodcraft-v3/index.js"
|
|
17
|
+
},
|
|
18
|
+
"./animations": {
|
|
19
|
+
"types": "./dist/addons/animations/index.d.ts",
|
|
20
|
+
"default": "./dist/addons/animations/index.js"
|
|
21
|
+
},
|
|
22
|
+
"./artstyles": {
|
|
23
|
+
"types": "./dist/addons/artstyles/index.d.ts",
|
|
24
|
+
"default": "./dist/addons/artstyles/index.js"
|
|
25
|
+
},
|
|
26
|
+
"./charts": {
|
|
27
|
+
"types": "./dist/addons/charts/index.d.ts",
|
|
28
|
+
"default": "./dist/addons/charts/index.js"
|
|
29
|
+
},
|
|
30
|
+
"./configs": {
|
|
31
|
+
"types": "./dist/addons/configs/index.d.ts",
|
|
32
|
+
"default": "./dist/addons/configs/index.js"
|
|
33
|
+
},
|
|
34
|
+
"./integrations": {
|
|
35
|
+
"types": "./dist/addons/integrations/index.d.ts",
|
|
36
|
+
"default": "./dist/addons/integrations/index.js"
|
|
37
|
+
},
|
|
38
|
+
"./integrations/better-auth": {
|
|
39
|
+
"types": "./dist/addons/integrations/better-auth/index.d.ts",
|
|
40
|
+
"default": "./dist/addons/integrations/better-auth/index.js"
|
|
41
|
+
},
|
|
42
|
+
"./paywall": {
|
|
43
|
+
"types": "./dist/addons/paywall/index.d.ts",
|
|
44
|
+
"default": "./dist/addons/paywall/index.js"
|
|
45
|
+
},
|
|
46
|
+
"./providers": {
|
|
47
|
+
"types": "./dist/addons/providers/index.d.ts",
|
|
48
|
+
"default": "./dist/addons/providers/index.js"
|
|
49
|
+
},
|
|
50
|
+
"./providers/auth": {
|
|
51
|
+
"types": "./dist/addons/providers/auth/index.d.ts",
|
|
52
|
+
"default": "./dist/addons/providers/auth/index.js"
|
|
53
|
+
},
|
|
54
|
+
"./providers/keyboard": {
|
|
55
|
+
"types": "./dist/addons/providers/keyboard/index.d.ts",
|
|
56
|
+
"default": "./dist/addons/providers/keyboard/index.js"
|
|
57
|
+
},
|
|
58
|
+
"./providers/nexus": {
|
|
59
|
+
"types": "./dist/addons/providers/nexus/index.d.ts",
|
|
60
|
+
"default": "./dist/addons/providers/nexus/index.js"
|
|
61
|
+
},
|
|
62
|
+
"./providers/theme": {
|
|
63
|
+
"types": "./dist/addons/providers/theme/index.d.ts",
|
|
64
|
+
"default": "./dist/addons/providers/theme/index.js"
|
|
65
|
+
},
|
|
66
|
+
"./themes": {
|
|
67
|
+
"types": "./dist/addons/themes/index.d.ts",
|
|
68
|
+
"default": "./dist/addons/themes/index.js"
|
|
69
|
+
},
|
|
70
|
+
"./theme-packs/default": "./dist/theme-packs/default/default-theme-pack.json",
|
|
71
|
+
"./theme-packs/themodcraft-v3": {
|
|
72
|
+
"types": "./dist/theme-packs/themodcraft-v3/index.d.ts",
|
|
73
|
+
"default": "./dist/theme-packs/themodcraft-v3/index.js"
|
|
74
|
+
},
|
|
75
|
+
"./theme-packs/themodcraft-v3/styles.css": "./dist/theme-packs/themodcraft-v3/color-scheme.css"
|
|
76
|
+
},
|
|
77
|
+
"scripts": {
|
|
78
|
+
"build": "node ../../tools/build-package.mjs",
|
|
79
|
+
"prepack": "npm run build",
|
|
80
|
+
"typecheck": "tsc -p tsconfig.json --noEmit"
|
|
81
|
+
},
|
|
82
|
+
"dependencies": {
|
|
83
|
+
"@themodcraft/addon-animations": "1.1.0",
|
|
84
|
+
"@themodcraft/addon-artstyles": "1.1.0",
|
|
85
|
+
"@themodcraft/addon-charts": "1.1.0",
|
|
86
|
+
"@themodcraft/addon-configs": "1.1.0",
|
|
87
|
+
"@themodcraft/addon-integrations": "1.1.0",
|
|
88
|
+
"@themodcraft/addon-paywall": "1.1.0",
|
|
89
|
+
"@themodcraft/addon-providers": "1.1.0",
|
|
90
|
+
"@themodcraft/addon-themes": "1.1.0",
|
|
91
|
+
"@themodcraft/license-client": "1.1.0"
|
|
92
|
+
},
|
|
93
|
+
"peerDependencies": {
|
|
94
|
+
"@themodcraft/core-ui": "1.1.0",
|
|
95
|
+
"@themodcraft/pro-kit": "1.1.0",
|
|
96
|
+
"better-auth": "*",
|
|
97
|
+
"react": "^19.0.0",
|
|
98
|
+
"react-dom": "^19.0.0"
|
|
99
|
+
},
|
|
100
|
+
"peerDependenciesMeta": {
|
|
101
|
+
"better-auth": {
|
|
102
|
+
"optional": true
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|