Skip to content

Commit

Permalink
Merge pull request structurizr#61 from Neku/patch-1
Browse files Browse the repository at this point in the history
Removed references to branding colours
  • Loading branch information
simonbrowndotje authored Feb 11, 2020
2 parents fe79bb8 + 2d7d69e commit 3078d7f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions docs/corporate-branding.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ In addition to [styling diagram elements](styling-elements.md) and [relationship

- A font (font name and optional web font stylesheet URL).
- A logo (a URL to an image file or a data URI).
- 5 foreground/background colour pairs.

Here's an example diagram that hasn't been styled, aside from setting the shape of the ```Person``` elements.

Expand All @@ -20,11 +19,6 @@ You can add branding to an existing workspace, as follows:

```c#
Branding branding = views.Configuration.Branding;
branding.Color1 = new ColorPair("#02172c", "#ffffff");
branding.Color2 = new ColorPair("#08427b", "#ffffff");
branding.Color3 = new ColorPair("#1168bd", "#ffffff");
branding.Color4 = new ColorPair("#438dd5", "#ffffff");
branding.Color5 = new ColorPair("#85bbf0", "#ffffff");
branding.Logo = ImageUtils.GetImageAsDataUri(new FileInfo("structurizr-logo.png"));
```

Expand Down

0 comments on commit 3078d7f

Please sign in to comment.