Skip to content

Commit

Permalink
swap bg-black to bg-neutral-950
Browse files Browse the repository at this point in the history
  • Loading branch information
jack0wsky committed Feb 29, 2024
1 parent 2c071b8 commit 7d137b2
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion app/components/interfaces/ChatInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function ChatInput({ onSubmit, generating, disabled }: ChatInputProps) {
onChange={updateValue}
ref={inputRef}
/>
<button className="px-4 py-2 rounded-lg bg-black text-white">Send</button>
<button className="px-4 py-2 rounded-lg bg-neutral-900 text-white">Send</button>
</form>
);
}
2 changes: 1 addition & 1 deletion app/components/interfaces/ChatMessages.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function ChatMessage({ role, children }: PropsWithChildren<ChatMessageProps>) {
"max-w-[80%] lg:max-w-[60%] min-h-[30px] rounded-t-xl px-3 py-2 prose",
{
"bg-neutral-100 text-neutral-950 rounded-br-xl": role === "ai",
"bg-black text-white rounded-bl-xl ml-auto mr-0": role === "user",
"bg-neutral-950 text-white rounded-bl-xl ml-auto mr-0": role === "user",
}
)}
>
Expand Down
6 changes: 3 additions & 3 deletions app/components/layout/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const Header = () => {
<NavLink
to={route.path}
key={route.path}
className="ml-4 text-black/50 hover:text-black transition"
className="ml-4 text-neutral-950/50 hover:text-neutral-950 transition"
>
{route.name}
</NavLink>
Expand All @@ -67,7 +67,7 @@ export const Header = () => {
rel="noreferrer"
className="h-8 w-8 flex justify-center items-center"
>
<GithubLogo className="text-2xl text-black/50 hover:text-black" />
<GithubLogo className="text-2xl text-neutral-950/50 hover:text-neutral-950" />
</a>

<a
Expand All @@ -76,7 +76,7 @@ export const Header = () => {
rel="noreferrer"
className="h-8 w-8 flex justify-center items-center"
>
<DiscordLogo className="text-2xl text-black/50 hover:text-black" />
<DiscordLogo className="text-2xl text-neutral-950/50 hover:text-neutral-950" />
</a>

<MobileMenu />
Expand Down
2 changes: 1 addition & 1 deletion app/components/sections/hero/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const Hero = () => {
return (
<section className="bg-white max-h-[800px] h-[75vh] w-full relative" id="hero">
<div className="w-full flex items-center h-3/4 layout pt-24">
<div className="text-black relative z-10 flex flex-col w-full lg:w-1/2">
<div className="relative z-10 flex flex-col w-full lg:w-1/2">
<h1 className="h1-mobile lg:h1-desktop text-neutral-950">
AI Automation
<br /> for{" "}
Expand Down
16 changes: 8 additions & 8 deletions app/components/shared/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ export const Button = ({
rel="noreferrer"
className={twMerge(
clsx(
`font-primaryBold px-6 py-3 rounded-lg bg-black text-white ${className}`,
`font-primaryBold px-6 py-3 rounded-lg bg-neutral-950 text-white ${className}`,
{
"bg-white text-black": mode === "light",
"bg-transparent border border-black text-black hover:bg-black hover:text-white transition-colors hover:-translate-y-1":
"bg-white text-neutral-950": mode === "light",
"bg-transparent border border-neutral-950 text-neutral-950 hover:bg-neutral-950 hover:text-white transition-colors hover:-translate-y-1":
mode === "dark" && variant === "secondary",
"bg-black text-white transition-all hover:-translate-y-1 hover:drop-shadow-2xl":
"bg-neutral-950 text-white transition-all hover:-translate-y-1 hover:drop-shadow-2xl":
mode === "dark" && variant === "primary",
}
)
Expand All @@ -44,12 +44,12 @@ export const Button = ({
<button
className={twMerge(
clsx(
`font-primaryBold px-6 py-3 rounded-lg bg-black text-white ${className}`,
`font-primaryBold px-6 py-3 rounded-lg bg-neutral-950 text-white ${className}`,
{
"bg-white text-black": mode === "light",
"bg-transparent border border-black text-black hover:bg-black hover:text-white transition-colors hover:-translate-y-1":
"bg-white text-neutral-950": mode === "light",
"bg-transparent border border-neutral-950 text-neutral-950 hover:bg-neutral-950 hover:text-white transition-colors hover:-translate-y-1":
mode === "dark" && variant === "secondary",
"bg-black text-white transition-all hover:-translate-y-1 hover:drop-shadow-2xl":
"bg-neutral-950 text-white transition-all hover:-translate-y-1 hover:drop-shadow-2xl":
mode === "dark" && variant === "primary",
}
)
Expand Down
2 changes: 1 addition & 1 deletion app/components/shared/MobileMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { BurgerMenu } from "~/icons/BurgerMenu";
export const MobileMenu = () => {
return (
<>
<button className="md:hidden px-3 py-2 rounded-full bg-black flex items-center gap-x-2">
<button className="md:hidden px-3 py-2 rounded-full bg-neutral-900 flex items-center gap-x-2">
<BurgerMenu className="text-white" /> Menu
</button>
</>
Expand Down
2 changes: 1 addition & 1 deletion app/components/shared/Tab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const Tab = ({
<button
onClick={onClick}
className={clsx(
"flex items-center justify-center gap-x-2 rounded-full py-1.5 px-3 text-black text-md",
"flex items-center justify-center gap-x-2 rounded-full py-1.5 px-3 text-neutral-950 text-md",
className,
{
"bg-white": active,
Expand Down

0 comments on commit 7d137b2

Please sign in to comment.