Skip to content

Commit 9ea4e57

Browse files
committed
Disabled scripts strikethrough, not gray
Gray breaks WCAG AA and WCAG AAA, tl;dr it's awful contrast.
1 parent 08eaf64 commit 9ea4e57

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/io/github/techstreet/dfscript/screen/script/ScriptListScreen.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public ScriptListScreen(boolean allowEditAndUpload) {
5555
}
5656

5757
if (s.disabled()) {
58-
text = text.formatted(Formatting.GRAY);
58+
text = text.formatted(Formatting.STRIKETHROUGH);
5959
}
6060

6161
panel.add(new CText(6, y + 2, text));

0 commit comments

Comments
 (0)