Class ToolbarColors

java.lang.Object
io.github.jbastgen.stemma.app.theme.ToolbarColors

public final class ToolbarColors extends Object
The colours of the toolbar icons of a repository (setting "Toolbar icons"): commit green, pull and push blue, fetch yellow, branch bright blue, merge orange, discard dark orange, tag purple, terminal black; stash, Git Flow, settings and the file manager stay grey. The tokens are in the theme style sheets (-st-ic-…); the dark theme has lighter ones, and its "black" is the text colour.
  • Method Details

    • token

      public static String token(String icon, boolean colored)
      The colour token of the icon with this path: its colour, or grey when the icons are flat or the button has no colour of its own.