aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/options
diff options
context:
space:
mode:
authorLulonaut <lulonaut@tutanota.de>2023-02-04 14:46:16 +0100
committerGitHub <noreply@github.com>2023-02-04 14:46:16 +0100
commitd0f024a0cd2525bc4a79308c4f7275ea2a308ab2 (patch)
treeeacd08706c28a4ffe0cd5222bae8958a75fc77c8 /src/main/java/io/github/moulberry/notenoughupdates/options
parent2cdedc4e5db57564d05c50230c52e8e887d2d8b5 (diff)
downloadnotenoughupdates-d0f024a0cd2525bc4a79308c4f7275ea2a308ab2.tar.gz
notenoughupdates-d0f024a0cd2525bc4a79308c4f7275ea2a308ab2.tar.bz2
notenoughupdates-d0f024a0cd2525bc4a79308c4f7275ea2a308ab2.zip
Custom default font color in storage overlay (#579)
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/options')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/StorageGUI.java22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/StorageGUI.java b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/StorageGUI.java
index 08c48945..131ac669 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/StorageGUI.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/options/seperateSections/StorageGUI.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2022 NotEnoughUpdates contributors
+ * Copyright (C) 2022-2023 NotEnoughUpdates contributors
*
* This file is part of NotEnoughUpdates.
*
@@ -155,6 +155,26 @@ public class StorageGUI {
@Expose
@ConfigOption(
+ name = "Custom Text Colour",
+ desc = "Use a custom default text colour.\nOverrides the colour set by the overlay style.\nCan be overridden by using colour codes in the page title.",
+ searchTags = "color"
+ )
+ @ConfigEditorBoolean
+ @ConfigAccordionId(id = 1)
+ public boolean useCustomTextColour = false;
+
+ @Expose
+ @ConfigOption(
+ name = "Custom Text Colour",
+ desc = "Requires the above option to be set to true",
+ searchTags = "color"
+ )
+ @ConfigEditorColour
+ @ConfigAccordionId(id = 1)
+ public String customTextColour = "0:255:144:144:144";
+
+ @Expose
+ @ConfigOption(
name = "Scrollable Tooltips",
desc = "Support for scrolling tooltips for users with small monitors\n" +
"This will prevent the menu from scrolling while holding the key, allowing you to scroll tooltips"