1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-29 18:52:22 +01:00

decrease higher limit for black text on primary color

This commit is contained in:
Sylvain 2020-05-05 16:20:44 +02:00
parent 6d0ed0bfb5
commit 34935cbc35

View File

@ -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