0
Fork 0
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:
alonso.torres 2025-01-20 12:17:42 +01:00 committed by Alonso Torres
parent 3837f1c1b7
commit 6adcc4cec8

View file

@ -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;
/**