From c3d2c6886086844f3436475012ab7d4a4ec25364 Mon Sep 17 00:00:00 2001 From: Benjamin Dweck Date: Fri, 25 Sep 2020 12:29:54 +0200 Subject: [PATCH] Still couldn't get yellow to show up properly on the RPi... gave up and changed the color palette --- .../java/io/rudefox/burrow/Dice8EntropyGenerator.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/io/rudefox/burrow/Dice8EntropyGenerator.java b/src/main/java/io/rudefox/burrow/Dice8EntropyGenerator.java index 59baff0..f6b9c22 100644 --- a/src/main/java/io/rudefox/burrow/Dice8EntropyGenerator.java +++ b/src/main/java/io/rudefox/burrow/Dice8EntropyGenerator.java @@ -10,9 +10,9 @@ import static com.diogonunes.jcolor.Attribute.*; public class Dice8EntropyGenerator { - public static final AnsiFormat GREEN_STYLE = new AnsiFormat(BLACK_TEXT(), GREEN_BACK(), BOLD()); - public static final AnsiFormat YELLOW_STYLE = new AnsiFormat(BLACK_TEXT(), BACK_COLOR(11), BOLD()); public static final AnsiFormat RED_STYLE = new AnsiFormat(WHITE_TEXT(), RED_BACK(), BOLD()); + public static final AnsiFormat GREEN_STYLE = new AnsiFormat(BLACK_TEXT(), GREEN_BACK(), BOLD()); + public static final AnsiFormat BLUE_STYLE = new AnsiFormat(WHITE_TEXT(), BLUE_BACK(), BOLD()); public static final int DICE_PER_ROLL = 11; @@ -114,12 +114,12 @@ public class Dice8EntropyGenerator { int wordBitIndex = rollSetBitIndex % 11; if (wordBitIndex == 0) - return GREEN_STYLE; + return RED_STYLE; if (wordBitIndex <= 6) - return YELLOW_STYLE; + return GREEN_STYLE; - return RED_STYLE; + return BLUE_STYLE; } private String getSeedWordsLine(int rollSet) {