6

GitHub - eval-exec/crazy-theme.el: A Crazy Emacs theme🎨 for crazy people🌪️. Tire...

 1 year ago
source link: https://github.com/eval-exec/crazy-theme.el
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

https://user-images.githubusercontent.com/46400566/218089490-31e684ba-5ad0-410f-b9ae-5d9f6f3a8445.png

Crazy Theme for Emacs

Use this Emacs theme if you are crazy.

It will generate random colors when you load this crazy theme everytime.

crazy-0.2.0.mp4

Configration

(use-package crazy
  :straight (:host github :repo "eval-exec/crazy-theme.el")
  :ensure t)

Then load crazy theme:

(load-theme 'crazy)

There are two custom variables you can config:

 ;; (defun crazy-foreground-func-default()
 ;;   "Generate random foreground color."
 ;;   (apply 'format "#%02X%02X%02X" (crazy-rgb-code 128 128 )))

 ;; (defun crazy-background-func-default-dark()
 ;;   "Generate random dark background color."
 ;;   ;; give (random 128) to a variable bg
 ;;   (let ((bg (random 32)))
 ;; 	(apply 'format "#%02X%02X%02X" (list bg bg bg))))

 (defcustom crazy-foreground-func 'crazy-foreground-func-default
	"Custom function to generate foreground color."
	:type 'function
	)

 (defcustom crazy-background-func 'crazy-background-func-default-dark
	"Custom function to generate background color."
	:type 'function
	)

Issue and Pull Request are welcome

Feel free to fire an issue, and make a pull request contribution appreciated.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK