refactoring
This commit is contained in:
parent
74ae1150a3
commit
69400c1aa3
142 changed files with 11 additions and 70 deletions
21
modules/home/yazi/flavors/ayu-dark.yazi/LICENSE
Executable file
21
modules/home/yazi/flavors/ayu-dark.yazi/LICENSE
Executable file
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2024 Kamal Chandra Upreti
|
||||
|
||||
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
modules/home/yazi/flavors/ayu-dark.yazi/LICENSE-tmtheme
Executable file
21
modules/home/yazi/flavors/ayu-dark.yazi/LICENSE-tmtheme
Executable file
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2016 Ike Ku
|
||||
|
||||
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.
|
32
modules/home/yazi/flavors/ayu-dark.yazi/README.md
Normal file
32
modules/home/yazi/flavors/ayu-dark.yazi/README.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
<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">
|
||||
Ayu Dark Flavor for <a href="https://github.com/sxyazi/yazi">Yazi</a>
|
||||
</h3>
|
||||
|
||||
## 👀 Preview
|
||||
|
||||
<img src="preview.png" width="600" />
|
||||
|
||||
## 🎨 Installation
|
||||
|
||||
```bash
|
||||
ya pack -a kmlupreti/ayu-dark
|
||||
```
|
||||
|
||||
## ⚙️ Usage
|
||||
|
||||
Add the these lines to your `theme.toml` configuration file to use it:
|
||||
|
||||
```toml
|
||||
[flavor]
|
||||
use = "ayu-dark"
|
||||
```
|
||||
|
||||
## 📜 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.
|
129
modules/home/yazi/flavors/ayu-dark.yazi/flavor.toml
Executable file
129
modules/home/yazi/flavors/ayu-dark.yazi/flavor.toml
Executable file
|
@ -0,0 +1,129 @@
|
|||
[manager]
|
||||
cwd = { fg = "#5c6773" }
|
||||
|
||||
# tab
|
||||
tab_active = { fg = "#0a0e14", bg = "#c2a05c", bold = true }
|
||||
tab_inactive = { fg = "#5c6773", bg = "#0a0e14" }
|
||||
tab_width = 1
|
||||
|
||||
# find
|
||||
find_keyword = { fg = "#1f6f88", bold = true, italic = true, underline = true }
|
||||
find_position = { fg = "#1f6f88", bold = true, italic = true }
|
||||
|
||||
# marker
|
||||
marker_copied = { fg = "#0a0e14", bg = "#7e9350" }
|
||||
marker_cut = { fg = "#0a0e14", bg = "#a85361" }
|
||||
marker_marked = { fg = "#0a0e14", bg = "#1f6f88" }
|
||||
marker_selected = { fg = "#0a0e14", bg = "#c2a05c" }
|
||||
|
||||
# count
|
||||
count_copied = { fg = "#0a0e14", bg = "#7e9350" }
|
||||
count_cut = { fg = "#5c6773", bg = "#a85361" }
|
||||
count_selected = { fg = "#0a0e14", bg = "#c2a05c" }
|
||||
|
||||
# border
|
||||
border_symbol = " "
|
||||
|
||||
[mode]
|
||||
normal_main = { fg = "#0a0e14", bg = "#c2a05c", bold = true }
|
||||
normal_alt = { fg = "#1f6f88", bg = "#2d3640", bold = true }
|
||||
|
||||
select_main = { fg = "#0a0e14", bg = "#1f6f88", bold = true }
|
||||
select_alt = { fg = "#0a0e14", bg = "#1f6f88", bold = true }
|
||||
|
||||
unset_main = { fg = "#0a0e14", bg = "#a85361", bold = true }
|
||||
unset_alt = { fg = "#0a0e14", bg = "#a85361", bold = true }
|
||||
|
||||
|
||||
[status]
|
||||
separator_open = ""
|
||||
separator_close = ""
|
||||
separator_style = { bg = "#2d3640", fg = "#c2a05c" }
|
||||
|
||||
# Progress
|
||||
progress_label = { fg = "#c2a05c", bold = true }
|
||||
progress_normal = { fg = "#c2a05c", bg = "#0a0e14" }
|
||||
progress_error = { fg = "#a85361", bg = "#0a0e14" }
|
||||
|
||||
# permissions
|
||||
perm_type = { fg = "#c2c2c2" }
|
||||
perm_write = { fg = "#a85361" }
|
||||
perm_exec = { fg = "#7e9350" }
|
||||
perm_read = { fg = "#1f6f88" }
|
||||
perm_sep = { fg = "#5c6773" }
|
||||
|
||||
[select]
|
||||
border = { fg = "#c2a05c" }
|
||||
active = { fg = "#a85361", bold = true }
|
||||
inactive = { fg = "#5c6773", bg = "#0a0e14" }
|
||||
|
||||
[input]
|
||||
border = { fg = "#c2a05c" }
|
||||
value = { fg = "#5c6773" }
|
||||
|
||||
[completion]
|
||||
border = { fg = "#c2a05c", bg = "#0a0e14" }
|
||||
|
||||
[tasks]
|
||||
border = { fg = "#c2a05c" }
|
||||
title = { fg = "#5c6773" }
|
||||
hovered = { fg = "#7e9350", underline = true }
|
||||
|
||||
[which]
|
||||
cols = 3
|
||||
mask = { bg = "#0a0e14" }
|
||||
cand = { fg = "#c2a05c" }
|
||||
rest = { fg = "#0a0e14" }
|
||||
desc = { fg = "#5c6773" }
|
||||
separator = " ⯈ "
|
||||
separator_style = { fg = "#5c6773" }
|
||||
|
||||
[help]
|
||||
on = { fg = "#c2a05c" }
|
||||
run = { fg = "#7e9350" }
|
||||
footer = { fg = "#0a0e14", bg = "#5c6773" }
|
||||
|
||||
[notify]
|
||||
title_info = { fg = "#7e9350" }
|
||||
title_warn = { fg = "#c2a05c" }
|
||||
title_error = { fg = "#a85361" }
|
||||
|
||||
[filetype]
|
||||
rules = [
|
||||
# directories
|
||||
{ name = "*/", fg = "#1f6f88" },
|
||||
|
||||
# executables
|
||||
{ name = "*", is = "exec", fg = "#7e9350" },
|
||||
|
||||
# images
|
||||
{ mime = "image/*", fg = "#c2a05c" },
|
||||
|
||||
# media
|
||||
{ mime = "{audio,video}/*", fg = "#7e9350" },
|
||||
|
||||
# archives
|
||||
{ mime = "application/{,g}zip", fg = "#a85361" },
|
||||
{ mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", fg = "#a85361" },
|
||||
|
||||
# documents
|
||||
{ mime = "application/{pdf,doc,rtf,vnd.*}", fg = "#1f6f88" },
|
||||
|
||||
# scripts and code
|
||||
{ mime = "application/{x-shellscript,x-python,x-ruby,x-javascript}", fg = "#c2a05c" },
|
||||
{ mime = "text/x-{c,c++}", fg = "#1f6f88" },
|
||||
|
||||
# config files
|
||||
{ name = "*.json", fg = "#c2a05c" },
|
||||
{ name = "*.yml", fg = "#1f6f88" },
|
||||
{ name = "*.toml", fg = "#9464b6" },
|
||||
|
||||
# special files
|
||||
{ name = "*", is = "orphan", bg = "#0a0e14" },
|
||||
|
||||
# dummy files
|
||||
{ name = "*", is = "dummy", bg = "#0a0e14" },
|
||||
|
||||
# fallback
|
||||
{ name = "*/", fg = "#1f6f88" },
|
||||
]
|
BIN
modules/home/yazi/flavors/ayu-dark.yazi/preview.png
Normal file
BIN
modules/home/yazi/flavors/ayu-dark.yazi/preview.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 534 KiB |
1025
modules/home/yazi/flavors/ayu-dark.yazi/tmtheme.xml
Executable file
1025
modules/home/yazi/flavors/ayu-dark.yazi/tmtheme.xml
Executable file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue