Skip to content

Commit 70f35c6

Browse files
committed
Make sure inline blame colour has contrast against a blue background
1 parent 4bab7a7 commit 70f35c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101

102102
blame_inline_phantom_css = """
103103
div.phantom {
104-
color: color(var(--bluish) blend(var(--background) 60%));
104+
color: color(color(var(--bluish) blend(var(--background) 60%)) min-contrast(var(--background) 2.0));
105105
padding: 0;
106106
margin-left: 50px;
107107
}

0 commit comments

Comments
 (0)