diff options
| author | yuzu-eva <stevenhu@web.de> | 2023-06-09 19:05:18 +0200 |
|---|---|---|
| committer | yuzu-eva <stevenhu@web.de> | 2023-06-09 19:05:18 +0200 |
| commit | 93e56a12d85df2e1aee2af2898728660bbecc6f4 (patch) | |
| tree | f1ad25786f0ae961691e5b32a0fe72a2ce8a8849 /.config/nyxt/themes | |
| parent | 70980c2c53e9fc3cadd2f6eacd085dc0297f65b6 (diff) | |
added my nyxt configs
Diffstat (limited to '.config/nyxt/themes')
| -rw-r--r-- | .config/nyxt/themes/cafebabe-dark.lisp | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/.config/nyxt/themes/cafebabe-dark.lisp b/.config/nyxt/themes/cafebabe-dark.lisp new file mode 100644 index 0000000..0ccffe1 --- /dev/null +++ b/.config/nyxt/themes/cafebabe-dark.lisp @@ -0,0 +1,37 @@ +(in-package #:nyxt-user) + +;; this automatically darkens Webkit-native interfaces and sends the +;; "prefers-color-scheme: dark" to all the supporting websites. +(setf (uiop:getenv "GTK_THEME") "Adwaita:dark") + +(define-configuration browser + ((theme (make-instance + 'theme:theme + :background-color "#000000" + :accent-color "#CD5C5C" + :accent-alt-color "#6C2429" + :warning-color "#CEFF00" + :primary-color "rgb(170, 170, 170)" + :secondary-color "rgb(100, 100, 100)")))) + +(define-configuration :dark-mode + "Overriding the ugly gray-ish default colors" + ((style + (theme:themed-css (theme *browser*) + `(* + :background-color ,(if (theme:dark-p theme:theme) + theme:background + theme:on-background) + "!important" + :background-image none "!important" + :color ,(if (theme:dark-p theme:theme) + theme:on-background + theme:background) + "!important") + `(a + :background-color ,(if (theme:dark-p theme:theme) + theme:background + theme:on-background) + "!important" + :background-image none "!important" + :color ,theme:primary "!important"))))) |
