<commit_before>package org.multibit.hd.ui.views.themes;

import org.multibit.hd.ui.views.themes.painters.NamedButtonRegionPainter;

import java.awt.*;

/**
 * <p>Strategy to provide the following to Themes API:</p>
 * <ul>
 * <li>A low-light dark theme</li>
 * </ul>
 *
 * @since 0.0.1
 *
 */
public class DarkTheme extends BaseTheme {

  @Override
  public Color headerPanelBackground() {
    return new Color(72, 75, 78);
  }

  @Override
  public Color headerPanelText() {
    return text();
  }

  @Override
  public Color footerPanelBackground() {
    return headerPanelBackground();
  }

  @Override
  public Color footerPanelText() {
    return text();
  }

  @Override
  public Color sidebarPanelBackground() {
    return new Color(77, 80, 83);
  }

  @Override
  public Color detailPanelBackground() {
    return new Color(57, 57, 57);
  }

  @Override
  public Color buttonBackground() {
    return new Color(90, 90, 90);
  }

  @Override
  public Color buttonDefaultBackground() {
    return new Color(0,151,50);
  }

  @Override
  public Color readOnlyBackground() {
    return new Color(193, 226, 248);
  }

  @Override
  public Color readOnlyBorder() {
    return new Color(103, 126, 146);
  }

  @Override
  public Color readOnlyComboBox() {
    return new Color(25, 81, 130);
  }

  @Override
  public Color focusBorder() {
    return new Color(252,91,79);
  }

  @Override
  public Color sidebarSelectedText() {
    return new Color(240, 211, 85);
  }

  @Override
  public Color dataEntryBackground() {
    return new Color(240, 211, 85);
  }

  @Override
  public Color dataEntryBorder() {
    return new Color(240, 240, 128);
  }

  @Override
  public Color invalidDataEntryBackground() {
    return new Color(252, 91, 79);
  }

  @Override
  public Color text() {
    return new Color(207, 207, 207);
  }

  @Override
  public Color fadedText() {
    return new Color(187, 187, 187);
  }

  @Override
  public Color inverseText() {
    return new Color(47, 47, 47);
  }

  @Override
  public Color inverseFadedText() {
    return fadedText();
  }

  @Override
  public Color buttonText() {
    return inverseText();
  }

  @Override
  public Color buttonFadedText() {
    return new Color(187, 187, 187);
  }

  @Override<commit_msg>#506 Adjusted Dark theme for better contrast<commit_after>package org.multibit.hd.ui.views.themes;

import org.multibit.hd.ui.views.themes.painters.NamedButtonRegionPainter;

import java.awt.*;

/**
 * <p>Strategy to provide the following to Themes API:</p>
 * <ul>
 * <li>A low-light dark theme</li>
 * </ul>
 *
 * @since 0.0.1
 *
 */
public class DarkTheme extends BaseTheme {

  @Override
  public Color headerPanelBackground() {
    return new Color(72, 75, 78);
  }

  @Override
  public Color headerPanelText() {
    return text();
  }

  @Override
  public Color footerPanelBackground() {
    return headerPanelBackground();
  }

  @Override
  public Color footerPanelText() {
    return text();
  }

  @Override
  public Color sidebarPanelBackground() {
    return new Color(77, 80, 83);
  }

  @Override
  public Color detailPanelBackground() {
    return new Color(57, 57, 57);
  }

  @Override
  public Color buttonBackground() {
    return new Color(130, 130, 130);
  }

  @Override
  public Color buttonDefaultBackground() {
    return new Color(0,151,50);
  }

  @Override
  public Color readOnlyBackground() {
    return new Color(193, 226, 248);
  }

  @Override
  public Color readOnlyBorder() {
    return new Color(103, 126, 146);
  }

  @Override
  public Color readOnlyComboBox() {
    return new Color(25, 81, 130);
  }

  @Override
  public Color focusBorder() {
    return new Color(252,91,79);
  }

  @Override
  public Color sidebarSelectedText() {
    return new Color(240, 211, 85);
  }

  @Override
  public Color dataEntryBackground() {
    return new Color(240, 211, 85);
  }

  @Override
  public Color dataEntryBorder() {
    return new Color(240, 240, 128);
  }

  @Override
  public Color invalidDataEntryBackground() {
    return new Color(252, 91, 79);
  }

  @Override
  public Color text() {
    return new Color(207, 207, 207);
  }

  @Override
  public Color fadedText() {
    return new Color(187, 187, 187);
  }

  @Override
  public Color inverseText() {
    return new Color(47, 47, 47);
  }

  @Override
  public Color inverseFadedText() {
    return fadedText();
  }

  @Override
  public Color buttonText() {
    return inverseText();
  }

  @Override
  public Color buttonFadedText() {
    return new Color(210, 210, 210);
  }

  @Override
{'fraction_non_alphanumeric': 0.11690885072655217, 'fraction_numerical': 0.05856450902686042, 'mean_word_length': 3.1948291782086797, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5564805', 'n_tokens_mistral': 1711, 'n_tokens_neox': 1428, 'n_words': 419}