Scaffoldizr: Scaffolding to create Structurizr Workspaces

Opinionated TypeScript/Bun Scaffolding Tool for creating Structurizr DSL Documentations

Download as .zip Download as .tar.gz View on GitHub

Themes

< Back

Managing Themes with Scaffoldizr

Use the theme generator to manage your workspace themes without manually editing the DSL.

Interactive

Run scfz theme to launch the interactive theme manager. It provides three actions:

Color-based themes (Blue, Red, Green, Yellow) are mutually exclusive. Selecting a new color theme automatically replaces any existing one.

Non-Interactive (AI Agent Mode)

Use the theme subcommand with flags for automation:

For example, to add the Shapes theme:

scfz theme \
  --themeAction "Add themes" \
  --additionalThemes "https://formulamonks.github.io/scaffoldizr/assets/scaffoldizr-shapes.json"

The Blue color theme, which is not included by default during workspace initialization, can be added using:

scfz theme \
  --themeAction "Add themes" \
  --additionalThemes "https://formulamonks.github.io/scaffoldizr/assets/scaffoldizr-blue.json"

Available Themes

Scaffoldizr includes some extra themes extending from the default Structurizr theme. More information here.

How to reference

Within your workspace.dsl, add the following line under views:


views {
    themes "<url to theme 1>.json" "<url to theme 2>.json"
}


Shapes

Added tag support to most available shapes within Structurizr.

Scaffoldizr Shapes

themes "https://formulamonks.github.io/scaffoldizr/assets/scaffoldizr-shapes.json"

Status

Added handy representations for elements when they need to be added/removed from a system or if they are external, inactive, etc.

Scaffoldizr Status

themes "https://formulamonks.github.io/scaffoldizr/assets/scaffoldizr-status.json"

Color-based

Because not all diagrams have to be architecture blue!

Green

Scaffoldizr Green

themes "https://formulamonks.github.io/scaffoldizr/assets/scaffoldizr-green.json"

Yellow

Scaffoldizr Yellow

themes "https://formulamonks.github.io/scaffoldizr/assets/scaffoldizr-yellow.json"

Red

Scaffoldizr Red

themes "https://formulamonks.github.io/scaffoldizr/assets/scaffoldizr-red.json"