GithubHelp home page GithubHelp logo

plantuml-theme's Introduction

PlantUML Animo Themes

This repository is a work in progress and contains themes based off the Animo Branding Book.

Usage

The /themes directory contains the themes that are available. In order to 'import' them into your diagram, you will need to use the !includeurl <url> command provided by PlantUML. The url passed to this command must be a Github Raw link. In order to get this, just navigate to the theme file you wish to import on Github, and press the 'raw' button located near the top-right of the page.

Example usage

@startuml

!define DARK

!includeurl https://raw.githubusercontent.com/karimStekelenburg/plantuml-theme/main/themes/animo_theme_1.puml

class User {
  name: string
  age: number
}

class Pet

Pet -up-|> User

@enduml

Dark mode, light mode

All themes contain a dark and a light mode. As shown in the example above, you can chose either of them by 'defining' a boolean at the top of your diagram source. To chose the light mode, use !define LIGHT. For dark mode, use !define DARK.

NOTE: the !define XXXXX statement must come before !includeurl statement, as the import statement will apply styling based on the variables that were previously defined.

plantuml-theme's People

Contributors

karimstekelenburg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.