mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-19 15:30:03 +02:00
Set default font family to arial for all themes
This commit is contained in:
@@ -24,7 +24,7 @@ class Theme {
|
||||
this.strokeWidth = 1;
|
||||
// dark
|
||||
|
||||
this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
|
||||
this.fontFamily = 'arial, "trebuchet ms", verdana, sans-serif';
|
||||
this.fontSize = '14px';
|
||||
this.useGradient = true;
|
||||
this.dropShadow = 'drop-shadow( 1px 2px 2px rgba(185,185,185,1))';
|
||||
|
@@ -24,7 +24,7 @@ class Theme {
|
||||
this.border1 = '#ccc';
|
||||
this.border2 = rgba(255, 255, 255, 0.25);
|
||||
this.arrowheadColor = 'calculated';
|
||||
this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
|
||||
this.fontFamily = 'arial, "trebuchet ms", verdana, sans-serif';
|
||||
this.fontSize = '14px';
|
||||
this.labelBackground = '#181818';
|
||||
this.textColor = '#ccc';
|
||||
|
@@ -33,7 +33,7 @@ class Theme {
|
||||
this.primaryBorderColor = mkBorder(this.primaryColor, this.darkMode);
|
||||
this.border2 = '#aaaa33';
|
||||
this.arrowheadColor = '#333333';
|
||||
this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
|
||||
this.fontFamily = 'arial, "trebuchet ms", verdana, sans-serif';
|
||||
this.fontSize = '14px';
|
||||
this.labelBackground = 'rgba(232,232,232, 0.8)';
|
||||
this.textColor = '#333';
|
||||
|
@@ -18,7 +18,7 @@ class Theme {
|
||||
this.border1 = '#13540c';
|
||||
this.border2 = '#6eaa49';
|
||||
this.arrowheadColor = 'green';
|
||||
this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
|
||||
this.fontFamily = 'arial, "trebuchet ms", verdana, sans-serif';
|
||||
this.fontSize = '14px';
|
||||
|
||||
this.tertiaryColor = lighten('#cde498', 10);
|
||||
|
@@ -27,7 +27,7 @@ class Theme {
|
||||
this.primaryBorderColor = mkBorder(this.primaryColor, this.darkMode);
|
||||
// dark
|
||||
|
||||
this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
|
||||
this.fontFamily = 'arial, "trebuchet ms", verdana, sans-serif';
|
||||
this.fontSize = '14px';
|
||||
|
||||
// Neo-specific
|
||||
|
@@ -30,7 +30,7 @@ class Theme {
|
||||
this.border1 = '#ccc';
|
||||
this.border2 = rgba(255, 255, 255, 0.25);
|
||||
this.arrowheadColor = invert(this.background);
|
||||
this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
|
||||
this.fontFamily = 'arial, "trebuchet ms", verdana, sans-serif';
|
||||
this.fontSize = '14px';
|
||||
this.labelBackground = '#181818';
|
||||
this.textColor = '#ccc';
|
||||
@@ -43,7 +43,7 @@ class Theme {
|
||||
|
||||
this.THEME_COLOR_LIMIT = 12;
|
||||
// dark
|
||||
this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
|
||||
this.fontFamily = 'arial, "trebuchet ms", verdana, sans-serif';
|
||||
this.fontSize = '14px';
|
||||
|
||||
// Neo-specific
|
||||
|
@@ -26,7 +26,7 @@ class Theme {
|
||||
this.primaryBorderColor = mkBorder(this.primaryColor, this.darkMode);
|
||||
// dark
|
||||
|
||||
this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
|
||||
this.fontFamily = 'arial, "trebuchet ms", verdana, sans-serif';
|
||||
this.fontSize = '14px';
|
||||
|
||||
// Neo-specific
|
||||
|
@@ -39,7 +39,7 @@ class Theme {
|
||||
this.critical = '#d42';
|
||||
this.done = '#bbb';
|
||||
this.arrowheadColor = '#333333';
|
||||
this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
|
||||
this.fontFamily = 'arial, "trebuchet ms", verdana, sans-serif';
|
||||
this.fontSize = '14px';
|
||||
this.THEME_COLOR_LIMIT = 12;
|
||||
this.radius = 5;
|
||||
|
@@ -30,7 +30,7 @@ class Theme {
|
||||
this.border1 = '#ccc';
|
||||
this.border2 = rgba(255, 255, 255, 0.25);
|
||||
this.arrowheadColor = invert(this.background);
|
||||
this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
|
||||
this.fontFamily = 'arial, "trebuchet ms", verdana, sans-serif';
|
||||
this.fontSize = '14px';
|
||||
this.labelBackground = '#181818';
|
||||
this.textColor = '#ccc';
|
||||
@@ -43,7 +43,7 @@ class Theme {
|
||||
|
||||
this.THEME_COLOR_LIMIT = 12;
|
||||
// dark
|
||||
this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
|
||||
this.fontFamily = 'arial, "trebuchet ms", verdana, sans-serif';
|
||||
this.fontSize = '14px';
|
||||
|
||||
// Neo-specific
|
||||
|
@@ -27,7 +27,7 @@ class Theme {
|
||||
this.primaryBorderColor = mkBorder(this.primaryColor, this.darkMode);
|
||||
// dark
|
||||
|
||||
this.fontFamily = '"trebuchet ms", verdana, arial, sans-serif';
|
||||
this.fontFamily = 'arial, "trebuchet ms", verdana, sans-serif';
|
||||
this.fontSize = '14px';
|
||||
|
||||
// Neo-specific
|
||||
|
Reference in New Issue
Block a user