From 34935cbc3509859137a7f9e9ed3fec4560c7ec73 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Tue, 5 May 2020 16:20:44 +0200 Subject: [PATCH] decrease higher limit for black text on primary color --- app/models/stylesheet.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/stylesheet.rb b/app/models/stylesheet.rb index 48700fa58..6f9f9ecf2 100644 --- a/app/models/stylesheet.rb +++ b/app/models/stylesheet.rb @@ -6,7 +6,7 @@ class Stylesheet < ApplicationRecord # brightness limits to change the font color to black or white - BRIGHTNESS_HIGH_LIMIT = 180 + BRIGHTNESS_HIGH_LIMIT = 160 BRIGHTNESS_LOW_LIMIT = 40 validates_presence_of :contents