diff --git a/.config/yazi/flavors/ashen.yazi/LICENSE b/.config/yazi/flavors/ashen.yazi/LICENSE new file mode 100644 index 00000000..8b40ed77 --- /dev/null +++ b/.config/yazi/flavors/ashen.yazi/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright © 2025 Daniel Fichtinger, GitHub contributors + +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. diff --git a/.config/yazi/flavors/ashen.yazi/LICENSE-tmtheme b/.config/yazi/flavors/ashen.yazi/LICENSE-tmtheme new file mode 100644 index 00000000..8b40ed77 --- /dev/null +++ b/.config/yazi/flavors/ashen.yazi/LICENSE-tmtheme @@ -0,0 +1,21 @@ +MIT License + +Copyright © 2025 Daniel Fichtinger, GitHub contributors + +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. diff --git a/.config/yazi/flavors/ashen.yazi/README.md b/.config/yazi/flavors/ashen.yazi/README.md new file mode 100644 index 00000000..f27d2a87 --- /dev/null +++ b/.config/yazi/flavors/ashen.yazi/README.md @@ -0,0 +1,31 @@ +## 👀 Preview + + + +## 🎨 Installation + +Please download the `ashen.yazi` folder and place it inside +`~/.config/yazi/flavors/`. + +## ⚙️ Usage + +To set it as your dark flavor, change the content of your `theme.toml` to: + +```toml +[flavor] +dark = "ashen" +``` + +Make sure your `theme.toml` doesn't contain anything other than `[flavor]`, +unless you want to override certain styles of this flavor. + +See the +[Yazi flavor documentation](https://yazi-rs.github.io/docs/flavors/overview) for +more details. + +## 📜 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. diff --git a/.config/yazi/flavors/ashen.yazi/flavor.toml b/.config/yazi/flavors/ashen.yazi/flavor.toml new file mode 100644 index 00000000..be087590 --- /dev/null +++ b/.config/yazi/flavors/ashen.yazi/flavor.toml @@ -0,0 +1,175 @@ +# vim:fileencoding=utf-8:foldmethod=marker + +# : Manager {{{ + +[manager] +cwd = { fg = "#D87C4A", bold = true } + +# Hovered +hovered = { reversed = true, bold = true } +preview_hovered = { underline = true } + +# Find +find_keyword = { fg = "#4A8B8B", bold = true, italic = true, underline = true } +find_position = { fg = "#4A8B8B", bg = "reset", bold = true, italic = true } + +# Marker +marker_copied = { fg = "#629C7D", bg = "#629C7D" } +marker_cut = { fg = "#C53030", bg = "#C53030" } +marker_marked = { fg = "#E5A72A", bg = "#E5A72A" } +marker_selected = { fg = "#C4693D", bg = "#C4693D" } + +# Tab +tab_active = { reversed = true } +tab_inactive = {} +tab_width = 1 + +# Count +count_copied = { fg = "#121212", bg = "#629C7D" } +count_cut = { fg = "#121212", bg = "#C53030" } +count_selected = { fg = "#121212", bg = "#C4693D" } + +# Border +border_symbol = "│" +border_style = { fg = "#a7a7a7" } + +# : }}} + + +# : Mode {{{ + +[mode] + +normal_main = { fg = "#121212", bg = "#b4b4b4", bold = true } +normal_alt = { fg = "#b4b4b4", bg = "#212121" } + +# Select mode +select_main = { fg = "#121212", bg = "#BD4C4C", bold = true } +select_alt = { fg = "#BD4C4C", bg = "#212121" } + +# Unset mode +unset_main = { fg = "#121212", bg = "#D87C4A", bold = true } +unset_alt = { fg = "#D87C4A", bg = "#212121" } + +# : }}} + + +# : Status bar {{{ + +[status] +separator_open = "" +separator_close = "" + +# Progress +progress_label = { fg = "#121212", bold = true } +progress_normal = { fg = "#C4693D", bg = "#323232" } +progress_error = { fg = "#C53030", bg = "#323232" } + +# Permissions +perm_sep = { fg = "#949494", bold = true } +perm_type = { fg = "#B14242" } +perm_read = { fg = "#d5d5d5", bold = true } +perm_write = { fg = "#C4693D", bold = true } +perm_exec = { fg = "#B14242", bold = true } + +# : }}} + + +# : Pick {{{ + +[pick] +border = { fg = "#C4693D" } +active = { fg = "#DF6464", bold = true } +inactive = {} + +# : }}} + + +# : Input {{{ + +[input] +border = { fg = "#B14242" } +title = {} +value = {} +selected = { reversed = true } + +# : }}} + + +# : Completion {{{ + +[completion] +border = { fg = "#B14242" } + +# : }}} + + +# : Tasks {{{ + +[tasks] +border = { fg = "#C4693D" } +title = {} +hovered = { fg = "#d5d5d5", underline = true } + +# : }}} + + +# : Which {{{ + +[which] +mask = { bg = "#212121" } +cand = { fg = "#E49A44" } +rest = { fg = "#b4b4b4" } +# desc = { fg = "#DF6464", bold = true } +desc = { fg = "#DF6464" } +separator = "  " +separator_style = { fg = "#B14242" } + +# : }}} + + +# : Help {{{ + +[help] +on = { fg = "#D87C4A" } +run = { fg = "#DF6464" } +desc = { fg = "#d5d5d5" } +hovered = { reversed = true, bold = true } +footer = { fg = "#e5e5e5", bg = "#121212" } + +# : }}} + + +# : Notify {{{ + +[notify] +title_info = { fg = "#d5d5d5" } +title_warn = { fg = "#E5A72A" } +title_error = { fg = "#C53030" } + +# : }}} + + +# : File-specific styles {{{ + +[filetype] + +rules = [ + # Images + { mime = "image/*", fg = "#E49A44" }, + + # Media + { mime = "{audio,video}/*", fg = "#D87C4A" }, + + # Archives + { mime = "application/{zip,rar,7z*,tar,gzip,xz,zstd,bzip*,lzma,compress,archive,cpio,arj,xar,ms-cab*}", fg = "#DF6464" }, + + # Documents + { mime = "application/{pdf,doc,rtf}", fg = "#C4693D" }, + + # Fallback + { name = "*", fg = "#d5d5d5" }, + { name = "*/", fg = "#B14242" }, +] + +# : }}} diff --git a/.config/yazi/flavors/ashen.yazi/preview.png b/.config/yazi/flavors/ashen.yazi/preview.png new file mode 100644 index 00000000..e37161d2 Binary files /dev/null and b/.config/yazi/flavors/ashen.yazi/preview.png differ diff --git a/.config/yazi/flavors/ashen.yazi/tmtheme.xml b/.config/yazi/flavors/ashen.yazi/tmtheme.xml new file mode 100644 index 00000000..4b902a7d --- /dev/null +++ b/.config/yazi/flavors/ashen.yazi/tmtheme.xml @@ -0,0 +1,345 @@ + + + + + + + + + + name + Ashen + settings + + + settings + + background + #121212 + caret + #f8f8f0 + foreground + #B4B4B4 + invisibles + #3B3A32 + lineHighlight + #353535 + selection + #323232 + findHighlight + #D87C4A + findHighlightForeground + #121212 + selectionBorder + #222218 + activeGuide + #D87C4A + bracketsForeground + #F8F8F2A5 + bracketsOptions + underline + bracketContentsForeground + #F8F8F2A5 + bracketContentsOptions + underline + tagsOptions + stippled_underline + + + + name + Comment + scope + comment + settings + + foreground + #737373 + fontStyle + + + + + name + String + scope + string + settings + + foreground + #DF6464 + + + + name + Number + scope + constant.numeric + settings + + foreground + #4A8B8B + + + + name + Built-in constant + scope + constant.language + settings + + foreground + #4A8B8B + + + + name + User-defined constant + scope + constant.character, constant.other + settings + + foreground + #C4693D + + + + name + Variable + scope + variable + settings + + fontStyle + + foreground + #B4B4B4 + + + + name + String interpolation + scope + constant.character.escaped, constant.character.escape, string source, string source.ruby + settings + + fontStyle + + foreground + #DF6464 + + + + name + Keyword + scope + keyword + settings + + foreground + #B14242 + + + + name + Storage + scope + storage + settings + + fontStyle + + foreground + #D5D5D5 + + + + name + Storage type + scope + storage.type + settings + + fontStyle + italic + foreground + #B14242 + + + + name + Class name + scope + entity.name.class, +variable.other.block.ruby, +punctuation.separator.variable.ruby + settings + + foreground + #D5D5D5 + + + + name + Inherited class + scope + entity.other.inherited-class + settings + + foreground + #D5D5D5 + + + + name + Function name + scope + entity.name.function + settings + + fontStyle + + foreground + #D5D5D5 + + + + name + Function argument + scope + variable.parameter + settings + + fontStyle + italic + foreground + #D5D5D5 + + + + name + Tag name + scope + entity.name.tag + settings + + fontStyle + + foreground + #737373 + + + + name + Tag attribute + scope + entity.other.attribute-name + settings + + fontStyle + + foreground + #A7A7A7 + + + + name + Library function + scope + support.function + settings + + fontStyle + + foreground + #D5D5D5 + + + + name + Library constant + scope + support.constant + settings + + fontStyle + + foreground + #C4693D + + + + name + Library class/type + scope + support.type, support.class + settings + + fontStyle + italic + foreground + #D5D5D5 + + + + name + Library variable + scope + support.other.variable + settings + + fontStyle + + + + + scope + entity.name.filename + settings + + foreground + #E6DB74 + + + + scope + message.error + settings + + foreground + #F83333 + + + + name + Operator + scope + keyword.operator + settings + + foreground + #D87C4A + + + + name + Keyword operator + scope + keyword.operator + settings + + foreground + #C4693D + + + + uuid + 83091B89-765E-4F0D-9275-0EC6CB084126 + colorSpaceName + sRGB + semanticClass + theme.dark.bj_darcula + author + Bernat Jufré + + diff --git a/.config/yazi/package.toml b/.config/yazi/package.toml new file mode 100644 index 00000000..8e36c3a4 --- /dev/null +++ b/.config/yazi/package.toml @@ -0,0 +1,7 @@ +[plugin] +deps = [] + +[[flavor.deps]] +use = "ashen-org/ashen" +rev = "9b74f4c" +hash = "dd7112a30425b077d45359e1cad20759"