mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-12 11:59:39 +02:00
fix(2689): use correct default sans-serif fonts for actors and tasks
The previous default font, Open-Sans, does not exist (it is Open Sans). A generic font family must not be in quotes. There is no changes to tests, as tests set font-family to Courier for reproducability. Fixes 2689 See https://fonts.google.com/specimen/Open+Sans and https://developer.mozilla.org/en-US/docs/Web/CSS/font-family
This commit is contained in:
@@ -410,9 +410,9 @@ const config = {
|
||||
* | --------------- | ---------------------------------------------------- | ------ | -------- | --------------------------- |
|
||||
* | actorFontFamily | This sets the font family of the actor's description | string | Required | Any Possible CSS FontFamily |
|
||||
*
|
||||
* **Notes:** Default value: "'Open-Sans", "sans-serif"'
|
||||
* **Notes:** Default value: "'Open Sans", sans-serif'
|
||||
*/
|
||||
actorFontFamily: '"Open-Sans", "sans-serif"',
|
||||
actorFontFamily: '"Open Sans", sans-serif',
|
||||
|
||||
/**
|
||||
* This sets the font weight of the actor's description
|
||||
@@ -802,7 +802,7 @@ const config = {
|
||||
*/
|
||||
rightAngles: false,
|
||||
taskFontSize: 14,
|
||||
taskFontFamily: '"Open-Sans", "sans-serif"',
|
||||
taskFontFamily: '"Open Sans", sans-serif',
|
||||
taskMargin: 50,
|
||||
// width of activation box
|
||||
activationWidth: 10,
|
||||
|
Reference in New Issue
Block a user