[gnome-maps] color: Adjust minimum allowed contrast ratio
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] color: Adjust minimum allowed contrast ratio
- Date: Mon, 4 Nov 2019 19:41:40 +0000 (UTC)
commit f75f54f31ff789495f9d390cf89333f718f8a5a6
Author: Marcus Lundblad <ml update uu se>
Date: Mon Nov 4 20:28:30 2019 +0100
color: Adjust minimum allowed contrast ratio
src/color.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/color.js b/src/color.js
index 7216a284..feb630a3 100644
--- a/src/color.js
+++ b/src/color.js
@@ -20,7 +20,7 @@
*/
/* Minimum contrast ratio for foreground/background color for i.e. route labels */
-const MIN_CONTRAST_RATIO = 3.0;
+const MIN_CONTRAST_RATIO = 2.0;
/**
* Parses a given color component index (0: red, 1: green, 2: blue)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]