evelearn-theme 1.0.3 → 1.0.5

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 ADDED
@@ -0,0 +1,4 @@
1
+ increment package.json version
2
+ npm run build
3
+ npm publish --access public
4
+
package/dist/index.d.mts CHANGED
@@ -2,7 +2,6 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React$1 from 'react';
3
3
  import React__default, { CSSProperties, ReactNode } from 'react';
4
4
  import { Placement } from '@floating-ui/react';
5
- import * as next_dist_compiled__next_font from 'next/dist/compiled/@next/font';
6
5
 
7
6
  type Props$h = {
8
7
  visible: boolean;
@@ -256,11 +255,6 @@ type Props$4 = {
256
255
  };
257
256
  declare const Fade: ({ children, inProp }: Props$4) => react_jsx_runtime.JSX.Element;
258
257
 
259
- declare const openSans: next_dist_compiled__next_font.NextFontWithVariable;
260
- declare const ubuntu: next_dist_compiled__next_font.NextFontWithVariable;
261
- declare const parkinsans: next_dist_compiled__next_font.NextFontWithVariable;
262
- declare const balsamicSans: next_dist_compiled__next_font.NextFontWithVariable;
263
-
264
258
  type ProgressBarProps = {
265
259
  progress: number;
266
260
  height?: number;
@@ -329,4 +323,4 @@ declare const AnimateLogo: () => react_jsx_runtime.JSX.Element;
329
323
 
330
324
  declare const PRIMARY_COLOR = "#00b4d8";
331
325
 
332
- export { AnimateLogo, Backdrop, BAWrapper as BottomAlert, Breakpoint, Button, Checkbox, CircleProgress, Container, CourseProgress, ErrorText, Fade, FunButton, FunRoundButton, IconInfo, Modal, NoResults, NoticeBox, Overlay, OverlaySpinner, PRIMARY_COLOR, Pill, ProgressBar, ProgressBarSimple, RadioOption, RatingStars, ScrollProgress, Slider, Spinner, StepsComponent, Tippy, ToggleSwitch, UserContentSwitcher, balsamicSans, baseFieldStyle, createExerciseElementStyle, exerciseDeleteButton, exerciseEditButton, headerButtonClass, headerTippyClass, openSans, parkinsans, tippyClassname, toolbarExerciseButton, ubuntu, xIconButton };
326
+ export { AnimateLogo, Backdrop, BAWrapper as BottomAlert, Breakpoint, Button, Checkbox, CircleProgress, Container, CourseProgress, ErrorText, Fade, FunButton, FunRoundButton, IconInfo, Modal, NoResults, NoticeBox, Overlay, OverlaySpinner, PRIMARY_COLOR, Pill, ProgressBar, ProgressBarSimple, RadioOption, RatingStars, ScrollProgress, Slider, Spinner, StepsComponent, Tippy, ToggleSwitch, UserContentSwitcher, baseFieldStyle, createExerciseElementStyle, exerciseDeleteButton, exerciseEditButton, headerButtonClass, headerTippyClass, tippyClassname, toolbarExerciseButton, xIconButton };
package/dist/index.d.ts CHANGED
@@ -2,7 +2,6 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as React$1 from 'react';
3
3
  import React__default, { CSSProperties, ReactNode } from 'react';
4
4
  import { Placement } from '@floating-ui/react';
5
- import * as next_dist_compiled__next_font from 'next/dist/compiled/@next/font';
6
5
 
7
6
  type Props$h = {
8
7
  visible: boolean;
@@ -256,11 +255,6 @@ type Props$4 = {
256
255
  };
257
256
  declare const Fade: ({ children, inProp }: Props$4) => react_jsx_runtime.JSX.Element;
258
257
 
259
- declare const openSans: next_dist_compiled__next_font.NextFontWithVariable;
260
- declare const ubuntu: next_dist_compiled__next_font.NextFontWithVariable;
261
- declare const parkinsans: next_dist_compiled__next_font.NextFontWithVariable;
262
- declare const balsamicSans: next_dist_compiled__next_font.NextFontWithVariable;
263
-
264
258
  type ProgressBarProps = {
265
259
  progress: number;
266
260
  height?: number;
@@ -329,4 +323,4 @@ declare const AnimateLogo: () => react_jsx_runtime.JSX.Element;
329
323
 
330
324
  declare const PRIMARY_COLOR = "#00b4d8";
331
325
 
332
- export { AnimateLogo, Backdrop, BAWrapper as BottomAlert, Breakpoint, Button, Checkbox, CircleProgress, Container, CourseProgress, ErrorText, Fade, FunButton, FunRoundButton, IconInfo, Modal, NoResults, NoticeBox, Overlay, OverlaySpinner, PRIMARY_COLOR, Pill, ProgressBar, ProgressBarSimple, RadioOption, RatingStars, ScrollProgress, Slider, Spinner, StepsComponent, Tippy, ToggleSwitch, UserContentSwitcher, balsamicSans, baseFieldStyle, createExerciseElementStyle, exerciseDeleteButton, exerciseEditButton, headerButtonClass, headerTippyClass, openSans, parkinsans, tippyClassname, toolbarExerciseButton, ubuntu, xIconButton };
326
+ export { AnimateLogo, Backdrop, BAWrapper as BottomAlert, Breakpoint, Button, Checkbox, CircleProgress, Container, CourseProgress, ErrorText, Fade, FunButton, FunRoundButton, IconInfo, Modal, NoResults, NoticeBox, Overlay, OverlaySpinner, PRIMARY_COLOR, Pill, ProgressBar, ProgressBarSimple, RadioOption, RatingStars, ScrollProgress, Slider, Spinner, StepsComponent, Tippy, ToggleSwitch, UserContentSwitcher, baseFieldStyle, createExerciseElementStyle, exerciseDeleteButton, exerciseEditButton, headerButtonClass, headerTippyClass, tippyClassname, toolbarExerciseButton, xIconButton };
package/dist/index.js CHANGED
@@ -91,18 +91,14 @@ __export(index_exports, {
91
91
  Tippy: () => Tippy_default,
92
92
  ToggleSwitch: () => ToggleSwitch_default,
93
93
  UserContentSwitcher: () => UserContentSwitcher_default,
94
- balsamicSans: () => balsamicSans,
95
94
  baseFieldStyle: () => baseFieldStyle,
96
95
  createExerciseElementStyle: () => createExerciseElementStyle,
97
96
  exerciseDeleteButton: () => exerciseDeleteButton,
98
97
  exerciseEditButton: () => exerciseEditButton,
99
98
  headerButtonClass: () => headerButtonClass,
100
99
  headerTippyClass: () => headerTippyClass,
101
- openSans: () => openSans,
102
- parkinsans: () => parkinsans,
103
100
  tippyClassname: () => tippyClassname,
104
101
  toolbarExerciseButton: () => toolbarExerciseButton,
105
- ubuntu: () => ubuntu,
106
102
  xIconButton: () => xIconButton
107
103
  });
108
104
  module.exports = __toCommonJS(index_exports);
@@ -128,40 +124,6 @@ var Backdrop_default = Backdrop;
128
124
  // src/Backdrop/Overlay.tsx
129
125
  var import_react = require("react");
130
126
  var import_react_dom = __toESM(require("react-dom"));
131
-
132
- // src/fonts/index.tsx
133
- var import_google = require("next/font/google");
134
- var openSans = (0, import_google.Open_Sans)({
135
- preload: true,
136
- display: "swap",
137
- subsets: ["cyrillic", "cyrillic-ext", "greek", "greek-ext", "latin", "latin-ext", "vietnamese", "hebrew"],
138
- variable: "--font-sans"
139
- });
140
- var ubuntu = (0, import_google.Ubuntu)({
141
- preload: true,
142
- weight: ["300", "400", "500", "700"],
143
- display: "auto",
144
- subsets: ["cyrillic", "cyrillic-ext", "greek", "greek-ext", "latin", "latin-ext"],
145
- variable: "--font-fallback"
146
- });
147
- var parkinsans = (0, import_google.Parkinsans)({
148
- preload: true,
149
- weight: ["300", "400", "500", "700"],
150
- display: "swap",
151
- adjustFontFallback: false,
152
- subsets: ["latin", "latin-ext"],
153
- // fallback: ['--font-fallback'],
154
- variable: "--font-header"
155
- });
156
- var balsamicSans = (0, import_google.Balsamiq_Sans)({
157
- preload: false,
158
- display: "swap",
159
- weight: ["400", "700"],
160
- subsets: ["cyrillic", "cyrillic-ext", "latin", "latin-ext"],
161
- variable: "--font-fun"
162
- });
163
-
164
- // src/Backdrop/Overlay.tsx
165
127
  var import_jsx_runtime2 = require("react/jsx-runtime");
166
128
  var Overlay = ({ visible, onDismissed, onClick, zIndex, isDark, children, opacity, withContainer = true }) => {
167
129
  const [modalRoot, setModalRoot] = (0, import_react.useState)(null);
@@ -186,14 +148,14 @@ var Overlay = ({ visible, onDismissed, onClick, zIndex, isDark, children, opacit
186
148
  "div",
187
149
  {
188
150
  onClick: onDismissed || onClick,
189
- className: `top-0 left-0 fixed w-full h-screen flex items-center justify-center ${parkinsans.variable} ${ubuntu.variable} ${openSans.variable}`,
151
+ className: `top-0 left-0 fixed w-full h-screen flex items-center justify-center`,
190
152
  style: {
191
153
  background: isDark ? `rgba(0, 0, 0, ${opacity || "0.7"})` : `rgba(255, 255, 255, ${opacity || "0.6"})`,
192
154
  zIndex: zIndex || 9999
193
155
  },
194
156
  children
195
157
  }
196
- ) : /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: `${ubuntu.variable} ${parkinsans.variable} ${openSans.variable}`, children }) }),
158
+ ) : children }),
197
159
  modalRoot
