We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54303b4 commit 1d42547Copy full SHA for 1d42547
src/types.ts
@@ -279,7 +279,15 @@ export const IconSchema = z.object({
279
*
280
* If not provided, the client should assume that the icon can be used at any size.
281
*/
282
- sizes: z.array(z.string()).optional()
+ sizes: z.array(z.string()).optional(),
283
+ /**
284
+ * Optional specifier for the theme this icon is designed for. `light` indicates
285
+ * the icon is designed to be used with a light background, and `dark` indicates
286
+ * the icon is designed to be used with a dark background.
287
+ *
288
+ * If not provided, the client should assume the icon can be used with any theme.
289
+ */
290
+ theme: z.enum(['light', 'dark']).optional()
291
});
292
293
/**
0 commit comments