Skip to content

Commit 792076b

Browse files
committed
Image-preview: Fix colors
1 parent 207f85b commit 792076b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

github-image-preview.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ==UserScript==
22
// @name GitHub Image Preview
3-
// @version 2.0.5
3+
// @version 2.0.6
44
// @description A userscript that adds clickable image thumbnails
55
// @license MIT
66
// @author Rob Garrison
@@ -192,7 +192,7 @@
192192
// add link color
193193
const title = (type = "file-name") =>
194194
`<h4
195-
class="ghip-${type} ${(url ? "text-blue" : "")}"
195+
class="ghip-${type}"
196196
title="${fileName}"
197197
>${fileName}</h4>`;
198198

@@ -201,7 +201,7 @@
201201
content = url ?
202202
updateTemplate(
203203
url,
204-
"<h4 class='text-blue ghip-up-tree'>&middot;&middot;</h4>"
204+
"<h4 class='ghip-up-tree'>&middot;&middot;</h4>"
205205
) : "";
206206
} else if (imgExt.test(url)) {
207207
// *** image preview ***

0 commit comments

Comments
 (0)