Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-01-13 21:42:00 +0300
committerJulius Härtl <jus@bitgrid.net>2021-01-13 21:42:00 +0300
commit7ef4dbc33eaa8493b71ddb7fb11f90a2a1ca3ce6 (patch)
treea08fe2ba7caa3f310e7ec8a650c2109c28d6d6df /src/extensions
parent43f443f380cf6e5f9825db10a15f2e73964dc2a3 (diff)
Fix color contrast ratio for author annotations
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/extensions')
-rw-r--r--src/extensions/UserColor.js2
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)