Restructure
This commit is contained in:
		
							
								
								
									
										21
									
								
								config/yazi/flavors/tokyo-night.yazi/LICENSE
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								config/yazi/flavors/tokyo-night.yazi/LICENSE
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| MIT License | ||||
|  | ||||
| Copyright (c) 2023 - sxyazi | ||||
|  | ||||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||||
| of this software and associated documentation files (the "Software"), to deal | ||||
| in the Software without restriction, including without limitation the rights | ||||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||||
| copies of the Software, and to permit persons to whom the Software is | ||||
| furnished to do so, subject to the following conditions: | ||||
|  | ||||
| The above copyright notice and this permission notice shall be included in all | ||||
| copies or substantial portions of the Software. | ||||
|  | ||||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||||
| SOFTWARE. | ||||
							
								
								
									
										21
									
								
								config/yazi/flavors/tokyo-night.yazi/LICENSE-tmtheme
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								config/yazi/flavors/tokyo-night.yazi/LICENSE-tmtheme
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| MIT License | ||||
|  | ||||
| Copyright (c) 2022 Himanshu | ||||
|  | ||||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||||
| of this software and associated documentation files (the "Software"), to deal | ||||
| in the Software without restriction, including without limitation the rights | ||||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||||
| copies of the Software, and to permit persons to whom the Software is | ||||
| furnished to do so, subject to the following conditions: | ||||
|  | ||||
| The above copyright notice and this permission notice shall be included in all | ||||
| copies or substantial portions of the Software. | ||||
|  | ||||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||||
| SOFTWARE. | ||||
							
								
								
									
										37
									
								
								config/yazi/flavors/tokyo-night.yazi/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								config/yazi/flavors/tokyo-night.yazi/README.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,37 @@ | ||||
| <div align="center"> | ||||
|   <img src="https://github.com/sxyazi/yazi/blob/main/assets/logo.png?raw=true" alt="Yazi logo" width="20%"> | ||||
| </div> | ||||
|  | ||||
| <h3 align="center"> | ||||
| 	Tokyo Night Flavor for <a href="https://github.com/sxyazi/yazi">Yazi</a> | ||||
| </h3> | ||||
|  | ||||
| ## 👀 Preview | ||||
|  | ||||
| <img src="preview.png" width="600" /> | ||||
|  | ||||
| ## 🎨 Installation | ||||
|  | ||||
| ```bash | ||||
| # Linux/macOS | ||||
| git clone https://github.com/BennyOe/tokyo-night.yazi.git ~/.config/yazi/flavors/tokyo-night.yazi | ||||
|  | ||||
| # Windows | ||||
| git clone https://github.com/BennyOe/tokyo-night.yazi.git %AppData%\yazi\config\flavors\tokyo-night.yazi | ||||
| ``` | ||||
|  | ||||
| ## ⚙️ Usage | ||||
|  | ||||
| Add the these lines to your `theme.toml` configuration file to use it: | ||||
|  | ||||
|  | ||||
| ```toml | ||||
| [flavor] | ||||
| use = "tokyo-night" | ||||
| ``` | ||||
|  | ||||
| ## 📜 License | ||||
|  | ||||
| The flavor is MIT-licensed, and the included tmTheme is also MIT-licensed. | ||||
|  | ||||
| Check the [LICENSE](LICENSE) and [LICENSE-tmtheme](LICENSE-tmtheme) file for more details. | ||||
							
								
								
									
										167
									
								
								config/yazi/flavors/tokyo-night.yazi/flavor.toml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										167
									
								
								config/yazi/flavors/tokyo-night.yazi/flavor.toml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,167 @@ | ||||
