make nyxt sleeker
This commit is contained in:
parent
72b6c49e94
commit
c5d884ccb5
10 changed files with 247 additions and 109 deletions
206
nyxt/init.lisp
206
nyxt/init.lisp
|
@ -71,7 +71,7 @@
|
|||
"J" 'switch-buffer-previous
|
||||
"b" 'switch-buffer
|
||||
"v" 'hint-mpv
|
||||
"C-v v" 'hint-ytdl
|
||||
"V" 'hint-ytdl
|
||||
"d" 'delete-current-buffer
|
||||
"D" 'delete-buffer
|
||||
"r" 'reload-current-buffer
|
||||
|
@ -92,61 +92,67 @@
|
|||
%slot-default%))))
|
||||
|
||||
(define-configuration buffer
|
||||
((search-engines
|
||||
(list
|
||||
(make-instance 'search-engine
|
||||
:shortcut "s"
|
||||
:search-url "https://search.tfcconnection.org/?q=~a"
|
||||
:fallback-url "https://search.tfcconnection.org")))))
|
||||
((search-engines
|
||||
(list
|
||||
(make-instance 'search-engine
|
||||
:shortcut "s"
|
||||
:search-url "https://search.tfcconnection.org/?q=~a"
|
||||
:fallback-url "https://search.tfcconnection.org")))))
|
||||
|
||||
(define-configuration nyxt/vi-mode:vi-normal-mode
|
||||
((visible-in-status-p nil)))
|
||||
|
||||
(define-configuration nyxt/vi-mode:vi-insert-mode
|
||||
((visible-in-status-p nil)))
|
||||
|
||||
(define-configuration status-buffer
|
||||
((style
|
||||
(str:concat
|
||||
%slot-default%
|
||||
(cl-css:css
|
||||
'((body
|
||||
:background "#282a36"
|
||||
:color "#e2e4e5"
|
||||
:line-height "1fr")
|
||||
("#container-vi"
|
||||
:grid-template-columns "0px 30px 2fr 0px 240px")
|
||||
("#controls"
|
||||
:background-color "#282a36"
|
||||
:color "#f3f99d"
|
||||
:width "0px"
|
||||
:padding-left "0px"
|
||||
:hidden)
|
||||
("#url"
|
||||
:background-color "#282a36"
|
||||
:color "#5af78e")
|
||||
("#modes"
|
||||
:background-color "#282a36"
|
||||
:color "#f3f99d")
|
||||
("#tabs"
|
||||
:background-color "#282a36"
|
||||
:color "#5af78e")
|
||||
(".tab"
|
||||
:background-color "#282a36"
|
||||
:color "#9aedfe")
|
||||
(".tab:hover"
|
||||
:background-color "#282a36"
|
||||
:color "#f1f1f0")
|
||||
(".button"
|
||||
:background-color "#282a36"
|
||||
:color "#5af78e")
|
||||
(".button:hover"
|
||||
:background-color "#282a36"
|
||||
:color "#f1f1f0")
|
||||
(".arrow"
|
||||
:width "0px"
|
||||
:height "0px")
|
||||
(".arrow-right"
|
||||
:background-color "#282a36"
|
||||
:color "#5af78e")
|
||||
(".arrow-left"
|
||||
:background-color "#282a36"
|
||||
:color "#5af78e")
|
||||
))))))
|
||||
((style
|
||||
(str:concat
|
||||
%slot-default%
|
||||
(cl-css:css
|
||||
'((body
|
||||
:background "#282a36"
|
||||
:color "#e2e4e5"
|
||||
:line-height "1fr")
|
||||
("#container-vi"
|
||||
:grid-template-columns "0px 30px 2fr 0px 240px")
|
||||
("#controls"
|
||||
:background-color "#282a36"
|
||||
:color "#f3f99d"
|
||||
:width "0px"
|
||||
:padding-left "0px"
|
||||
:hidden)
|
||||
("#url"
|
||||
:background-color "#282a36"
|
||||
:color "#5af78e")
|
||||
("#modes"
|
||||
:background-color "#282a36"
|
||||
:color "#f3f99d")
|
||||
("#tabs"
|
||||
:background-color "#282a36"
|
||||
:color "#5af78e")
|
||||
(".tab"
|
||||
:background-color "#282a36"
|
||||
:color "#9aedfe")
|
||||
(".tab:hover"
|
||||
:background-color "#282a36"
|
||||
:color "#f1f1f0")
|
||||
(".button"
|
||||
:background-color "#282a36"
|
||||
:color "#5af78e")
|
||||
(".button:hover"
|
||||
:background-color "#282a36"
|
||||
:color "#f1f1f0")
|
||||
(".arrow"
|
||||
:width "0px"
|
||||
:height "0px")
|
||||
(".arrow-right"
|
||||
:background-color "#282a36"
|
||||
:color "#5af78e")
|
||||
(".arrow-left"
|
||||
:background-color "#282a36"
|
||||
:color "#5af78e")
|
||||
))))))
|
||||
|
||||
(define-configuration internal-buffer
|
||||
((style
|
||||
|
@ -169,50 +175,54 @@
|
|||
:color "#e2e4e5")))))))
|
||||
|
||||
(define-configuration prompt-buffer
|
||||
((style
|
||||
(str:concat
|
||||
%slot-default%
|
||||
(cl-css:css
|
||||
'((body
|
||||
:background-color "#282a36"
|
||||
:color "#e2e4e5")
|
||||
("#prompt-area"
|
||||
:background-color "#282a36"
|
||||
:color "#57c7ff")
|
||||
("#prompt"
|
||||
:background-color "#282a36"
|
||||
:color "#e2e4e5")
|
||||
("#input"
|
||||
:background-color "#282a36"
|
||||
:color "#e2e4e5")
|
||||
("#suggestions"
|
||||
:background-color "#282a36"
|
||||
:color "#e2e4e5")
|
||||
(.source
|
||||
:margin-left "5px")
|
||||
(.source-name
|
||||
:background-color "#282a36"
|
||||
:color "#e2e4e5")
|
||||
(.source-content
|
||||
:background-color "#282a36"
|
||||
:color "#e2e4e5")
|
||||
;; (".source-content td"
|
||||
;; :background-color "#282a36"
|
||||
;; :color "#e2e4e5")
|
||||
(".source-content th"
|
||||
:background-color "#43454f"
|
||||
:color "#e2e4e5")
|
||||
("#selection"
|
||||
:background-color "#57c7ff"
|
||||
:color "#34353e")
|
||||
(.marked
|
||||
:background-color "#5af78e"
|
||||
:color "#34353e")
|
||||
(.selected
|
||||
:background-color "#57c7ff"
|
||||
:color "#34353e")
|
||||
(.button
|
||||
:color "#e2e4e5")))))))
|
||||
((style
|
||||
(str:concat
|
||||
%slot-default%
|
||||
(cl-css:css
|
||||
'((body
|
||||
:background-color "#282a36"
|
||||
:color "#e2e4e5")
|
||||
("#prompt-area-vi"
|
||||
:background-color "#282a36"
|
||||
:color "#57c7ff")
|
||||
("#prompt"
|
||||
:background-color "#282a36"
|
||||
:color "#e2e4e5")
|
||||
("#input"
|
||||
:background-color "#282a36"
|
||||
:color "#e2e4e5")
|
||||
("#suggestions"
|
||||
:background-color "#282a36"
|
||||
:color "#e2e4e5")
|
||||
(.vi-insert-mode
|
||||
:background-color "#282a36")
|
||||
(.vi-normal-mode
|
||||
:background-color "#282a36")
|
||||
(.source
|
||||
:margin-left "5px")
|
||||
(.source-name
|
||||
:background-color "#282a36"
|
||||
:color "#e2e4e5")
|
||||
(.source-content
|
||||
:background-color "#282a36"
|
||||
:color "#e2e4e5")
|
||||
;; (".source-content td"
|
||||
;; :background-color "#282a36"
|
||||
;; :color "#e2e4e5")
|
||||
(".source-content th"
|
||||
:background-color "#43454f"
|
||||
:color "#e2e4e5")
|
||||
("#selection"
|
||||
:background-color "#57c7ff"
|
||||
:color "#34353e")
|
||||
(.marked
|
||||
:background-color "#5af78e"
|
||||
:color "#34353e")
|
||||
(.selected
|
||||
:background-color "#57c7ff"
|
||||
:color "#34353e")
|
||||
(.button
|
||||
:color "#e2e4e5")))))))
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue