Only whitelist doom- prefixed themes
I find that I continually reach for the Doom themes rather than any of the base16 or others.
This commit is contained in:
		
							parent
							
								
									190686fee1
								
							
						
					
					
						commit
						cab39b89af
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -29,7 +29,10 @@
 | 
			
		|||
 | 
			
		||||
(defcustom colorscheme/whitelist
 | 
			
		||||
  (cycle/from-list
 | 
			
		||||
   (custom-available-themes))
 | 
			
		||||
   (->> (custom-available-themes)
 | 
			
		||||
        (list/map #'symbol-name)
 | 
			
		||||
        (list/filter (>> (s-starts-with? "doom-")))
 | 
			
		||||
        (list/map #'intern)))
 | 
			
		||||
  "The whitelist of colorschemes through which to cycle.")
 | 
			
		||||
 | 
			
		||||
(defun colorscheme/current ()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue