From 5c0b0d92a1bde0771c08df43a8ee7aa33ba4dcb3 Mon Sep 17 00:00:00 2001 From: Luka Hadzi-Djokic Date: Fri, 18 Aug 2023 17:16:08 +0200 Subject: [PATCH 1/2] mode/bookmarklets: Fix `darken` bookmarklet. --- source/mode/bookmarklets.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/mode/bookmarklets.lisp b/source/mode/bookmarklets.lisp index c439e6f2ca5..d39a10775be 100644 --- a/source/mode/bookmarklets.lisp +++ b/source/mode/bookmarklets.lisp @@ -128,4 +128,4 @@ See `define-bookmarklet-command'." (define-bookmarklet-command darken "Darken the page." ;; This bookmarklet was sourced form 'https://github.com/x08d/222' with permission under the GPL v3.0 - "javascript:document.querySelectorAll('*').forEach(e=>e.setAttribute('style','background-color:#222 !important;background-image:none !important;color:#'+(/^A|BU/.test(e.tagName)?'36c;text-decoration:underline;':'eee;')+e.getAttribute('style')))") + "document.querySelectorAll('*').forEach(e=>e.setAttribute('style','background-color:#222 !important;background-image:none !important;color:#'+(/^A|BU/.test(e.tagName)?'36c;text-decoration:underline;':'eee;')+e.getAttribute('style')))") From 76fc9b67f80852d7298683e3d5f7e5ad5a63756c Mon Sep 17 00:00:00 2001 From: Luka Hadzi-Djokic Date: Mon, 28 Aug 2023 10:28:49 +0200 Subject: [PATCH 2/2] changelog: Mention `dark-mode` fix. --- source/changelog.lisp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/changelog.lisp b/source/changelog.lisp index 2d94091540e..d14ad996b75 100644 --- a/source/changelog.lisp +++ b/source/changelog.lisp @@ -832,7 +832,10 @@ Chromium, Brave and Vivaldi. For instance, " (:nsection :title "Bug fixes" (:ul (:li "Fix clipboard facilities on X11 and Wayland.") - (:li "Fix source code location on Flatpak."))) + (:li "Fix source code location on Flatpak.") + (:li "Fix " (:nxref :mode 'nyxt/mode/style:dark-mode) + " and the " (:nxref :command 'nyxt/mode/bookmarklets:darken) + " bookmarklet command."))) ;; (:nsection :title "UI/UX" ;; (:ul ;; (:li "")))