0
Fork 0
mirror of https://github.com/penpot/penpot-plugins.git synced 2025-01-06 14:50:21 -05:00

feat(plugin-types): update types

This commit is contained in:
alonso.torres 2024-05-30 09:29:44 +02:00 committed by Alonso Torres
parent 7a22ed23ae
commit ca91505215

View file

@ -404,8 +404,8 @@ export interface EventsMap {
export type PenpotTheme = 'light' | 'dark';
export interface PenpotLibraryElement {
id: string;
libraryId: string;
readonly id: string;
readonly libraryId: string;
name: string;
path: string;
}
@ -441,6 +441,9 @@ export type PenpotLibrary = {
colors: PenpotLibraryColor[];
typographies: PenpotLibraryTypography[];
components: PenpotLibraryComponent[];
// createColor(): PenpotLibraryColor;
// createTypography(): PenpotLibraryTypography;
};
export type PenpotLibraryContext = {