Dark mode onboarding (#2461)

dark mode onboarding
This commit is contained in:
Sean Hatfield 2024-10-11 17:06:46 -07:00 committed by GitHub
parent a302aab6d4
commit 841a83708e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 11 additions and 11 deletions

View File

@ -78,7 +78,7 @@ export default function CreateWorkspace({
<input <input
name="name" name="name"
type="text" type="text"
className="bg-zinc-900 text-white placeholder:text-theme-settings-input-placeholder text-sm rounded-lg block w-full p-2.5" className="bg-theme-settings-input-bg text-white focus:outline-primary-button active:outline-primary-button placeholder:text-theme-settings-input-placeholder outline-none text-sm rounded-lg block w-full p-2.5"
placeholder="My Workspace" placeholder="My Workspace"
required={true} required={true}
autoComplete="off" autoComplete="off"

View File

@ -8,7 +8,7 @@ export default function OnboardingHome() {
const navigate = useNavigate(); const navigate = useNavigate();
return ( return (
<> <>
<div className="relative w-screen h-screen flex overflow-hidden bg-mobile-onboarding md:bg-main-gradient"> <div className="relative w-screen h-screen flex overflow-hidden bg-theme-bg-secondary">
<div <div
className="hidden md:block fixed bottom-10 left-10 w-[320px] h-[320px] bg-no-repeat bg-contain" className="hidden md:block fixed bottom-10 left-10 w-[320px] h-[320px] bg-no-repeat bg-contain"
style={{ backgroundImage: `url(${LGroupImg})` }} style={{ backgroundImage: `url(${LGroupImg})` }}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

After

Width:  |  Height:  |  Size: 71 KiB

View File

@ -288,7 +288,7 @@ export default function LLMPreference({
return ( return (
<div> <div>
<form ref={formRef} onSubmit={handleSubmit} className="w-full"> <form ref={formRef} onSubmit={handleSubmit} className="w-full">
<div className="w-full relative border-slate-300/40 shadow border-2 rounded-lg text-white"> <div className="w-full relative border-theme-chat-input-border shadow border-2 rounded-lg text-white">
<div className="w-full p-4 absolute top-0 rounded-t-lg backdrop-blur-sm"> <div className="w-full p-4 absolute top-0 rounded-t-lg backdrop-blur-sm">
<div className="w-full flex items-center sticky top-0"> <div className="w-full flex items-center sticky top-0">
<MagnifyingGlass <MagnifyingGlass
@ -299,7 +299,7 @@ export default function LLMPreference({
<input <input
type="text" type="text"
placeholder="Search LLM providers" placeholder="Search LLM providers"
className="bg-zinc-600 z-20 pl-10 h-[38px] rounded-full w-full px-4 py-1 text-sm border-2 border-slate-300/40 outline-none focus:outline-primary-button active:outline-primary-button outline-none text-white" className="bg-theme-bg-secondary placeholder:text-theme-text-secondary z-20 pl-10 h-[38px] rounded-full w-full px-4 py-1 text-sm border border-theme-chat-input-border outline-none focus:outline-primary-button active:outline-primary-button outline-none text-white"
onChange={(e) => setSearchQuery(e.target.value)} onChange={(e) => setSearchQuery(e.target.value)}
autoComplete="off" autoComplete="off"
onKeyDown={(e) => { onKeyDown={(e) => {

View File

@ -122,7 +122,7 @@ export default function Survey({ setHeader, setForwardBtn, setBackBtn }) {
type="email" type="email"
placeholder="you@gmail.com" placeholder="you@gmail.com"
required={true} required={true}
className="mt-2 bg-zinc-900 text-white placeholder:text-theme-settings-input-placeholder text-sm font-medium font-['Plus Jakarta Sans'] leading-tight w-full h-11 p-2.5 bg-zinc-900 rounded-lg" className="mt-2 bg-theme-settings-input-bg text-white focus:outline-primary-button active:outline-primary-button placeholder:text-theme-settings-input-placeholder outline-none text-sm font-medium font-['Plus Jakarta Sans'] leading-tight w-full h-11 p-2.5 bg-theme-settings-input-bg rounded-lg"
/> />
</div> </div>
@ -217,7 +217,7 @@ export default function Survey({ setHeader, setForwardBtn, setBackBtn }) {
<textarea <textarea
name="comment" name="comment"
rows={5} rows={5}
className="mt-2 bg-zinc-900 text-white placeholder:text-theme-settings-input-placeholder text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5" className="mt-2 bg-theme-settings-input-bg text-white text-sm rounded-lg focus:outline-primary-button active:outline-primary-button placeholder:text-theme-settings-input-placeholder outline-none block w-full p-2.5"
placeholder="If you have any questions or comments right now, you can leave them here and we will get back to you. You can also email team@mintplexlabs.com" placeholder="If you have any questions or comments right now, you can leave them here and we will get back to you. You can also email team@mintplexlabs.com"
wrap="soft" wrap="soft"
autoComplete="off" autoComplete="off"

View File

@ -197,7 +197,7 @@ const JustMe = ({
<input <input
name="password" name="password"
type="password" type="password"
className="bg-zinc-900 text-white text-sm rounded-lg block w-full p-2.5 focus:outline-primary-button active:outline-primary-button outline-none" className="bg-theme-settings-input-bg text-white text-sm rounded-lg block w-full p-2.5 focus:outline-primary-button active:outline-primary-button outline-none placeholder:text-theme-text-secondary"
placeholder="Your admin password" placeholder="Your admin password"
minLength={6} minLength={6}
required={true} required={true}
@ -280,7 +280,7 @@ const MyTeam = ({ setMultiUserLoginValid, myTeamSubmitRef, navigate }) => {
<input <input
name="username" name="username"
type="text" type="text"
className="bg-zinc-900 text-white text-sm rounded-lg block w-full p-2.5 focus:outline-primary-button active:outline-primary-button outline-none" className="bg-theme-settings-input-bg text-white text-sm rounded-lg block w-full p-2.5 focus:outline-primary-button active:outline-primary-button placeholder:text-theme-text-secondary outline-none"
placeholder="Your admin username" placeholder="Your admin username"
minLength={6} minLength={6}
required={true} required={true}
@ -303,7 +303,7 @@ const MyTeam = ({ setMultiUserLoginValid, myTeamSubmitRef, navigate }) => {
<input <input
name="password" name="password"
type="password" type="password"
className="bg-zinc-900 text-white text-sm rounded-lg block w-full p-2.5 focus:outline-primary-button active:outline-primary-button outline-none" className="bg-theme-settings-input-bg text-white text-sm rounded-lg block w-full p-2.5 focus:outline-primary-button active:outline-primary-button placeholder:text-theme-text-secondary outline-none"
placeholder="Your admin password" placeholder="Your admin password"
minLength={8} minLength={8}
required={true} required={true}

View File

@ -37,7 +37,7 @@ export function OnboardingLayout({ children }) {
if (isMobile) { if (isMobile) {
return ( return (
<div className="w-screen h-screen overflow-y-auto bg-mobile-onboarding overflow-hidden"> <div className="w-screen h-screen overflow-y-auto bg-theme-bg-secondary overflow-hidden">
<div className="flex flex-col"> <div className="flex flex-col">
<div className="w-full relative py-10 px-2"> <div className="w-full relative py-10 px-2">
<div className="flex flex-col w-fit mx-auto gap-y-1 mb-[55px]"> <div className="flex flex-col w-fit mx-auto gap-y-1 mb-[55px]">
@ -87,7 +87,7 @@ export function OnboardingLayout({ children }) {
} }
return ( return (
<div className="w-screen overflow-y-auto bg-mobile-onboarding md:bg-main-gradient flex justify-center overflow-hidden"> <div className="w-screen overflow-y-auto bg-theme-bg-secondary flex justify-center overflow-hidden">
<div className="flex w-1/5 h-screen justify-center items-center"> <div className="flex w-1/5 h-screen justify-center items-center">
{backBtn.showing && ( {backBtn.showing && (
<button <button