Font update for e2e tests

This commit is contained in:
Knut Sveidqvist
2020-02-16 15:39:52 +01:00
parent cf6f1a083e
commit 3dd0c537ee
2 changed files with 9 additions and 2 deletions

View File

@@ -4,8 +4,12 @@
href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" href="https://fonts.googleapis.com/css?family=Montserrat&display=swap"
rel="stylesheet" rel="stylesheet"
/> />
<link href="https://fonts.googleapis.com/css?family=Noto+Sans+SC&display=swap" rel="stylesheet">
<style> <style>
body {background: white} body {
background: white;
font-family: 'Noto Sans SC', sans-serif;
}
h1 { color: white;} h1 { color: white;}
.arrowheadPath {fill: red;} .arrowheadPath {fill: red;}
@@ -34,6 +38,7 @@
// gantt: { axisFormat: '%m/%d/%Y' }, // gantt: { axisFormat: '%m/%d/%Y' },
sequence: { actorMargin: 50 }, sequence: { actorMargin: 50 },
// sequenceDiagram: { actorMargin: 300 } // deprecated // sequenceDiagram: { actorMargin: 300 } // deprecated
fontFamily: '"Noto Sans SC", sans-serif'
}); });
</script> </script>
</script> </script>

View File

@@ -2,6 +2,7 @@
<head> <head>
<script src="/e2e.js"></script> <script src="/e2e.js"></script>
<link href="https://fonts.googleapis.com/css?family=Mansalva&display=swap" rel="stylesheet" /> <link href="https://fonts.googleapis.com/css?family=Mansalva&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Noto+Sans+SC&display=swap" rel="stylesheet">
<style> <style>
body { body {
/* font-family: 'Mansalva', cursive;*/ /* font-family: 'Mansalva', cursive;*/
@@ -32,7 +33,8 @@
// "themeCSS": ":root { --mermaid-font-family: \"trebuchet ms\", verdana, arial;}", // "themeCSS": ":root { --mermaid-font-family: \"trebuchet ms\", verdana, arial;}",
// fontFamily: '\"trebuchet ms\", verdana, arial;' // fontFamily: '\"trebuchet ms\", verdana, arial;'
// fontFamily: '"Comic Sans MS", "Comic Sans", cursive' // fontFamily: '"Comic Sans MS", "Comic Sans", cursive'
fontFamily: '"Mansalva", cursive' // fontFamily: '"Mansalva", cursive',
fontFamily: '"Noto Sans SC", sans-serif'
}); });
</script> </script>
</body> </body>