mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-26 09:20:08 +00:00 
			
		
		
		
	theme/oxocarbon: add oxocarbon theme module
This commit is contained in:
		
					parent
					
						
							
								d3585c9c83
							
						
					
				
			
			
				commit
				
					
						e722c97188
					
				
			
		
					 5 changed files with 40 additions and 0 deletions
				
			
		
							
								
								
									
										18
									
								
								flake.lock
									
										
									
										generated
									
									
									
								
							
							
						
						
									
										18
									
								
								flake.lock
									
										
									
										generated
									
									
									
								
							|  | @ -1332,6 +1332,23 @@ | |||
|         "type": "github" | ||||
|       } | ||||
|     }, | ||||
|     "oxocarbon": { | ||||
|       "flake": false, | ||||
|       "locked": { | ||||
|         "lastModified": 1687168305, | ||||
|         "narHash": "sha256-2o++5aRDULfI35d+7psa6bk0eSXH2HwfuGjGtYGjR4w=", | ||||
|         "owner": "glyh", | ||||
|         "repo": "oxocarbon.nvim", | ||||
|         "rev": "7591d2e18df05374d612acba2b2573c7ff44dce4", | ||||
|         "type": "github" | ||||
|       }, | ||||
|       "original": { | ||||
|         "owner": "glyh", | ||||
|         "ref": "lualine-support", | ||||
|         "repo": "oxocarbon.nvim", | ||||
|         "type": "github" | ||||
|       } | ||||
|     }, | ||||
|     "plenary-nvim": { | ||||
|       "flake": false, | ||||
|       "locked": { | ||||
|  | @ -1492,6 +1509,7 @@ | |||
|         "obsidian-nvim": "obsidian-nvim", | ||||
|         "onedark": "onedark", | ||||
|         "orgmode-nvim": "orgmode-nvim", | ||||
|         "oxocarbon": "oxocarbon", | ||||
|         "plenary-nvim": "plenary-nvim", | ||||
|         "presence-nvim": "presence-nvim", | ||||
|         "project-nvim": "project-nvim", | ||||
|  |  | |||
|  | @ -312,6 +312,11 @@ | |||
|       flake = false; | ||||
|     }; | ||||
| 
 | ||||
|     oxocarbon = { | ||||
|       url = "github:glyh/oxocarbon.nvim/lualine-support"; | ||||
|       flake = false; | ||||
|     }; | ||||
| 
 | ||||
|     # Rust crates | ||||
|     crates-nvim = { | ||||
|       url = "github:Saecki/crates.nvim"; | ||||
|  |  | |||
|  | @ -42,6 +42,7 @@ with lib; let | |||
|     "onedark" | ||||
|     "catppuccin" | ||||
|     "dracula" | ||||
|     "oxocarbon" | ||||
|     "minimap-vim" | ||||
|     "dashboard-nvim" | ||||
|     "alpha-nvim" | ||||
|  |  | |||
|  | @ -2,4 +2,5 @@ | |||
|   "tokyonight" | ||||
|   "onedark" | ||||
|   "catppuccin" | ||||
|   "oxocarbon" | ||||
| ] | ||||
|  |  | |||
|  | @ -77,4 +77,19 @@ | |||
|     ''; | ||||
|     styles = ["latte" "frappe" "macchiato" "mocha"]; | ||||
|   }; | ||||
| 
 | ||||
|   oxocarbon = { | ||||
|     setup = { | ||||
|       style ? "dark", | ||||
|       transparent ? false, | ||||
|     }: let | ||||
|       style' = | ||||
|         lib.warnIf (style == "light") "oxocarbon: light theme is not well-supported" style; | ||||
|     in '' | ||||
|       require('oxocarbon') | ||||
|       vim.opt.background = "${style'}" | ||||
|       vim.cmd.colorscheme = "oxocarbon" | ||||
|     ''; | ||||
|     styles = ["dark" "light"]; | ||||
|   }; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Frothy
				Frothy