Skip to content

Instantly share code, notes, and snippets.

@johnbeech
Created June 24, 2022 09:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnbeech/215a7a8587ab8b41f6321084d29421f6 to your computer and use it in GitHub Desktop.
Save johnbeech/215a7a8587ab8b41f6321084d29421f6 to your computer and use it in GitHub Desktop.
graph LR
  subgraph colours["Default Colours"]
    box["Source"]
    box --> thing["Target"]
  end
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#AADDBB', 'secondaryColor': '#99AADD', 'tertiaryColor': '#BBCCFF' }}}%%

graph LR
  subgraph colours["Custom Colours"]
    box["Source"]
    box --> thing["Target"]
  end
%%{init: {'theme': 'neutral' }}%%

graph LR
  subgraph colours["Neutral Colours"]
    box["Source"]
    box --> thing["Target"]
  end
%%{init: {'theme': 'forest' }}%%

graph LR
  subgraph colours["Forest Colours"]
    box["Source"]
    box --> thing["Target"]
  end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment