@kwirthmagnify/kwirth-theme-plexus 0.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.
Files changed (2) hide show
  1. package/front.js +208 -0
  2. package/package.json +7 -0
package/front.js ADDED
@@ -0,0 +1,208 @@
1
+ "use strict";
2
+ (() => {
3
+ // src/front/index.ts
4
+ var MuiButton = {
5
+ styleOverrides: {
6
+ root: {
7
+ borderRadius: 4,
8
+ textTransform: "none",
9
+ fontWeight: 700,
10
+ letterSpacing: 0.4
11
+ },
12
+ containedPrimary: ({ theme }) => ({
13
+ background: theme.palette.mode === "dark" ? "#F06272" : "#1C3A5C",
14
+ color: "#FFFFFF",
15
+ boxShadow: theme.palette.mode === "dark" ? "0 2px 8px rgba(240,98,114,0.35)" : "0 2px 8px rgba(28,58,92,0.30)",
16
+ "&:hover": {
17
+ background: theme.palette.mode === "dark" ? "#D94E5E" : "#14294A",
18
+ boxShadow: theme.palette.mode === "dark" ? "0 4px 14px rgba(240,98,114,0.45)" : "0 4px 14px rgba(28,58,92,0.40)"
19
+ }
20
+ }),
21
+ outlinedPrimary: ({ theme }) => ({
22
+ borderColor: theme.palette.mode === "dark" ? "#F06272" : "#1C3A5C",
23
+ color: theme.palette.mode === "dark" ? "#F06272" : "#1C3A5C",
24
+ "&:hover": {
25
+ background: theme.palette.mode === "dark" ? "rgba(240,98,114,0.08)" : "rgba(28,58,92,0.06)"
26
+ }
27
+ })
28
+ }
29
+ };
30
+ var MuiAppBar = {
31
+ styleOverrides: {
32
+ root: ({ theme }) => ({
33
+ background: theme.palette.mode === "dark" ? "#0D1B2A" : "#1C3A5C",
34
+ borderBottom: `3px solid #F06272`,
35
+ boxShadow: "none",
36
+ color: "#FFFFFF"
37
+ })
38
+ }
39
+ };
40
+ var MuiPaper = {
41
+ styleOverrides: {
42
+ root: ({ theme }) => ({
43
+ backgroundImage: "none",
44
+ border: `1px solid ${theme.palette.mode === "dark" ? "#1A3050" : "#E0E6EF"}`
45
+ })
46
+ }
47
+ };
48
+ var MuiCard = {
49
+ styleOverrides: {
50
+ root: ({ theme }) => ({
51
+ background: theme.palette.mode === "dark" ? "#112237" : "#FFFFFF",
52
+ border: `1px solid ${theme.palette.mode === "dark" ? "#1A3050" : "#E0E6EF"}`,
53
+ borderRadius: 8,
54
+ borderLeft: `4px solid #F06272`
55
+ })
56
+ }
57
+ };
58
+ var MuiCardHeader = {
59
+ styleOverrides: {
60
+ root: ({ theme }) => ({
61
+ background: theme.palette.mode === "dark" ? "linear-gradient(135deg, #0D1B2A 0%, #112237 100%)" : "linear-gradient(135deg, #F0F4FA 0%, #E8EFF8 100%)",
62
+ borderBottom: `1px solid ${theme.palette.mode === "dark" ? "#1A3050" : "#D8E2EE"}`,
63
+ padding: "10px 16px"
64
+ }),
65
+ title: ({ theme }) => ({
66
+ color: theme.palette.mode === "dark" ? "#F06272" : "#1C3A5C",
67
+ fontWeight: 700,
68
+ fontSize: "0.875rem"
69
+ })
70
+ }
71
+ };
72
+ var MuiDialog = {
73
+ styleOverrides: {
74
+ paper: ({ theme }) => ({
75
+ background: theme.palette.mode === "dark" ? "#0D1B2A" : "#FFFFFF",
76
+ border: `1px solid ${theme.palette.mode === "dark" ? "#1A3050" : "#D8E2EE"}`,
77
+ borderTop: `3px solid #F06272`,
78
+ borderRadius: 8,
79
+ backgroundImage: "none"
80
+ })
81
+ }
82
+ };
83
+ var MuiDialogTitle = {
84
+ styleOverrides: {
85
+ root: ({ theme }) => ({
86
+ background: theme.palette.mode === "dark" ? "linear-gradient(135deg, #0A1422 0%, #0D1B2A 100%)" : "linear-gradient(135deg, #F0F4FA 0%, #E8EFF8 100%)",
87
+ borderBottom: `1px solid ${theme.palette.mode === "dark" ? "#1A3050" : "#D8E2EE"}`,
88
+ color: theme.palette.mode === "dark" ? "#F8F9FC" : "#1C3A5C",
89
+ fontWeight: 700,
90
+ fontSize: "0.95rem",
91
+ padding: "12px 20px"
92
+ })
93
+ }
94
+ };
95
+ var MuiDialogContent = {
96
+ styleOverrides: {
97
+ root: { padding: "16px 20px" }
98
+ }
99
+ };
100
+ var MuiDialogActions = {
101
+ styleOverrides: {
102
+ root: ({ theme }) => ({
103
+ borderTop: `1px solid ${theme.palette.mode === "dark" ? "#1A3050" : "#D8E2EE"}`,
104
+ padding: "10px 16px"
105
+ })
106
+ }
107
+ };
108
+ var MuiChip = {
109
+ styleOverrides: {
110
+ root: { borderRadius: 4, fontWeight: 700, fontSize: "0.72rem" },
111
+ colorPrimary: ({ theme }) => ({
112
+ background: theme.palette.mode === "dark" ? "#1A3050" : "#E8EFF8",
113
+ color: theme.palette.mode === "dark" ? "#F06272" : "#1C3A5C",
114
+ borderColor: theme.palette.mode === "dark" ? "#F06272" : "#1C3A5C"
115
+ })
116
+ }
117
+ };
118
+ var MuiDivider = {
119
+ styleOverrides: {
120
+ root: ({ theme }) => ({
121
+ borderColor: theme.palette.mode === "dark" ? "#1A3050" : "#D8E2EE"
122
+ })
123
+ }
124
+ };
125
+ var MuiTableHead = {
126
+ styleOverrides: {
127
+ root: ({ theme }) => ({
128
+ background: theme.palette.mode === "dark" ? "#0D1B2A" : "#1C3A5C",
129
+ "& .MuiTableCell-head": {
130
+ color: "#FFFFFF",
131
+ fontWeight: 700
132
+ }
133
+ })
134
+ }
135
+ };
136
+ var MuiCssBaseline = {
137
+ styleOverrides: (theme) => ({
138
+ body: {
139
+ background: theme.palette.mode === "dark" ? "linear-gradient(160deg, #080F1A 0%, #0D1B2A 100%)" : "#F8F9FC",
140
+ scrollbarColor: theme.palette.mode === "dark" ? "#1A3050 transparent" : "#C8D4E4 transparent",
141
+ scrollbarWidth: "thin"
142
+ }
143
+ })
144
+ };
145
+ window.__kwirth_themes__["plexus"] = {
146
+ displayName: "Plexus",
147
+ getThemeOptions: (mode) => ({
148
+ cssVariables: true,
149
+ palette: {
150
+ mode,
151
+ primary: {
152
+ main: mode === "dark" ? "#F06272" : "#1C3A5C",
153
+ light: mode === "dark" ? "#F5909D" : "#2E5480",
154
+ dark: mode === "dark" ? "#D94E5E" : "#102A44",
155
+ contrastText: "#FFFFFF"
156
+ },
157
+ secondary: {
158
+ main: "#20B4C8",
159
+ light: "#4DC8D8",
160
+ dark: "#1490A0",
161
+ contrastText: "#FFFFFF"
162
+ },
163
+ error: { main: "#F06272" },
164
+ warning: { main: "#F5B731" },
165
+ info: { main: "#20B4C8" },
166
+ success: { main: "#4CAF82" },
167
+ background: {
168
+ default: mode === "dark" ? "#080F1A" : "#F8F9FC",
169
+ paper: mode === "dark" ? "#112237" : "#FFFFFF"
170
+ },
171
+ text: {
172
+ primary: mode === "dark" ? "#E8EDF5" : "#1C3A5C",
173
+ secondary: mode === "dark" ? "#7A9BBF" : "#4A6080",
174
+ disabled: mode === "dark" ? "#3A5068" : "#A0B4C8"
175
+ },
176
+ divider: mode === "dark" ? "#1A3050" : "#D8E2EE"
177
+ },
178
+ typography: {
179
+ fontFamily: '"Lato", "Nunito", "Segoe UI", "Roboto", sans-serif',
180
+ fontSize: 13,
181
+ h1: { fontWeight: 800, letterSpacing: -0.5 },
182
+ h2: { fontWeight: 700, letterSpacing: -0.3 },
183
+ h3: { fontWeight: 700 },
184
+ h4: { fontWeight: 700 },
185
+ h5: { fontWeight: 700 },
186
+ h6: { fontWeight: 700 },
187
+ button: { fontWeight: 700, letterSpacing: 0.4 },
188
+ overline: { fontWeight: 700, letterSpacing: 1.5 }
189
+ },
190
+ shape: { borderRadius: 6 },
191
+ components: {
192
+ MuiButton,
193
+ MuiAppBar,
194
+ MuiPaper,
195
+ MuiCard,
196
+ MuiCardHeader,
197
+ MuiDialog,
198
+ MuiDialogTitle,
199
+ MuiDialogContent,
200
+ MuiDialogActions,
201
+ MuiChip,
202
+ MuiDivider,
203
+ MuiTableHead,
204
+ MuiCssBaseline
205
+ }
206
+ })
207
+ };
208
+ })();
package/package.json ADDED
@@ -0,0 +1,7 @@
1
+ {
2
+ "id": "plexus",
3
+ "name": "@kwirthmagnify/kwirth-theme-plexus",
4
+ "displayName": "Plexus",
5
+ "version": "0.1.0",
6
+ "description": "Plexus corporate theme — deep navy background with signature orange accent and Inter typography."
7
+ }