Skip to content

Commit

Permalink
Add better light and dark mode styles
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiodxa committed May 3, 2024
1 parent de02057 commit a1f6e27
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/routes/turbo-visualizer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { Fence } from "~/components/md/fence";
export const handle: SDX.Handle = { hydrate: true };

export async function clientAction({ request }: ClientActionFunctionArgs) {
console.log("decoding client-side");
try {
// biome-ignore lint/style/noNonNullAssertion: The request always has a body
let decoded = await decode(request.body!);
Expand All @@ -27,7 +26,7 @@ export default function Component() {
return (
<main className="h-screen w-full font-mono p-8 grid grid-cols-3 gap-8">
<textarea
className="w-full h-full overflow-auto p-2 resize-none"
className="w-full h-full overflow-auto p-2 resize-none bg-slate-50 dark:bg-slate-950 rounded-lg"
onChange={(event) => {
submit(event.currentTarget.value, {
method: "POST",
Expand Down

0 comments on commit a1f6e27

Please sign in to comment.