Skip to content

Commit

Permalink
✨sepolia
Browse files Browse the repository at this point in the history
  • Loading branch information
nerderlyne committed Feb 20, 2024
1 parent 1006ea4 commit c781389
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
23 changes: 23 additions & 0 deletions ui/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,29 @@ body {
font-style: normal;
}

.command-prompt-input {
caret-color: white;
caret-shape: block;
background-color: black;
}

.command-prompt-input:focus {
outline: none;
}

.command-prompt-input::after {
content: '|';
animation: blink-animation 1s infinite;
display: inline-block;
margin-left: -1px;
}

@keyframes blink-animation {
50% {
opacity: 0;
}
}

a {
color: inherit;
text-decoration: none;
Expand Down
2 changes: 1 addition & 1 deletion ui/components/providers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const config = getDefaultConfig({
projectId: process.env.NEXT_PUBLIC_WC_ID!,
chains: [
mainnet,
...(process.env.NEXT_PUBLIC_ENABLE_TESTNETS === "true" ? [sepolia] : []),
sepolia
],
ssr: true,
});
Expand Down
4 changes: 2 additions & 2 deletions ui/components/shell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ import {
isAddress,
isAddressEqual,
maxUint256,
parseEther,
zeroAddress,
} from "viem";
import { mainnet } from "viem/chains";
import useShellStore from "@/lib/use-shell-store";
import { ShellHistory } from "./shell-history";
import { cn } from "@/lib/utils";

const formSchema = z.object({
command: z.string().min(2),
Expand Down Expand Up @@ -206,7 +206,7 @@ export const Shell = () => {
{id}
<FormControl>
<input
className="min-w-3/4 bg-black text-white focus:outline-none w-full"
className={cn("command-prompt-input", " min-w-3/4 focus:outline-none w-full")}
{...field}
/>
</FormControl>
Expand Down

0 comments on commit c781389

Please sign in to comment.