@main12/auth-login 0.3.2 → 0.3.3

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.
@@ -41,7 +41,8 @@ export const AuthLayout = ({ children, logo, title, subtitle, footer, poweredBy,
41
41
  className: `flex flex-col min-h-screen ${backgroundClass}`,
42
42
  children: [
43
43
  /*#__PURE__*/ _jsxs("div", {
44
- className: "md:hidden flex flex-col w-full max-w-md mx-auto",
44
+ className: "md:hidden flex flex-col w-full max-w-md mx-auto light [color-scheme:light]",
45
+ "data-theme": "light",
45
46
  style: {
46
47
  maxWidth: '400px'
47
48
  },
@@ -51,7 +51,8 @@ export const Input = ({ type = 'text', label, value, onChange, onValueChange, is
51
51
  ]
52
52
  });
53
53
  export const Card = ({ children, className = '' })=>/*#__PURE__*/ _jsx("div", {
54
- className: `bg-white rounded-2xl shadow-2xl w-full ${className}`,
54
+ className: `bg-white text-gray-900 rounded-2xl shadow-2xl w-full light [color-scheme:light] ${className}`,
55
+ "data-theme": "light",
55
56
  style: {
56
57
  maxWidth: '400px'
57
58
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@main12/auth-login",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Reusable Payload CMS auth plugin — login, signup, OTP, forgot password, branded emails, Powered by Main12",
5
5
  "license": "MIT",
6
6
  "type": "module",