Nyxt: theme using base16
This commit is contained in:
parent
4a0829de00
commit
958ff4572a
|
@ -8,11 +8,34 @@
|
||||||
home.packages = [pkgs.nyxt];
|
home.packages = [pkgs.nyxt];
|
||||||
xdg = {
|
xdg = {
|
||||||
configFile = {
|
configFile = {
|
||||||
"nyxt/config.lisp".text = ''
|
"nyxt/config.lisp".text = with scheme.withHashtag; ''
|
||||||
;; Import custom configuration
|
;; Import custom configuration
|
||||||
(nyxt::load-lisp "${./config.lisp}")
|
(nyxt::load-lisp "${./config.lisp}")
|
||||||
;; Define and load custom theme
|
;; Define and load custom theme
|
||||||
(nyxt::load-lisp "${./theme.lisp}")
|
;; (nyxt::load-lisp "${./theme.lisp}")
|
||||||
|
(define-configuration browser
|
||||||
|
((theme (make-instance 'theme:theme
|
||||||
|
:dark-p t
|
||||||
|
:font-family "${fonts.sansSerif.name}"
|
||||||
|
:monospace-font-family "${fonts.monospace.name}"
|
||||||
|
:background-color "${base00}"
|
||||||
|
:on-background-color "${base05}"
|
||||||
|
:primary-color "${scheme.withHashtag.${accentColour}}"
|
||||||
|
:on-primary-color "${base01}"
|
||||||
|
:secondary-color "${base03}"
|
||||||
|
:on-secondary-color "${base05}"
|
||||||
|
:accent-color "${cyan}"
|
||||||
|
:on-accent-color "${base01}"
|
||||||
|
:action-color "${cyan}"
|
||||||
|
:on-action-color "${base01}"
|
||||||
|
:success-color "${green}"
|
||||||
|
:on-success-color "${base01}"
|
||||||
|
:highlight-color "${magenta}"
|
||||||
|
:on-highlight-color "${base01}"
|
||||||
|
:warning-color "${yellow}"
|
||||||
|
:on-warning-color "${base01}"
|
||||||
|
:codeblock-color "${base02}"
|
||||||
|
:on-codeblock-color "${base05}"))))
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
dataFile."nyxt/bookmarks.lisp".source = ./bookmarks.lisp;
|
dataFile."nyxt/bookmarks.lisp".source = ./bookmarks.lisp;
|
||||||
|
|
Loading…
Reference in a new issue