@@ -21,7 +21,7 @@ import {
2121 TextInput,
2222 ProcessTerminal,
2323 } from "@cel-tui/core";
24-import { Button, Divider, Spacer } from "@cel-tui/components";
24+import { Button, Divider, Spacer, VDivider } from "@cel-tui/components";
2525
2626 // ─── Pet Definitions ────────────────────────────────────────────
2727
@@ -536,14 +536,12 @@ function createView() {
536536
537537 // Create button — uncontrolled focus + focusStyle
538538 HStack({ justifyContent: "center" }, [
539- HStack(
540- {
541- onClick: startGame,
542- fgColor: "green",
543- focusStyle: { bgColor: "green", fgColor: "black" },
544- },
545- [Text(" Create Pet! ", { bold: true })],
546- ),
539+ Button(" Create Pet! ", {
540+ onClick: startGame,
541+ fgColor: "green",
542+ bold: true,
543+ focusStyle: { bgColor: "green", fgColor: "black" },
544+ }),
547545 ]),
548546
549547 // Hints
@@ -602,22 +600,18 @@ function mainView() {
602600 ),
603601 Text(""),
604602 HStack({ gap: 3 }, [
605- HStack(
606- {
607- onClick: feed,
608- fgColor: "yellow",
609- focusStyle: { bgColor: "yellow", fgColor: "black" },
610- },
611- [Text(" Feed ", { bold: true })],
612- ),
613- HStack(
614- {
615- onClick: petIt,
616- fgColor: "magenta",
617- focusStyle: { bgColor: "magenta", fgColor: "black" },
618- },
619- [Text(" Pet ", { bold: true })],
620- ),
603+ Button(" Feed ", {
604+ onClick: feed,
605+ fgColor: "yellow",
606+ bold: true,
607+ focusStyle: { bgColor: "yellow", fgColor: "black" },
608+ }),
609+ Button(" Pet ", {
610+ onClick: petIt,
611+ fgColor: "magenta",
612+ bold: true,
613+ focusStyle: { bgColor: "magenta", fgColor: "black" },
614+ }),
621615 ]),
622616 ],
623617 );
@@ -663,9 +657,7 @@ function mainView() {
663657 // Wide: sidebar | pet side-by-side
664658 HStack({ flex: 1 }, [
665659 statsPanel,
666- VStack({ width: 1, height: "100%" }, [
667- Text("│", { repeat: "fill", fgColor: "brightBlack" }),
668- ]),
660+ VDivider({ fgColor: "brightBlack" }),
669661 petPane,
670662 ]),
671663 ]),
@@ -811,25 +803,21 @@ function deadView() {
811803 }),
812804 Text(""),
813805 HStack({ gap: 3 }, [
814- HStack(
815- {
816- onClick: restart,
817- fgColor: "green",
818- focusStyle: { bgColor: "green", fgColor: "black" },
819- },
820- [Text(" New Pet ", { bold: true })],
821- ),
822- HStack(
823- {
824- onClick: () => {
825- showLog = !showLog;
826- cel.render();
827- },
828- fgColor: "cyan",
829- focusStyle: { bgColor: "cyan", fgColor: "black" },
806+ Button(" New Pet ", {
807+ onClick: restart,
808+ fgColor: "green",
809+ bold: true,
810+ focusStyle: { bgColor: "green", fgColor: "black" },
811+ }),
812+ Button(" View Log ", {
813+ onClick: () => {
814+ showLog = !showLog;
815+ cel.render();
830816 },
831- [Text(" View Log ", { bold: true })],
832- ),
817+ fgColor: "cyan",
818+ bold: true,
819+ focusStyle: { bgColor: "cyan", fgColor: "black" },
820+ }),
833821 ]),
834822 HStack({}, [
835823 Text("Ctrl+Q", { fgColor: "brightBlack", bold: true }),