summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/nyxt/colorscheme.lisp25
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.")
+
+