Skip to content

Commit

Permalink
more explanation for default and bpmn in color
Browse files Browse the repository at this point in the history
  • Loading branch information
tbouffard committed Jun 15, 2023
1 parent c5a08b3 commit c41616d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/component/registry/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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;
};
Expand Down

0 comments on commit c41616d

Please sign in to comment.