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:
parent
7a22ed23ae
commit
ca91505215
1 changed files with 5 additions and 2 deletions
7
libs/plugin-types/index.d.ts
vendored
7
libs/plugin-types/index.d.ts
vendored
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue