From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 38E941F934 for ; Thu, 31 Dec 2020 23:16:57 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1609456615; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9HNHwZ2XhfZUuuaVwlqJdc3+2saOrukIu9GDeBT88fo=; b=CXVu3wkbEGd+f5s6f/aD6Zr0mNZRpFX2LbpVAUSiImF9uOnXlALHREoXUzA3CbBrzpA5i+ ae71JALnquyLd8UZwi7rllt+cRsNI2DzD0bFATreudfoTitwu9Crl7GRgTws4Oe3SXIsci iohukovcvQJN28CqwiOBeB36pBsZ6464LAPepok+7+ELq374c4pXZ8Uo+7nYL/RmMcsh6F GPWJjjwTZ2GNNvx5lRzlfNBMcXHqK056MSTdgTz8IQzN8xNpIo0vHiSZFtsKCONi9QDuOq VEYQ3hbhdEfZal/5iSRALJKczWOagKbtpagPxgifr3d6KVivr222Iy6kxGAzNg== From: Kyle Meyer To: Eric Wong , Johannes Altmanninger Cc: meta@public-inbox.org Subject: Re: Unexpected white-on-black text in QtWebEngine-based browsers In-Reply-To: References: <20201231220649.psdyhorlwy6f66wh@gmail.com> Message-ID: <871rf5sh0g.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: kyle@kyleam.com Date: Thu, 31 Dec 2020 23:16:54 GMT List-Id: Eric Wong writes: > Johannes Altmanninger wrote: > >> This happens with Qutebrowser and Falkon, two QtWebEngine-based browsers. >> On Firefox or Chrome, the site displays black-on-white as usual. > > It depends on your browsers' prefers-color-scheme setting which was > standardized <2 years ago, I think... I know Firefox supports it, > can't remember others. Hmm I just installed Qutebrowser (1.14.1, which looks to be the latest release) via Guix and visited public-inbox.org/meta, and it used the light theme. I've never used Qutebrowser, and I don't have any idea why I see a different default. At any rate, I can make it use a dark theme by adding the following line to $HOME/.config/qutebrowser/config.py: config.set("colors.webpage.darkmode.enabled", True) So, Johannes, perhaps you can get the light theme you're after with config.set("colors.webpage.darkmode.enabled", False)