0
Fork 0
mirror of https://github.com/penpot/penpot-plugins.git synced 2025-01-08 16:00:27 -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 type PenpotTheme = 'light' | 'dark';
export interface PenpotLibraryElement { export interface PenpotLibraryElement {
id: string; readonly id: string;
libraryId: string; readonly libraryId: string;
name: string; name: string;
path: string; path: string;
} }
@ -441,6 +441,9 @@ export type PenpotLibrary = {
colors: PenpotLibraryColor[]; colors: PenpotLibraryColor[];
typographies: PenpotLibraryTypography[]; typographies: PenpotLibraryTypography[];
components: PenpotLibraryComponent[]; components: PenpotLibraryComponent[];
// createColor(): PenpotLibraryColor;
// createTypography(): PenpotLibraryTypography;
}; };
export type PenpotLibraryContext = { export type PenpotLibraryContext = {