Skip to content

Commit

Permalink
accept invite light mode ui fix
Browse files Browse the repository at this point in the history
  • Loading branch information
shatfield4 committed Nov 18, 2024
1 parent a4e3cf2 commit ca429a2
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions frontend/src/pages/Invite/NewUserModal/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ export default function NewUserModal() {
return (
<div className="relative w-full max-w-2xl max-h-full">
<div className="relative w-full max-w-2xl bg-theme-bg-secondary rounded-lg shadow border-2 border-theme-modal-border">
<div className="flex items-start justify-between p-4 border-b rounded-t border-gray-500/50">
<h3 className="text-xl font-semibold text-white">
<div className="flex items-start justify-between p-4 border-b rounded-t border-theme-modal-border">
<h3 className="text-xl font-semibold text-theme-text-primary">
Create a new account
</h3>
</div>
Expand All @@ -44,14 +44,14 @@ export default function NewUserModal() {
<div>
<label
htmlFor="username"
className="block mb-2 text-sm font-medium text-white"
className="block mb-2 text-sm font-medium text-theme-text-primary"
>
Username
</label>
<input
name="username"
type="text"
className="border-none bg-theme-settings-input-bg text-white placeholder:text-theme-settings-input-placeholder text-sm rounded-lg focus:outline-primary-button active:outline-primary-button outline-none block w-full p-2.5"
className="bg-theme-settings-input-bg text-theme-text-primary placeholder:text-theme-settings-input-placeholder text-sm rounded-lg focus:outline-primary-button active:outline-primary-button outline-none block w-full p-2.5"
placeholder="My username"
minLength={2}
required={true}
Expand All @@ -61,31 +61,31 @@ export default function NewUserModal() {
<div>
<label
htmlFor="password"
className="block mb-2 text-sm font-medium text-white"
className="block mb-2 text-sm font-medium text-theme-text-primary"
>
Password
</label>
<input
name="password"
type="password"
className="border-none bg-theme-settings-input-bg text-white placeholder:text-theme-settings-input-placeholder text-sm rounded-lg focus:outline-primary-button active:outline-primary-button outline-none block w-full p-2.5"
className="bg-theme-settings-input-bg text-theme-text-primary placeholder:text-theme-settings-input-placeholder text-sm rounded-lg focus:outline-primary-button active:outline-primary-button outline-none block w-full p-2.5"
placeholder="Your password"
required={true}
minLength={8}
autoComplete="off"
/>
</div>
{error && <p className="text-red-400 text-sm">Error: {error}</p>}
<p className="text-slate-200 text-xs md:text-sm">
<p className="text-theme-text-secondary text-xs md:text-sm">
After creating your account you will be able to login with these
credentials and start using workspaces.
</p>
</div>
</div>
<div className="flex w-full justify-between items-center p-6 space-x-2 border-t rounded-b border-gray-500/50">
<div className="flex w-full justify-between items-center p-6 space-x-2 border-t rounded-b border-theme-modal-border">
<button
type="submit"
className="w-full transition-all duration-300 border border-slate-200 px-4 py-2 rounded-lg text-white text-sm items-center flex gap-x-2 hover:bg-slate-200 hover:text-slate-800 focus:ring-gray-800 text-center justify-center"
className="w-full transition-all duration-300 border border-theme-text-primary px-4 py-2 rounded-lg text-theme-text-primary text-sm items-center flex gap-x-2 hover:bg-theme-text-primary hover:text-theme-bg-primary focus:ring-gray-800 text-center justify-center"
>
Accept Invitation
</button>
Expand Down

0 comments on commit ca429a2

Please sign in to comment.