From nobody Mon Oct 31 05:37:59 2022 X-Original-To: doc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N124846k9z4gkSx for ; Mon, 31 Oct 2022 05:38:00 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N12476RBFz3nxm for ; Mon, 31 Oct 2022 05:37:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N12475G48zQ6M for ; Mon, 31 Oct 2022 05:37:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 29V5bxCw033861 for ; Mon, 31 Oct 2022 05:37:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 29V5bxrq033860 for doc@FreeBSD.org; Mon, 31 Oct 2022 05:37:59 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 267452] [request] docs.freebsd.org could auto-switch theme with modern browsers Date: Mon, 31 Oct 2022 05:37:59 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Books & Articles X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: jerry.jacobs@xor-gate.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: doc@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1667194679; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1LMjEJHNrkXsXVaebd9P2sVv6+GjDOSm843xaez7xcs=; b=bjVpUs901VKBzoDCdu0Drzgo7P69apZlS25Z2R6c9PPzhsEZ6LmO0rlGxNk7HvqxgbMYPo YLjJkij91+aw2xin5VbyQyviQC8fAUf9vfh4YlL1/WKawdpYOwnlKqbYL/fHNU6YoRqDAB ztMY9E+uVecdSJT/WGdn5nPq6OK1HMzxM4Xtgc4DwfSUJ2DUyKWEo6SCzB6aNav0dClRh1 y4sBwn+ZxY7wJ+ToikdD13UU2IMNacBo1X4lVtk7rHKboyVoDSvYWybiNrT89fMiWgluxo CcEr1pi8HGfyoyOVZ96jidLnllV0Fp1tzOxvDJaEBca/xItQJn0BVcI0SHJE6g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1667194679; a=rsa-sha256; cv=none; b=iv26w4VwwZVeldvngDErwM2CirUcrDcryzuGtHqXrPvSY+8C8TKBkzhzik+h0vcAgMq29j 7LrU4yWkJ0WnD4vS9UCFiUGA8kVaXW3Teb8UEhBYDS7pDM1L3N4TrOpjHl4N4Ong/o4DFy H+DxzLAby7M2xFSLoC3oEf5+CWAbLw4S8xCANbGSQj56HEdkZGOsOX3k+y3/f+ZYNKlL+o U/upmci0yDjJemNiySj8UVJaihTezvJBIWuOZOlVoJzDv5sSEhuX3cMAxIdpTzxdlITTC6 RtMW7/Mh8gUfvFKpSiJ8g7TouVziIOPjiZtcXcDI0qjEshCIV34wLP1IHWtDVA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267452 Bug ID: 267452 Summary: [request] docs.freebsd.org could auto-switch theme with modern browsers Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Books & Articles Assignee: doc@FreeBSD.org Reporter: jerry.jacobs@xor-gate.org It is very easy with modern browsers to auto-switch to dark/normal theme if prefered. With some javascript/CSS query to detect the OS dark mode prefere= nce: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme https://usefulangle.com/post/318/javascript-check-dark-mode-activated --=20 You are receiving this mail because: You are the assignee for the bug.=