contactFinder.ts

 1import Theme from "../themes/theme";
 2import picker from "./picker";
 3import { backgroundColor, text } from "./components";
 4
 5export default function contactFinder(theme: Theme) {
 6  return {
 7    ...picker(theme),
 8    rowHeight: 28,
 9    contactAvatar: {
10      cornerRadius: 10,
11      width: 18,
12    },
13    contactUsername: {
14      padding: {
15        left: 8,
16      },
17    },
18    contactButton: {
19      ...text(theme, "mono", "primary", { size: "sm" }),
20      background: backgroundColor(theme, 100),
21      cornerRadius: 12,
22      padding: { left: 7, right: 7 }
23    },
24  }
25}