Skip to content

Commit

Permalink
Removed the addDefaultStyles() method on Styles.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbrowndotje committed May 11, 2021
1 parent 637b8fa commit 1ad22c0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
1 change: 1 addition & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 1.9.3 (unreleased)

- Added an `addTheme` method on `Configuration`.
- Removed the `addDefaultStyles` method on `Styles`.

## 1.9.2 (27th April 2021)

Expand Down
9 changes: 0 additions & 9 deletions structurizr-core/src/com/structurizr/view/Styles.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,15 +61,6 @@ public void clearRelationshipStyles() {
this.relationships = new LinkedList<>();
}

public void addDefaultStyles() {
addElementStyle(Tags.ELEMENT).shape(Shape.RoundedBox);
addElementStyle(Tags.SOFTWARE_SYSTEM).background("#1168bd").color("#ffffff");
addElementStyle(Tags.CONTAINER).background("#438dd5").color("#ffffff");
addElementStyle(Tags.COMPONENT).background("#85bbf0").color("#000000");
addElementStyle(Tags.PERSON).background("#08427b").color("#ffffff").shape(Shape.Person);
addElementStyle(Tags.INFRASTRUCTURE_NODE).background("#ffffff");
}

public Collection<RelationshipStyle> getRelationships() {
return relationships;
}
Expand Down

0 comments on commit 1ad22c0

Please sign in to comment.