Skip to content

Commit

Permalink
fixed loop text style in sequence diagrams (fixed #41)
Browse files Browse the repository at this point in the history
  • Loading branch information
vstirbu committed May 31, 2018
1 parent 9ec6850 commit 8b98fd0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 0.10.1 / 2018-05-31

* fixed loop text style in sequence diagrams
* updated mermaid 8.0.0-rc8

# 0.10.0 / 2018-05-26

* added sphinx directive support
Expand Down
4 changes: 4 additions & 0 deletions content-provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ module.exports = class MermaidDocumentContentProvider {
config.startOnLoad = true;
config.theme = style;
if (style == 'dark') {
config.themeCSS = '.loopText tspan { fill: inherit; }';
}
mermaid.initialize(config);
</script>
</body>`
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-mermaid-preview",
"displayName": "Mermaid Preview",
"description": "Previews Mermaid diagrams in Visual Studio Code",
"version": "0.10.0",
"version": "0.10.1",
"publisher": "vstirbu",
"bugs": {
"url": "https://github.com/vstirbu/vscode-mermaid-preview/issues"
Expand Down Expand Up @@ -76,7 +76,7 @@
"file-url": "^2.0.2",
"font-awesome": "^4.7.0",
"lodash": "^4.17.4",
"mermaid": "^7.1.0"
"mermaid": "^8.0.0-rc.8"
},
"devDependencies": {
"vscode": "^1.1.14"
Expand Down

0 comments on commit 8b98fd0

Please sign in to comment.