fix theme api

pull/8675/merge^2
Matt Paras 2025-06-01 16:18:23 -07:00
parent 3149754e85
commit fe2ab3565f
1 changed files with 11 additions and 0 deletions

View File

@ -166,6 +166,17 @@
diagnostic.unnecessary
diagnostic.deprecated)
(provide hashmap->theme
register-theme
theme-style
theme-set-style!
string->color)
;;@doc
;; Register this theme with helix for use
(define (register-theme theme)
(add-theme! *helix.cx* theme))
(define-syntax theme-func
(syntax-rules ()
[(_ scope doc-string)