aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/utils
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-05-01 13:40:59 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-05-01 13:40:59 +0200
commit2f80fd07d3d6863c26bca21b46bd71cb467a2b1a (patch)
tree207d01f1305b8f8d0fcd5f65d89e8c7ee783ad6f /src/main/java/io/polyfrost/oneconfig/utils
parenteea8a7b60344637df1318b04e11ccf1cdc7c4c12 (diff)
parent9694fd2bf0aa538652b9c65472c5f2017efce195 (diff)
downloadOneConfig-2f80fd07d3d6863c26bca21b46bd71cb467a2b1a.tar.gz
OneConfig-2f80fd07d3d6863c26bca21b46bd71cb467a2b1a.tar.bz2
OneConfig-2f80fd07d3d6863c26bca21b46bd71cb467a2b1a.zip
merge
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/utils')
-rw-r--r--src/main/java/io/polyfrost/oneconfig/utils/ColorUtils.java3
1 files changed, 3 insertions, 0 deletions
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);
}