mirror of
https://github.com/penpot/penpot-plugins.git
synced 2025-02-01 12:01:14 -05:00
feat(plugin-types): deprecated fields in colors
This commit is contained in:
parent
3837f1c1b7
commit
6adcc4cec8
1 changed files with 7 additions and 1 deletions
8
libs/plugin-types/index.d.ts
vendored
8
libs/plugin-types/index.d.ts
vendored
|
@ -406,9 +406,13 @@ export interface CloseOverlay {
|
|||
*/
|
||||
export interface Color {
|
||||
/**
|
||||
* The optional unique identifier for the color.
|
||||
* The optional reference ID for an external color definition.
|
||||
*/
|
||||
id?: string;
|
||||
/**
|
||||
* The optional reference to an external file for the color definition.
|
||||
*/
|
||||
fileId?: string;
|
||||
/**
|
||||
* The optional name of the color.
|
||||
*/
|
||||
|
@ -428,10 +432,12 @@ export interface Color {
|
|||
opacity?: number;
|
||||
/**
|
||||
* The optional reference ID for an external color definition.
|
||||
* @deprecated Use `id` instead
|
||||
*/
|
||||
refId?: string;
|
||||
/**
|
||||
* The optional reference to an external file for the color definition.
|
||||
* @deprecated Use `fileId`
|
||||
*/
|
||||
refFile?: string;
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue