| 1 | /** |
| 2 | * Pi's client definition: settings form, label, and glyph. Browser- and |
| 3 | * React Native-safe. |
| 4 | * |
| 5 | * @module provider-pi/client |
| 6 | */ |
| 7 | import { ProviderDriverKind } from "@t3tools/contracts"; |
| 8 | import { defineProviderClient } from "@t3tools/provider-core/client"; |
| 9 | |
| 10 | import { PiSettings } from "./settings.ts"; |
| 11 | |
| 12 | export const piClient = defineProviderClient({ |
| 13 | driverKind: ProviderDriverKind.make("pi"), |
| 14 | label: "Pi", |
| 15 | settingsSchema: PiSettings, |
| 16 | icon: { |
| 17 | viewBox: "165.29 165.29 469.43 469.43", |
| 18 | fill: { light: "#0F0F0F", dark: "#F5F5F5" }, |
| 19 | paths: [ |
| 20 | { |
| 21 | d: "M165.29 165.29H517.36V400H400V517.36H282.65V634.72H165.29ZM282.65 282.65V400H400V282.65Z", |
| 22 | fillRule: "evenodd", |
| 23 | }, |
| 24 | { d: "M517.36 400H634.72V634.72H517.36Z" }, |
| 25 | ], |
| 26 | }, |
| 27 | }); |