From c41616dbf5944a0ece2890a6b17c8a94437829c3 Mon Sep 17 00:00:00 2001 From: Thomas Bouffard <27200110+tbouffard@users.noreply.github.com> Date: Thu, 15 Jun 2023 14:37:33 +0200 Subject: [PATCH] more explanation for default and bpmn in color --- src/component/registry/types.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/component/registry/types.ts b/src/component/registry/types.ts index fc063fe0a6..377fdb5ca5 100644 --- a/src/component/registry/types.ts +++ b/src/component/registry/types.ts @@ -169,7 +169,7 @@ export type Stroke = StyleWithOpacity & { * * Notes about the `default` special keyword: * - It can be used when the style is first updated and then needs to be reset to its initial value. - * - It doesn't use the color set in the BPMN source when the "BPMN in Color" support is enabled. + * - It doesn't use the color set in the BPMN source when the "BPMN in Color" support is enabled. It uses the color defined in the BPMN element default style. */ color?: 'default' | 'none' | string; @@ -203,7 +203,7 @@ export type Font = StyleWithOpacity & { * * Notes about the `default` special keyword: * - It can be used when the style is first updated and then needs to be reset to its initial value. - * - It doesn't use the color set in the BPMN source when the "BPMN in Color" support is enabled. + * - It doesn't use the color set in the BPMN source when the "BPMN in Color" support is enabled. It uses the color defined in the BPMN element default style. */ color?: 'default' | string; @@ -246,7 +246,7 @@ export type Fill = StyleWithOpacity & { * * Notes about the `default` special keyword: * - It can be used when the style is first updated and then needs to be reset to its initial value. - * - It doesn't use the color set in the BPMN source when the "BPMN in Color" support is enabled. + * - It doesn't use the color set in the BPMN source when the "BPMN in Color" support is enabled. It uses the color defined in the BPMN element default style. */ color?: 'default' | 'none' | string; };