mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-21 18:08:11 +08:00
Add invalid type
This commit is contained in:
@@ -129,6 +129,8 @@
|
||||
--color-data-gradient-dim: #6c489b;
|
||||
--color-data-typography: #eea7a7;
|
||||
--color-data-typography-dim: #955252;
|
||||
--color-data-invalid: var(--color-error-red);
|
||||
--color-data-invalid-dim: color-mix(in srgb, var(--color-error-red) 75%, black);
|
||||
|
||||
--color-none: white;
|
||||
--color-none-repeat: no-repeat;
|
||||
|
||||
@@ -177,7 +177,7 @@ export type ContextMenuInformation = {
|
||||
contextMenuData: "CreateNode" | { type: "CreateNode"; compatibleType: string } | { nodeId: bigint; currentlyIsNode: boolean };
|
||||
};
|
||||
|
||||
export type FrontendGraphDataType = "General" | "Number" | "Artboard" | "Graphic" | "Raster" | "Vector" | "Color";
|
||||
export type FrontendGraphDataType = "General" | "Number" | "Artboard" | "Graphic" | "Raster" | "Vector" | "Color" | "Invalid";
|
||||
|
||||
export class FrontendGraphInput {
|
||||
readonly dataType!: FrontendGraphDataType;
|
||||
|
||||
Reference in New Issue
Block a user