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:
Daniel Bartholomae
2022-02-15 14:21:04 +01:00
parent d818551f50
commit 74b1219d62
4 changed files with 24 additions and 71 deletions

View File

@@ -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,