198
160
  );
199
161
  };
@@ -320,7 +282,6 @@ var Button_default = Button;
320
282
 
321
283
  // src/Button/FunButton.tsx
322
284
  var import_react2 = require("react");
323
- var import_colors = __toESM(require("tailwindcss/dist/colors"));
324
285
  var import_framer_motion = require("framer-motion");
325
286
  var import_jsx_runtime6 = require("react/jsx-runtime");
326
287
  var FunButton = ({
@@ -337,21 +298,21 @@ var FunButton = ({
337
298
  const { front, bottom } = (0, import_react2.useMemo)(() => {
338
299
  switch (color) {
339
300
  case "primary":
340
- return { bottom: "#00b4d8", front: import_colors.default.sky["600"] };
301
+ return { bottom: "#00b4d8", front: "#0284c7" };
341
302
  case "red":
342
- return { bottom: "#f00f0f", front: import_colors.default.red["700"] };
303
+ return { bottom: "#f00f0f", front: "#b91c1c" };
343
304
  case "green":
344
- return { bottom: import_colors.default.green["500"], front: import_colors.default.green["600"] };
305
+ return { bottom: "#22c55e", front: "#16a34a" };
345
306
  case "purple":
346
- return { bottom: import_colors.default.indigo["500"], front: import_colors.default.indigo["600"] };
307
+ return { bottom: "#6366f1", front: "#4f46e5" };
347
308
  case "teal":
348
- return { bottom: import_colors.default.teal["500"], front: import_colors.default.teal["600"] };
309
+ return { bottom: "#14b8a6", front: "#0d9488" };
349
310
  case "cyan":
350
- return { bottom: import_colors.default.cyan["500"], front: import_colors.default.cyan["600"] };
311
+ return { bottom: "#06b6d4", front: "#0891b2" };
351
312
  case "yellow":
352
- return { bottom: import_colors.default.yellow["500"], front: import_colors.default.yellow["600"] };
313
+ return { bottom: "#eab308", front: "#ca8a04" };
353
314
  default:
354
- return { bottom: "#00b4d8", front: import_colors.default.sky["700"] };
315
+ return { bottom: "#00b4d8", front: "#0369a1" };
355
316
  }
356
317
  }, [color]);
357
318
  const classStyle = (0, import_react2.useMemo)(() => {
@@ -407,26 +368,25 @@ var FunButton_default = FunButton;
407
368
 
408
369
  // src/Button/FunRoundButton.tsx
409
370
  var import_react3 = require("react");
410
- var import_colors2 = __toESM(require("tailwindcss/dist/colors"));
411
371
  var import_framer_motion2 = require("framer-motion");
412
372
  var import_jsx_runtime7 = require("react/jsx-runtime");
413
373
  var FunRoundButton = ({ onClick, disabled, type, children, color, active, className, size = 44 }) => {
414
374
  const { front, bottom } = (0, import_react3.useMemo)(() => {
415
375
  switch (color) {
416
376
  case "primary":
417
- return { bottom: "#00b4d8", front: import_colors2.default.sky["600"] };
377
+ return { bottom: "#00b4d8", front: "#0284c7" };
418
378
  case "red":
419
379
  return { bottom: disabled ? "hsl(340deg 100% 42%)" : "hsl(345deg 100% 47%)", front: disabled ? "hsl(340deg 100% 52%)" : "hsl(340deg 100% 32%)" };
420
380
  case "green":
421
- return { bottom: disabled ? import_colors2.default.green["300"] : import_colors2.default.green["500"], front: disabled ? import_colors2.default.green["400"] : import_colors2.default.green["600"] };
381
+ return { bottom: disabled ? "#86efac" : "#22c55e", front: disabled ? "#4ade80" : "#16a34a" };
422
382
  case "purple":
423
- return { bottom: disabled ? import_colors2.default.indigo["300"] : import_colors2.default.indigo["500"], front: disabled ? import_colors2.default.indigo["400"] : import_colors2.default.indigo["600"] };
383
+ return { bottom: disabled ? "#a5b4fc" : "#6366f1", front: disabled ? "#818cf8" : "#4f46e5" };
424
384
  case "teal":
425
- return { bottom: disabled ? import_colors2.default.teal["300"] : import_colors2.default.teal["500"], front: disabled ? import_colors2.default.teal["400"] : import_colors2.default.teal["600"] };
385
+ return { bottom: disabled ? "#5eead4" : "#14b8a6", front: disabled ? "#2dd4bf" : "#0d9488" };
426
386
  case "yellow":
427
- return { bottom: disabled ? import_colors2.default.yellow["300"] : import_colors2.default.yellow["500"], front: disabled ? import_colors2.default.yellow["400"] : import_colors2.default.yellow["600"] };
387
+ return { bottom: disabled ? "#fde047" : "#eab308", front: disabled ? "#facc15" : "#ca8a04" };
428
388
  default:
429
- return { bottom: disabled ? import_colors2.default.gray["300"] : "#00b4d8", front: disabled ? import_colors2.default.sky["400"] : import_colors2.default.sky["700"] };
389
+ return { bottom: disabled ? "#d1d5db" : "#00b4d8", front: disabled ? "#38bdf8" : "#0369a1" };
430
390
  }
431
391
  }, [color, disabled]);
432
392
  return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
@@ -567,7 +527,6 @@ var RadioOption = ({ name, isLarge, labelText, option, onSelect }) => {
567
527
  var RadioOption_default = RadioOption;
568
528
 
569
529
  // src/Common/BottomAlert.tsx
570
- var import_colors3 = __toESM(require("tailwindcss/dist/colors"));
571
530
  var import_react_dom2 = __toESM(require("react-dom"));
572
531
  var import_jsx_runtime11 = require("react/jsx-runtime");
573
532
  var BottomAlert = ({ isDark, setDontShowAgain, dontShowAgain, title, borderColor, onDismissed, cancelText, confirmText, onConfirm, onCancel, isSingleAction, children, buttonColor }) => {
@@ -582,7 +541,7 @@ var BottomAlert = ({ isDark, setDontShowAgain, dontShowAgain, title, borderColor
582
541
  background: isDark ? "rgba(0, 0, 0, 0.1)" : "rgba(255, 255, 255, 0.1)",
583
542
  zIndex: 9999
584
543
  },
585
- children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "absolute top-0 w-full h-screen flex justify-center bg-gray-200/90 dark:bg-slate-800/50", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "absolute sm:w-1/2 w-full mx-auto shadow-xl rounded-md p-6 flex z-50 flex-col top-24 bg-white dark:bg-slate-900 overflow-clip rounded-bl-lg rounded-br-lg border-b-8 border-b-blue-500", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { style: { borderColor: borderColor || import_colors3.default.sky["500"] }, children: [
544
+ children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "absolute top-0 w-full h-screen flex justify-center bg-gray-200/90 dark:bg-slate-800/50", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "absolute sm:w-1/2 w-full mx-auto shadow-xl rounded-md p-6 flex z-50 flex-col top-24 bg-white dark:bg-slate-900 overflow-clip rounded-bl-lg rounded-br-lg border-b-8 border-b-blue-500", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { style: { borderColor: borderColor || "#0ea5e9" }, children: [
586
545
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("h3", { className: "font-semibold font-header text-gray-700 dark:text-gray-300 text-xl", children: title }),
587
546
  /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: "mt-2 text-lg", children }),
588
547
  setDontShowAgain ? /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "flex items-center space-x-1", children: [
@@ -1636,17 +1595,13 @@ var PRIMARY_COLOR3 = "#00b4d8";
1636
1595
  Tippy,
1637
1596
  ToggleSwitch,
1638
1597
  UserContentSwitcher,
1639
- balsamicSans,
1640
1598
  baseFieldStyle,
1641
1599
  createExerciseElementStyle,
1642
1600
  exerciseDeleteButton,
1643
1601
  exerciseEditButton,
1644
1602
  headerButtonClass,
1645
1603
  headerTippyClass,
1646
- openSans,
1647
- parkinsans,
1648
1604
  tippyClassname,
1649
1605
  toolbarExerciseButton,
1650
- ubuntu,
1651
1606
  xIconButton
1652
1607
  });
package/dist/index.mjs CHANGED
@@ -51,40 +51,6 @@ var Backdrop_default = Backdrop;
51
51
  // src/Backdrop/Overlay.tsx
52
52
  import { useEffect, useState } from "react";
53
53
  import ReactDOM from "react-dom";
54
-
55
- // src/fonts/index.tsx
56
- import { Open_Sans, Ubuntu, Balsamiq_Sans, Parkinsans } from "next/font/google";
57
- var openSans = Open_Sans({
58
- preload: true,
59
- display: "swap",
60
- subsets: ["cyrillic", "cyrillic-ext", "greek", "greek-ext", "latin", "latin-ext", "vietnamese", "hebrew"],
61
- variable: "--font-sans"
62
- });
63
- var ubuntu = Ubuntu({
64
- preload: true,
65
- weight: ["300", "400", "500", "700"],
66
- display: "auto",
67
- subsets: ["cyrillic", "cyrillic-ext", "greek", "greek-ext", "latin", "latin-ext"],
68
- variable: "--font-fallback"
69
- });
70
- var parkinsans = Parkinsans({
71
- preload: true,
72
- weight: ["300", "400", "500", "700"],
73
- display: "swap",
74
- adjustFontFallback: false,
75
- subsets: ["latin", "latin-ext"],
76
- // fallback: ['--font-fallback'],
77
- variable: "--font-header"
78
- });
79
- var balsamicSans = Balsamiq_Sans({
80
- preload: false,
81
- display: "swap",
82
- weight: ["400", "700"],
83
- subsets: ["cyrillic", "cyrillic-ext", "latin", "latin-ext"],
84
- variable: "--font-fun"
85
- });
86
-
87
- // src/Backdrop/Overlay.tsx
88
54
  import { jsx as jsx2 } from "react/jsx-runtime";
89
55
  var Overlay = ({ visible, onDismissed, onClick, zIndex, isDark, children, opacity, withContainer = true }) => {
90
56
  const [modalRoot, setModalRoot] = useState(null);
@@ -109,14 +75,14 @@ var Overlay = ({ visible, onDismissed, onClick, zIndex, isDark, children, opacit
109
75
  "div",
110
76
  {
111
77
  onClick: onDismissed || onClick,
112
- className: `top-0 left-0 fixed w-full h-screen flex items-center justify-center ${parkinsans.variable} ${ubuntu.variable} ${openSans.variable}`,
78
+ className: `top-0 left-0 fixed w-full h-screen flex items-center justify-center`,
113
79
  style: {
114
80
  background: isDark ? `rgba(0, 0, 0, ${opacity || "0.7"})` : `rgba(255, 255, 255, ${opacity || "0.6"})`,
115
81
  zIndex: zIndex || 9999
116
82
  },
117
83
  children
118
84
  }
119
- ) : /* @__PURE__ */ jsx2("div", { className: `${ubuntu.variable} ${parkinsans.variable} ${openSans.variable}`, children }) }),
85
+ ) : children }),
120
86
  modalRoot
121
87
  );
122
88
  };
@@ -243,7 +209,6 @@ var Button_default = Button;
243
209
 
244
210
  // src/Button/FunButton.tsx
245
211
  import { useMemo } from "react";
246
- import colors from "tailwindcss/dist/colors";
247
212
  import { motion } from "framer-motion";
248
213
  import { jsx as jsx6 } from "react/jsx-runtime";
249
214
  var FunButton = ({
@@ -260,21 +225,21 @@ var FunButton = ({
260
225
  const { front, bottom } = useMemo(() => {
261
226
  switch (color) {
262
227
  case "primary":
263
- return { bottom: "#00b4d8", front: colors.sky["600"] };
228
+ return { bottom: "#00b4d8", front: "#0284c7" };
264
229
  case "red":
265
- return { bottom: "#f00f0f", front: colors.red["700"] };
230
+ return { bottom: "#f00f0f", front: "#b91c1c" };
266
231
  case "green":
267
- return { bottom: colors.green["500"], front: colors.green["600"] };
232
+ return { bottom: "#22c55e", front: "#16a34a" };
268
233
  case "purple":
269
- return { bottom: colors.indigo["500"], front: colors.indigo["600"] };
234
+ return { bottom: "#6366f1", front: "#4f46e5" };
270
235
  case "teal":
271
- return { bottom: colors.teal["500"], front: colors.teal["600"] };
236
+ return { bottom: "#14b8a6", front: "#0d9488" };
272
237
  case "cyan":
273
- return { bottom: colors.cyan["500"], front: colors.cyan["600"] };
238
+ return { bottom: "#06b6d4", front: "#0891b2" };
274
239
  case "yellow":
275
- return { bottom: colors.yellow["500"], front: colors.yellow["600"] };
240
+ return { bottom: "#eab308", front: "#ca8a04" };
276
241
  default:
277
- return { bottom: "#00b4d8", front: colors.sky["700"] };
242
+ return { bottom: "#00b4d8", front: "#0369a1" };
278
243
  }
279
244
  }, [color]);
280
245
  const classStyle = useMemo(() => {
@@ -330,26 +295,25 @@ var FunButton_default = FunButton;
330
295
 
331
296
  // src/Button/FunRoundButton.tsx
332
297
  import { useMemo as useMemo2 } from "react";
333
- import colors2 from "tailwindcss/dist/colors";
334
298
  import { motion as motion2 } from "framer-motion";
335
299
  import { jsx as jsx7 } from "react/jsx-runtime";
336
300
  var FunRoundButton = ({ onClick, disabled, type, children, color, active, className, size = 44 }) => {
337
301
  const { front, bottom } = useMemo2(() => {
338
302
  switch (color) {
339
303
  case "primary":
340
- return { bottom: "#00b4d8", front: colors2.sky["600"] };
304
+ return { bottom: "#00b4d8", front: "#0284c7" };
341
305
  case "red":
342
306
  return { bottom: disabled ? "hsl(340deg 100% 42%)" : "hsl(345deg 100% 47%)", front: disabled ? "hsl(340deg 100% 52%)" : "hsl(340deg 100% 32%)" };
343
307
  case "green":
344
- return { bottom: disabled ? colors2.green["300"] : colors2.green["500"], front: disabled ? colors2.green["400"] : colors2.green["600"] };
308
+ return { bottom: disabled ? "#86efac" : "#22c55e", front: disabled ? "#4ade80" : "#16a34a" };
345
309
  case "purple":
346
- return { bottom: disabled ? colors2.indigo["300"] : colors2.indigo["500"], front: disabled ? colors2.indigo["400"] : colors2.indigo["600"] };
310
+ return { bottom: disabled ? "#a5b4fc" : "#6366f1", front: disabled ? "#818cf8" : "#4f46e5" };
347
311
  case "teal":
348
- return { bottom: disabled ? colors2.teal["300"] : colors2.teal["500"], front: disabled ? colors2.teal["400"] : colors2.teal["600"] };
312
+ return { bottom: disabled ? "#5eead4" : "#14b8a6", front: disabled ? "#2dd4bf" : "#0d9488" };
349
313
  case "yellow":
350
- return { bottom: disabled ? colors2.yellow["300"] : colors2.yellow["500"], front: disabled ? colors2.yellow["400"] : colors2.yellow["600"] };
314
+ return { bottom: disabled ? "#fde047" : "#eab308", front: disabled ? "#facc15" : "#ca8a04" };
351
315
  default:
352
- return { bottom: disabled ? colors2.gray["300"] : "#00b4d8", front: disabled ? colors2.sky["400"] : colors2.sky["700"] };
316
+ return { bottom: disabled ? "#d1d5db" : "#00b4d8", front: disabled ? "#38bdf8" : "#0369a1" };
353
317
  }
354
318
  }, [color, disabled]);
355
319
  return /* @__PURE__ */ jsx7(
@@ -490,7 +454,6 @@ var RadioOption = ({ name, isLarge, labelText, option, onSelect }) => {
490
454
  var RadioOption_default = RadioOption;
491
455
 
492
456
  // src/Common/BottomAlert.tsx
493
- import colors3 from "tailwindcss/dist/colors";
494
457
  import ReactDOM2 from "react-dom";
495
458
  import { jsx as jsx11, jsxs as jsxs4 } from "react/jsx-runtime";
496
459
  var BottomAlert = ({ isDark, setDontShowAgain, dontShowAgain, title, borderColor, onDismissed, cancelText, confirmText, onConfirm, onCancel, isSingleAction, children, buttonColor }) => {
@@ -505,7 +468,7 @@ var BottomAlert = ({ isDark, setDontShowAgain, dontShowAgain, title, borderColor
505
468
  background: isDark ? "rgba(0, 0, 0, 0.1)" : "rgba(255, 255, 255, 0.1)",
506
469
  zIndex: 9999
507
470
  },
508
- children: /* @__PURE__ */ jsx11("div", { className: "absolute top-0 w-full h-screen flex justify-center bg-gray-200/90 dark:bg-slate-800/50", children: /* @__PURE__ */ jsx11("div", { className: "absolute sm:w-1/2 w-full mx-auto shadow-xl rounded-md p-6 flex z-50 flex-col top-24 bg-white dark:bg-slate-900 overflow-clip rounded-bl-lg rounded-br-lg border-b-8 border-b-blue-500", children: /* @__PURE__ */ jsxs4("div", { style: { borderColor: borderColor || colors3.sky["500"] }, children: [
471
+ children: /* @__PURE__ */ jsx11("div", { className: "absolute top-0 w-full h-screen flex justify-center bg-gray-200/90 dark:bg-slate-800/50", children: /* @__PURE__ */ jsx11("div", { className: "absolute sm:w-1/2 w-full mx-auto shadow-xl rounded-md p-6 flex z-50 flex-col top-24 bg-white dark:bg-slate-900 overflow-clip rounded-bl-lg rounded-br-lg border-b-8 border-b-blue-500", children: /* @__PURE__ */ jsxs4("div", { style: { borderColor: borderColor || "#0ea5e9" }, children: [
509
472
  /* @__PURE__ */ jsx11("h3", { className: "font-semibold font-header text-gray-700 dark:text-gray-300 text-xl", children: title }),
510
473
  /* @__PURE__ */ jsx11("div", { className: "mt-2 text-lg", children }),
511
474
  setDontShowAgain ? /* @__PURE__ */ jsxs4("div", { className: "flex items-center space-x-1", children: [
@@ -1570,17 +1533,13 @@ export {
1570
1533
  Tippy_default as Tippy,
1571
1534
  ToggleSwitch_default as ToggleSwitch,
1572
1535
  UserContentSwitcher_default as UserContentSwitcher,
1573
- balsamicSans,
1574
1536
  baseFieldStyle,
1575
1537
  createExerciseElementStyle,
1576
1538
  exerciseDeleteButton,
1577
1539
  exerciseEditButton,
1578
1540
  headerButtonClass,
1579
1541
  headerTippyClass,
1580
- openSans,
1581
- parkinsans,
1582
1542
  tippyClassname,
1583
1543
  toolbarExerciseButton,
1584
- ubuntu,
1585
1544
  xIconButton
1586
1545
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evelearn-theme",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -19,7 +19,6 @@
19
19
  "autoprefixer": "^10.4.21",
20
20
  "formik": "^2.4.6",
21
21
  "framer-motion": "^12.23.0",
22
- "next": "^15.3.5",
23
22
  "postcss": "^8.5.6",
24
23
  "tailwindcss": "^4.1.11",
25
24
  "tsup": "^8.5.0",