diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-01-13 21:42:00 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-01-13 21:42:00 +0300 |
commit | 7ef4dbc33eaa8493b71ddb7fb11f90a2a1ca3ce6 (patch) | |
tree | a08fe2ba7caa3f310e7ec8a650c2109c28d6d6df /src | |
parent | 43f443f380cf6e5f9825db10a15f2e73964dc2a3 (diff) |
Fix color contrast ratio for author annotations
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/extensions/UserColor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extensions/UserColor.js b/src/extensions/UserColor.js index d359b3443..e3e4350c1 100644 --- a/src/extensions/UserColor.js +++ b/src/extensions/UserColor.js @@ -76,7 +76,7 @@ export default class UserColor extends Extension { const clientID = commit.author.clientID return Decoration.inline(span.from, span.to, { class: 'author-annotation', - style: 'background-color: ' + this.spec.color(clientID) + 'ee;', + style: 'background-color: ' + this.spec.color(clientID) + '66;', title: this.spec.name(clientID), }) }).filter(dec => dec !== null) |