Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,15 @@ export const IconSchema = z.object({
*
* If not provided, the client should assume that the icon can be used at any size.
*/
sizes: z.array(z.string()).optional()
sizes: z.array(z.string()).optional(),
/**
* Optional specifier for the theme this icon is designed for. `light` indicates
* the icon is designed to be used with a light background, and `dark` indicates
* the icon is designed to be used with a dark background.
*
* If not provided, the client should assume the icon can be used with any theme.
*/
theme: z.enum(['light', 'dark']).optional()
});

/**
Expand Down
Loading