From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id MIPZExKNTGfU4gAAe85BDQ:P1 (envelope-from ) for ; Sun, 01 Dec 2024 16:21:38 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MIPZExKNTGfU4gAAe85BDQ (envelope-from ) for ; Sun, 01 Dec 2024 17:21:38 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=OrJUjyaq; dkim=fail ("headers rsa verify failed") header.d=zoho.com header.s=zm2022 header.b=f1oFxte4; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=2; s=key1; d=yhetil.org; t=1733070098; a=rsa-sha256; cv=fail; b=QtxxBgLXSIhFkNhqrr8PBZA+aKWQGB0zYup1tDIlQrpRLBvUm76xzvEy0Vv+qW9BLpmuof nv/4knkcLXHmUxxMy4VGKQmayv+r+i/QiVgkIuo+k518YGgydzWQDFINz5LvQFKKw68RsM iq5HyWPfwfAh/oq/xWF6QzO8k8hNmz5U93UJ+bLqQbrwRsdXEUIr4Q/LnKHi/zKrflspls jqiT0wl+cbz9TgAfWbsiO9y9herfTJUZ31ci+iFJhsgejOu+UulFLCsNWMIfa9u+NDZpNc kO7HfA/7KgVElQcvy1DWtVU+CDL7bsnPQ/SQ4AQ4ilH0PmqW4KiT9o//CvkpmA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=OrJUjyaq; dkim=fail ("headers rsa verify failed") header.d=zoho.com header.s=zm2022 header.b=f1oFxte4; arc=reject ("signature check failed: fail, {[1] = sig:zohomail.com:reject}"); dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733070098; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=haAUqFCHhruoVrsUjpHenRvveK5l8I9cNZTDLpO1JAo=; b=UuH17UhXKoOn1DTe7Nziki7dMDMl7o2p02OvQ6eQr7+0Lel4KWAKmU19gUZctlg0bF8hhm ZBpXWurpOsN5f68CS/BdssdVQI5EUn780rpKk3veQOLFWJnk7IQAanLfDceYapKEbw+tCI sdmq1RsIbLA76cp1MagPAnED27Iz3jS5sbzjplwmKxTDHY3ey+/l5wO8IIzz4+kel37p1S 3hg/3zNnfNIUy4qPpAUn1ljke0NuVVwyBFHwY6OyEkQxhKb73YTM0TD9Pod2ThhANsQh2G fX3o2Obe7YYG8CJ0v1kBTCwHAIUVpV7gZ59ed7+hagyh+cM0EtpM5RXDM2x64w== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id F02175F7D8 for ; Sun, 01 Dec 2024 17:21:37 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tHmhE-0002nr-1q; Sun, 01 Dec 2024 11:21:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tHmgx-0002kK-Fw for guix-patches@gnu.org; Sun, 01 Dec 2024 11:21:05 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tHmgx-0003wE-0V for guix-patches@gnu.org; Sun, 01 Dec 2024 11:21:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=haAUqFCHhruoVrsUjpHenRvveK5l8I9cNZTDLpO1JAo=; b=OrJUjyaqazvwKtmE0LruwtYazYQ6JLEW5+aJJhqEyGAbcelYjQiq9+19FqRxF8FBBK2HzS1gWpoyGG8x0RiHqxeGvt2xSUjlr/ol0IzibSYBREFUVRJu1tN3rkITsSQzxiT6az3NTwXQZ3BBJK5hPO6lPz4zub9pqUEh9yTPCFY1ZdY17ghtuTw6L7XrDLaeHavw5DPBlgRxID85iNVCLGZ8rj6WG/E0KCjaAJQoGoOKlcq33dGAGHKpW8g3TAg3+cZp/uH597zcZt826jWo9G59FXMFD0wRcV1jmNT0JjF+wAhkmXisFF6KEJ/0oudHBeNU8A6Xf9tbMz3Ng6OiWw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tHmgw-0002I3-BO for guix-patches@gnu.org; Sun, 01 Dec 2024 11:21:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74634] [PATCH shepherd website 1/5] logo: Remove adaptation to user's preferred color scheme. References: <20241201161216.18698-1-sirgazil@zoho.com> In-Reply-To: <20241201161216.18698-1-sirgazil@zoho.com> Resent-From: sirgazil@zoho.com Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 01 Dec 2024 16:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74634 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74634@debbugs.gnu.org Cc: Luis Felipe Received: via spool by 74634-submit@debbugs.gnu.org id=B74634.17330700518727 (code B ref 74634); Sun, 01 Dec 2024 16:21:02 +0000 Received: (at 74634) by debbugs.gnu.org; 1 Dec 2024 16:20:51 +0000 Received: from localhost ([127.0.0.1]:52788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHmgl-0002Gh-5G for submit@debbugs.gnu.org; Sun, 01 Dec 2024 11:20:51 -0500 Received: from sender4-pp-o91.zoho.com ([136.143.188.91]:25196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tHmgj-0002GT-14 for 74634@debbugs.gnu.org; Sun, 01 Dec 2024 11:20:50 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1733070044; cv=none; d=zohomail.com; s=zohoarc; b=mWmWxFAdhtwnf761OwZCKkyJGFbNNwDzZsvur33CRLn42LqvW4onege87S9EwBaCiydMSLJdchr5Q35vjqOLUN/d3qNrPYoc43tQ3eoqWgXQX+puWGijCoZhEEb8gfOVnU15GKWzien5fGZPHxYeupOoWGqbZMNZM1TdJ2CDx+8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1733070044; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=haAUqFCHhruoVrsUjpHenRvveK5l8I9cNZTDLpO1JAo=; b=ID6yokxVUDw0D8oTQYMyFDgSUhS1a1ablM7XnILFAUwC/gTkctvwm9uvrHIFr8iEprdE/ymtKpJmUIdPHCk8lhIuwOiQgaRCIQj9Zch872xwaPdpEm0IYbEa21LLsS4iwwF5UR/zfFI9T2yUphODLH8cQviTTQRs0ygrM7IPTq0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=sirgazil@zoho.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1733070044; s=zm2022; d=zoho.com; i=sirgazil@zoho.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Transfer-Encoding:Feedback-ID:Message-Id:Reply-To; bh=haAUqFCHhruoVrsUjpHenRvveK5l8I9cNZTDLpO1JAo=; b=f1oFxte4EVUpPLwsm+K6IPHyCy0dXtAzLZFzhjqde+yP2lRGH/hLMTswKvdcDEPW Kkh1nwj4mTD2Q0RcqidhfQTZER2R9dA6sgfuxnxrhi0pFlCMIZ+h6HMH6aGKcHk+GtT 6tGqRa7CtFsJsZy9BfF8M+hm3qV/EKQ4cyOKPbsA= Received: by mx.zohomail.com with SMTPS id 1733070042001290.5571931353911; Sun, 1 Dec 2024 08:20:42 -0800 (PST) Date: Sun, 1 Dec 2024 11:19:46 -0500 Message-ID: <20241201161950.19049-1-sirgazil@zoho.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Feedback-ID: rr08011227c844e5642c19d3f1af5810ce00007975ac418f46ae8a74bdff6b7a4dc7b54868bfe02bf73783b5:zu080112273f164ab02f80d9fd984228010000e34eaf70f19a45e9b6d3bb3739a8690c85e5f56a3d49674446:rf0801122643e4a6e43ab929823ef2225b0000528e91960ab08b254059d1abfe39c1da06df5be3d45871b8:ZohoMail X-ZohoMailClient: External X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: sirgazil@zoho.com X-ACL-Warn: , sirgazil--- via Guix-patches From: sirgazil--- via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: F02175F7D8 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -5.12 X-Spam-Score: -5.12 X-TUID: Er4XijxxmZJZ From: Luis Felipe The website's CSS doesn't adapt to user's preferred color scheme yet, but the logo image did. This created an accessibility problem for users who prefer a dark scheme: the whitish version of the logo was displayed on the whitish pages of the website. This change solves that problem. * haunt.scm (page-layout): Always use the logo for light backgrounds. --- haunt.scm | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/haunt.scm b/haunt.scm index 23a0efa..f561fc9 100644 --- a/haunt.scm +++ b/haunt.scm @@ -95,11 +95,8 @@ (a (@ (href ,(base-url "/")) (class ,(if front-page? "logo" "logo small"))) - (picture - (source (@ (media "(prefers-color-scheme: dark)") - (srcset ,(image-url "logo-dark.svg")))) - (img (@ (src ,(image-url "logo-light.svg")) - (alt "Shepherd logo"))))) + (img (@ (src ,(image-url "logo-light.svg")) + (alt "Shepherd logo")))) ;; Add the large-font welcoming message on the ;; front page. -- 2.46.0