LoginSignup
2
3

More than 5 years have passed since last update.

plantuml のカラー設定ファイルを作成する

Posted at

概要

自分が使っているplantumlのカラー設定を載せる。
各ファイルから同じ設定ファイルを参照すると、デザインが統一されて良い感じ。

今のところあんまり頑張ってないので、適宜更新する。

使い方

  • 適当なところに設定ファイルを置く
    • ここではplantumlファイルと同じディレクトリに、plantumlcolor.incを作成する
  • 以下のようにplantumlファイルの先頭に!includeを記載
test.plantuml
@startuml test.svg
!include plantumlcolor.inc
title test

以下は内容

設定ファイル

plantumlcolor.inc
skinparam {
  defaultFontColor #4c3f52
  backgroundColor #fdfbf4
  borderColor #828282

  noteFontColor #4c3f52
  noteBackgroundColor #f9f3ef
  noteBorderColor #3c2f41
}

skinparam sequence {
  ArrowColor #828282

  LifeLineBorderColor #3c2f41
  LifeLineBackgroundColor #fcf9ef

  ActorBorderColor #3c2f41
  ActorBackgroundColor #fcf9ef
  ActorFontStyle bold

  ParticipantBorderColor #3c2f41
  ParticipantBackgroundColor #fcf9ef
  ParticipantFontColor #d05a6e
  ParticipantFontStyle bold

  BoxBorderColor #3c2f41
  BoxBackgroundColor #fcf9ef
  BoxFontColor #d05a6e
  BoxBorder 1
}

skinparam state {
  ArrowColor #3c2f41
  StartColor #3c2f41
  EndColor #3c2f41
  BackgroundColor #fdfbf4
  BorderColor #3c2f41
}
2
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
3