diff options
author | Thanos Apollo <[email protected]> | 2024-02-02 17:52:20 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-02-02 17:52:20 +0200 |
commit | 0fadc070ad985c7d3d9dd611d180bf6a9688203f (patch) | |
tree | 24ba9cc00934b8ee0287978eb0584ef4d3e4a127 /.config | |
parent | 6b5d21d3a10aa9de125fc3ab1f5e21d7ea474e72 (diff) |
nyxt:(colorscheme) Add dark-mode configuration
Diffstat (limited to '.config')
-rw-r--r-- | .config/nyxt/colorscheme.lisp | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/.config/nyxt/colorscheme.lisp b/.config/nyxt/colorscheme.lisp index 9ac1099..4dee682 100644 --- a/.config/nyxt/colorscheme.lisp +++ b/.config/nyxt/colorscheme.lisp @@ -116,8 +116,29 @@ (define-configuration browser ((theme thanos/dark-theme - :doc - "Covers all the semantic groups (warning-color, codeblock-color etc.) + :doc + "Covers all the semantic groups (warning-color, codeblock-color etc.) Note that you can also define more nuanced colors, like warning-color+, so that the interface gets even nicer. Otherwise Nyxt generates the missing colors automatically, which should be good enough... for most cases."))) + +(define-configuration nyxt/mode/style:dark-mode + ((style + (theme:themed-css (theme *browser*) + ;; `(h1 :color ,monokai-dark-blue "!important") + ;; `(h2 :color ,badger-orange "!important") + ;; `(h3 :color ,badger-green "!important") + ;; `(article :background-color "red" "!important" + ;; :color "red" "!important") + ;; `(header :color "red") + `(a :background-color "#000000" "!important" + :background-image none "!important" + :color ,badger-blue "!important") + `(* :background-color "#000000" "!important" + :color "#ffffff" "!important" + :background-image none "!important!") + `(video :background-color none "!important")))) + :doc + "Notice the use of theme:themed-css for convenient theme color injection.") + + |