| # : Manager {{{ | ||||
|  | ||||
| [manager] | ||||
| cwd = { fg = "#7aa2f7" }  # Blue | ||||
|  | ||||
| # Hovered | ||||
| hovered         = { reversed = true } | ||||
| preview_hovered = { underline = true } | ||||
|  | ||||
| # Find | ||||
| find_keyword  = { fg = "#f7768e", bold = true, italic = true, underline = true }  # Red | ||||
| find_position = { fg = "#bb9af7", bg = "reset", bold = true, italic = true }  # Magenta | ||||
|  | ||||
| # Marker | ||||
| marker_copied   = { fg = "#9ece6a", bg = "#9ece6a" }  # Green | ||||
| marker_cut      = { fg = "#e0af68", bg = "#f7768e" }  # Red | ||||
| marker_marked   = { fg = "#7aa2f7", bg = "#7dcfff" }  # Cyan | ||||
| marker_selected = { fg = "#e0af68", bg = "#e0af68" }  # Yellow | ||||
|  | ||||
| # Tab | ||||
| tab_active = { bg = "#282C34", fg = "#7aa2f7" }  # Darkened background, Blue text | ||||
| tab_inactive = {} | ||||
| tab_width    = 1 | ||||
|  | ||||
| # Count | ||||
| count_copied   = { fg = "#414868", bg = "#9ece6a" }  # Darkened black on Green | ||||
| count_cut      = { fg = "#414868", bg = "#e0af68" }  # Darkened black on Yellow | ||||
| count_selected = { fg = "#414868", bg = "#7aa2f7" }  # Darkened black on Blue | ||||
|  | ||||
| # Border | ||||
| border_symbol = "│" | ||||
| border_style  = { fg = "#414868" }  # Darkened black | ||||
|  | ||||
| # : }}} | ||||
|  | ||||
|  | ||||
| # : Status {{{ | ||||
|  | ||||
| [status] | ||||
| separator_open  = "" | ||||
| separator_close = "" | ||||
| separator_style = { fg = "#7aa2f7", bg = "#414868" }  # Blue on Darkened black | ||||
|  | ||||
| # Mode | ||||
| mode_normal = { fg = "#414868", bg = "#7aa2f7", bold = true }  # Darkened black on Blue | ||||
| mode_select = { fg = "#414868", bg = "#9ece6a", bold = true }  # Darkened black on Green | ||||
| mode_unset  = { fg = "#414868", bg = "#bb9af7", bold = true }  # Darkened black on Magenta | ||||
|  | ||||
| # Progress | ||||
| progress_label  = { fg = "#a9b1d6", bold = true }  # White | ||||
| progress_normal = { fg = "#7aa2f7", bg = "#414868" }  # Blue on Darkened black | ||||
| progress_error  = { fg = "#f7768e", bg = "#414868" }  # Red on Darkened black | ||||
|  | ||||
| # Permissions | ||||
| permissions_t = { fg = "#7aa2f7" }  # Blue | ||||
| permissions_r = { fg = "#9ece6a" }  # Green | ||||
| permissions_w = { fg = "#e0af68" }  # Yellow | ||||
| permissions_x = { fg = "#f7768e" }  # Red | ||||
| permissions_s = { fg = "#bb9af7" }  # Magenta | ||||
|  | ||||
| # : }}} | ||||
|  | ||||
|  | ||||
| # : Select {{{ | ||||
|  | ||||
| [select] | ||||
| border   = { fg = "#7aa2f7" }  # Blue | ||||
| active   = { fg = "#bb9af7", bold = true }  # Magenta | ||||
| inactive = {} | ||||
|  | ||||
| # : }}} | ||||
|  | ||||
|  | ||||
| # : Input {{{ | ||||
|  | ||||
| [input] | ||||
| border   = { fg = "#7aa2f7" }  # Blue | ||||
| title    = {} | ||||
| value    = {} | ||||
| selected = { reversed = true } | ||||
|  | ||||
| # : }}} | ||||
|  | ||||
|  | ||||
| # : Completion {{{ | ||||
|  | ||||
| [completion] | ||||
| border = { fg = "#7aa2f7" }  # Blue | ||||
|  | ||||
| # : }}} | ||||
|  | ||||
|  | ||||
| # : Tasks {{{ | ||||
|  | ||||
| [tasks] | ||||
| border  = { fg = "#7aa2f7" }  # Blue | ||||
| title   = {} | ||||
| hovered = { fg = "#bb9af7", underline = true }  # Magenta | ||||
|  | ||||
| # : }}} | ||||
| # : Which {{{ | ||||
|  | ||||
| [which] | ||||
| mask            = { bg = "#414868" }  # Darkened black | ||||
| cand            = { fg = "#9ece6a" }  # Green | ||||
| rest            = { fg = "#a9b1d6" }  # White | ||||
| desc            = { fg = "#bb9af7" }  # Magenta | ||||
| separator       = "  " | ||||
| separator_style = { fg = "#626880" }  # Darkened gray | ||||
|  | ||||
| # : }}} | ||||
|  | ||||
|  | ||||
| # : Help {{{ | ||||
|  | ||||
| [help] | ||||
| on      = { fg = "#9ece6a" }  # Green | ||||
| run     = { fg = "#bb9af7" }  # Magenta | ||||
| hovered = { reversed = true, bold = true } | ||||
| footer  = { fg = "#a9b1d6", bg = "#c6d0f5" }  # White on Light gray | ||||
|  | ||||
| # : }}} | ||||
|  | ||||
|  | ||||
| # : Notify {{{ | ||||
|  | ||||
| [notify] | ||||
| title_info  = { fg = "#9ece6a" }  # Green | ||||
| title_warn  = { fg = "#f7768e" }  # Red | ||||
| title_error = { fg = "#e0af68" }  # Yellow | ||||
|  | ||||
| # : }}} | ||||
|  | ||||
|  | ||||
| # : File-specific styles {{{ | ||||
|  | ||||
| [filetype] | ||||
|  | ||||
| rules = [ | ||||
| 	# Images | ||||
| 	{ mime = "image/*", fg = "#e0af68" },  # Yellow | ||||
|  | ||||
| 	# Media | ||||
| 	{ mime = "video/*", fg = "#f7768e" },  # Red | ||||
| 	{ mime = "audio/*", fg = "#f7768e" },  # Red | ||||
|  | ||||
| 	# Archives | ||||
| 	{ mime = "application/zip",             fg = "#bb9af7" },  # Magenta | ||||
| 	{ mime = "application/x-tar",           fg = "#bb9af7" },  # Magenta | ||||
| 	{ mime = "application/x-bzip*",         fg = "#bb9af7" },  # Magenta | ||||
| 	{ mime = "application/x-bzip2",         fg = "#bb9af7" },  # Magenta | ||||
| 	{ mime = "application/x-7z-compressed", fg = "#bb9af7" },  # Magenta | ||||
| 	{ mime = "application/x-rar",           fg = "#bb9af7" },  # Magenta | ||||
| 	{ mime = "application/x-xz",            fg = "#bb9af7" },  # Magenta | ||||
|  | ||||
| 	# Documents | ||||
| 	{ mime = "application/doc",   fg = "#9ece6a" },  # Green | ||||
| 	{ mime = "application/pdf",   fg = "#9ece6a" },  # Green | ||||
| 	{ mime = "application/rtf",   fg = "#9ece6a" },  # Green | ||||
| 	{ mime = "application/vnd.*", fg = "#9ece6a" },  # Green | ||||
|  | ||||
| 	# Fallback | ||||
| 	{ name = "*", fg = "#c6d0f5" },  # Light gray | ||||
| 	{ name = "*/", fg = "#7aa2f7" }  # Blue | ||||
| ] | ||||
|  | ||||
| # : }}} | ||||
							
								
								
									
										
											BIN
										
									
								
								config/yazi/flavors/tokyo-night.yazi/preview.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								config/yazi/flavors/tokyo-night.yazi/preview.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 712 KiB | 
							
								
								
									
										1329
									
								
								config/yazi/flavors/tokyo-night.yazi/tmtheme.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1329
									
								
								config/yazi/flavors/tokyo-night.yazi/tmtheme.xml
									
									
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue
	
	Block a user