diff --git a/packages/w3ui/examples/react/w3console/public/w3.svg b/packages/w3ui/examples/react/w3console/public/w3.svg new file mode 100644 index 000000000..977174e1c --- /dev/null +++ b/packages/w3ui/examples/react/w3console/public/w3.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/packages/w3ui/examples/react/w3console/src/app.tsx b/packages/w3ui/examples/react/w3console/src/app.tsx index 3d99affa5..e356b08e5 100644 --- a/packages/w3ui/examples/react/w3console/src/app.tsx +++ b/packages/w3ui/examples/react/w3console/src/app.tsx @@ -148,7 +148,7 @@ export function App (): JSX.Element { -
+
diff --git a/packages/w3ui/examples/react/w3console/src/index.css b/packages/w3ui/examples/react/w3console/src/index.css index a90f0749c..c6795eefe 100644 --- a/packages/w3ui/examples/react/w3console/src/index.css +++ b/packages/w3ui/examples/react/w3console/src/index.css @@ -2,3 +2,24 @@ @tailwind components; @tailwind utilities; + +.w3ui-authenticator { + background-image: url("/w3.svg"); + background-repeat: no-repeat; + background-position: center 95%; + @apply bg-gray-900; +} + +.w3ui-authenticator-form { + background: linear-gradient(104.3deg,#3064e0 -8.21%,#00d8ff 88.68%); + @apply shadow-md px-10 pt-14 pb-8 rounded-xl; +} + +.w3ui-authenticator-form .email-field label { + @apply text-white font-semibold uppercase text-xs tracking-wider m-1 font-mono opacity-80; +} + +.w3ui-authenticator-form .email-field input { + width: 22rem; + @apply bg-white rounded-md shadow-md +} \ No newline at end of file diff --git a/packages/w3ui/packages/react/src/Authenticator.tsx b/packages/w3ui/packages/react/src/Authenticator.tsx index 34d113c23..793a97840 100644 --- a/packages/w3ui/packages/react/src/Authenticator.tsx +++ b/packages/w3ui/packages/react/src/Authenticator.tsx @@ -8,7 +8,7 @@ export function AuthenticationForm (): JSX.Element {
- +