mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-23 17:29:54 +02:00
fixup! Move pie outerStrokeWidth to theme variables, update docs
This commit is contained in:
@@ -212,7 +212,7 @@ class Theme {
|
|||||||
this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor;
|
this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor;
|
||||||
this.pieStrokeColor = this.pieStrokeColor || 'black';
|
this.pieStrokeColor = this.pieStrokeColor || 'black';
|
||||||
this.pieStrokeWidth = this.pieStrokeWidth || '2px';
|
this.pieStrokeWidth = this.pieStrokeWidth || '2px';
|
||||||
this.pieOuterStrokeWidth = this.pieOuterStrokeWidth ?? '2px';
|
this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || '2px';
|
||||||
this.pieOuterStrokeColor = this.pieOuterStrokeColor || 'black';
|
this.pieOuterStrokeColor = this.pieOuterStrokeColor || 'black';
|
||||||
this.pieOpacity = this.pieOpacity || '0.7';
|
this.pieOpacity = this.pieOpacity || '0.7';
|
||||||
|
|
||||||
|
@@ -222,7 +222,7 @@ class Theme {
|
|||||||
this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor;
|
this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor;
|
||||||
this.pieStrokeColor = this.pieStrokeColor || 'black';
|
this.pieStrokeColor = this.pieStrokeColor || 'black';
|
||||||
this.pieStrokeWidth = this.pieStrokeWidth || '2px';
|
this.pieStrokeWidth = this.pieStrokeWidth || '2px';
|
||||||
this.pieOuterStrokeWidth = this.pieOuterStrokeWidth ?? '2px';
|
this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || '2px';
|
||||||
this.pieOuterStrokeColor = this.pieOuterStrokeColor || 'black';
|
this.pieOuterStrokeColor = this.pieOuterStrokeColor || 'black';
|
||||||
this.pieOpacity = this.pieOpacity || '0.7';
|
this.pieOpacity = this.pieOpacity || '0.7';
|
||||||
|
|
||||||
|
@@ -244,7 +244,7 @@ class Theme {
|
|||||||
this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor;
|
this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor;
|
||||||
this.pieStrokeColor = this.pieStrokeColor || 'black';
|
this.pieStrokeColor = this.pieStrokeColor || 'black';
|
||||||
this.pieStrokeWidth = this.pieStrokeWidth || '2px';
|
this.pieStrokeWidth = this.pieStrokeWidth || '2px';
|
||||||
this.pieOuterStrokeWidth = this.pieOuterStrokeWidth ?? '2px';
|
this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || '2px';
|
||||||
this.pieOuterStrokeColor = this.pieOuterStrokeColor || 'black';
|
this.pieOuterStrokeColor = this.pieOuterStrokeColor || 'black';
|
||||||
this.pieOpacity = this.pieOpacity || '0.7';
|
this.pieOpacity = this.pieOpacity || '0.7';
|
||||||
|
|
||||||
|
@@ -213,7 +213,7 @@ class Theme {
|
|||||||
this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor;
|
this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor;
|
||||||
this.pieStrokeColor = this.pieStrokeColor || 'black';
|
this.pieStrokeColor = this.pieStrokeColor || 'black';
|
||||||
this.pieStrokeWidth = this.pieStrokeWidth || '2px';
|
this.pieStrokeWidth = this.pieStrokeWidth || '2px';
|
||||||
this.pieOuterStrokeWidth = this.pieOuterStrokeWidth ?? '2px';
|
this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || '2px';
|
||||||
this.pieOuterStrokeColor = this.pieOuterStrokeColor || 'black';
|
this.pieOuterStrokeColor = this.pieOuterStrokeColor || 'black';
|
||||||
this.pieOpacity = this.pieOpacity || '0.7';
|
this.pieOpacity = this.pieOpacity || '0.7';
|
||||||
|
|
||||||
|
@@ -243,7 +243,7 @@ class Theme {
|
|||||||
this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor;
|
this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor;
|
||||||
this.pieStrokeColor = this.pieStrokeColor || 'black';
|
this.pieStrokeColor = this.pieStrokeColor || 'black';
|
||||||
this.pieStrokeWidth = this.pieStrokeWidth || '2px';
|
this.pieStrokeWidth = this.pieStrokeWidth || '2px';
|
||||||
this.pieOuterStrokeWidth = this.pieOuterStrokeWidth ?? '2px';
|
this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || '2px';
|
||||||
this.pieOuterStrokeColor = this.pieOuterStrokeColor || 'black';
|
this.pieOuterStrokeColor = this.pieOuterStrokeColor || 'black';
|
||||||
this.pieOpacity = this.pieOpacity || '0.7';
|
this.pieOpacity = this.pieOpacity || '0.7';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user