public ThemeSunburst()

in src/prettify/theme/ThemeSunburst.java [29:103]


  public ThemeSunburst() {
    super();

    /* Vim sunburst theme by David Leibovic */

    setFont(new Font("Consolas", Font.PLAIN, 12));
    setBackground(Color.black);

    setHighlightedBackground(Color.decode("0x444444"));

    setGutterText(Color.decode("0xffffff"));
    setGutterBorderColor(Color.decode("0x777777"));
    setGutterBorderWidth(3);
    setGutterTextFont(new Font("Verdana", Font.PLAIN, 11));
    setGutterTextPaddingLeft(7);
    setGutterTextPaddingRight(7);

    Style plainStyle = new Style();
    plainStyle.setColor(Color.decode("0xffffff"));
    addStyle("pln", plainStyle);
    setPlain(plainStyle);

    Style style;

    style = new Style();
    style.setColor(Color.decode("0x65B042")); /* string  - green */
    addStyle("str", style);

    style = new Style();
    style.setColor(Color.decode("0xE28964")); /* keyword - dark pink */
    addStyle("kwd", style);

    style = new Style();
    style.setColor(Color.decode("0xAEAEAE")); /* comment - gray */
    style.setItalic(true);
    addStyle("com", style);

    style = new Style();
    style.setColor(Color.decode("0x89bdff")); /* type - light blue */
    addStyle("typ", style);

    style = new Style();
    style.setColor(Color.decode("0x3387CC")); /* literal - blue */
    addStyle("lit", style);

    style = new Style();
    style.setColor(Color.decode("0xffffff")); /* punctuation - white */
    addStyle("pun", style);

    style = new Style();
    style.setColor(Color.decode("0x89bdff")); /* html/xml tag    - light blue */
    addStyle("tag", style);

    style = new Style();
    style.setColor(Color.decode("0x3387CC")); /* decimal - blue */
    addStyle("dec", style);

    style = new Style();
    style.setColor(Color.decode("0xbdb76b")); /* html/xml attribute name  - khaki */
    addStyle("atn", style);

    style = new Style();
    style.setColor(Color.decode("0x65B042")); /* html/xml attribute value - green */
    addStyle("atv", style);

    addStyle("nocode", plainStyle);

    addStyle("opn", plainStyle);

    addStyle("clo", plainStyle);

    addStyle("var", plainStyle);

    addStyle("fun", plainStyle);
  }