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:
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 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 = {
|
||||||
|
|
Loading…
Reference in a new issue