From mboxrd@z Thu Jan 1 00:00:00 1970 From: wry@mm.st Subject: Re: need to increase contrast in all emacs faces for legibility Date: Wed, 11 Dec 2019 20:42:28 -0500 Message-ID: <20191212014227.dcdadcq6qxqhwkuz@wrycode> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:32861) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ifDVS-0000ph-2I for emacs-orgmode@gnu.org; Wed, 11 Dec 2019 20:43:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ifDVQ-0006bh-Qh for emacs-orgmode@gnu.org; Wed, 11 Dec 2019 20:43:05 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:41265) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ifDVQ-0006XR-DT for emacs-orgmode@gnu.org; Wed, 11 Dec 2019 20:43:04 -0500 Content-Disposition: inline In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org On 12/10, Samuel Wales wrote: >at night, i need much more contrast in my emacs faces in order to >increase legibility. This is counterintuitive, normally you need to increase contrast during the day and decrease contrast (and lower brightness) at night to prevent eye strain. Unless you're using an E Ink display or something crazy, decreased ambient light should not affect legibility (pixels are backlit), only eye strain. >is it possible to programmatically increase foreground contrast >against their background in all faces? >i already have the background black or close to it. Studies have suggested that light text on dark background is less legible than dark text on light background, so you could change that. Anecdotally this is true for me in Emacs and on the web, but the decreased eye strain at night is worth the tradeoff of using a dark background. I doubt Emacs has this contrast functionality built in. You can always change themes (M-x customize-themes). A quick Google of "Emacs high contrast themes" yields at least one theme you could try. You can even manually modify themes. Just go to the Elisp file and play around with the theme definition. Use Gimp or Google "HTML color picker" to find new colors to replace whichever color you're not satisfied with. If you're actually trying to reduce eye strain at night, there are several tools at your disposal. - Redshift has already been mentioned; I consider my computer basically unusable at night without it - Decrease display brightness using software (e.g. https://github.com/haikarainen/light ) - Change brightness or color settings at the hardware level (by clicking buttons on your monitor) - Add more ambient light around your monitor - Computer blue-light filtering glasses (I don't know if they're effective or not)