From 60f1c29872465a25be4f2c4ca8c5eb1abf69f988 Mon Sep 17 00:00:00 2001 From: nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> Date: Sun, 1 May 2022 12:36:32 +0100 Subject: config elements --- src/main/java/io/polyfrost/oneconfig/utils/ColorUtils.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/java/io/polyfrost/oneconfig/utils') diff --git a/src/main/java/io/polyfrost/oneconfig/utils/ColorUtils.java b/src/main/java/io/polyfrost/oneconfig/utils/ColorUtils.java index abc36a5..499e59b 100644 --- a/src/main/java/io/polyfrost/oneconfig/utils/ColorUtils.java +++ b/src/main/java/io/polyfrost/oneconfig/utils/ColorUtils.java @@ -17,6 +17,7 @@ public class ColorUtils { case -1: return OneConfigConfig.GRAY_500_80; default: + case 2: case 0: return OneConfigConfig.GRAY_400_80; case 1: @@ -34,6 +35,8 @@ public class ColorUtils { return getColorComponents(color, splitColor(OneConfigConfig.GRAY_600), splitColor(OneConfigConfig.GRAY_300), hover, 25f); case 1: return getColorComponents(color, splitColor(OneConfigConfig.BLUE_600), splitColor(OneConfigConfig.BLUE_500), hover, 150f); + case 2: + return getColorComponents(color, splitColor(OneConfigConfig.GRAY_500), splitColor(OneConfigConfig.GRAY_300), hover, 50f); } -- cgit