Skip to content

Commit

Permalink
refactor: remove v0.3 compatibility code, closes #33
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Dec 26, 2024
1 parent 8458d25 commit fc8eeaa
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 105 deletions.
22 changes: 1 addition & 21 deletions catppuccin-frappe.yazi/flavor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,6 @@ perm_read = { fg = "#e5c890" }
perm_write = { fg = "#e78284" }
perm_exec = { fg = "#a6d189" }

# TODO: -- remove these once Yazi 0.4 gets released
separator_style = { fg = "#414559", bg = "#414559" }
mode_normal = { fg = "#303446", bg = "#8caaee", bold = true }
mode_select = { fg = "#303446", bg = "#a6d189", bold = true }
mode_unset = { fg = "#303446", bg = "#eebebe", bold = true }
permissions_t = { fg = "#8caaee" }
permissions_r = { fg = "#e5c890" }
permissions_w = { fg = "#e78284" }
permissions_x = { fg = "#a6d189" }
permissions_s = { fg = "#838ba7" }
# TODO: remove these once Yazi 0.4 gets released --

# : }}}


Expand All @@ -94,13 +82,6 @@ border = { fg = "#8caaee" }
active = { fg = "#f4b8e4", bold = true }
inactive = {}

# TODO: -- remove these once Yazi 0.4 gets released
[select]
border = { fg = "#8caaee" }
active = { fg = "#f4b8e4", bold = true }
inactive = {}
# TODO: remove these once Yazi 0.4 gets released --

# : }}}


Expand Down Expand Up @@ -179,8 +160,7 @@ rules = [
{ mime = "{audio,video}/*", fg = "#e5c890" },

# Archives
{ mime = "application/*zip", fg = "#f4b8e4" },
{ mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", fg = "#f4b8e4" },
{ mime = "application/{zip,rar,7z*,tar,gzip,xz,zstd,bzip*,lzma,compress,archive,cpio,arj,xar,ms-cab*}", fg = "#f4b8e4" },

# Documents
{ mime = "application/{pdf,doc,rtf}", fg = "#a6d189" },
Expand Down
22 changes: 1 addition & 21 deletions catppuccin-latte.yazi/flavor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,6 @@ perm_read = { fg = "#df8e1d" }
perm_write = { fg = "#d20f39" }
perm_exec = { fg = "#40a02b" }

# TODO: -- remove these once Yazi 0.4 gets released
separator_style = { fg = "#ccd0da", bg = "#ccd0da" }
mode_normal = { fg = "#eff1f5", bg = "#1e66f5", bold = true }
mode_select = { fg = "#eff1f5", bg = "#40a02b", bold = true }
mode_unset = { fg = "#eff1f5", bg = "#dd7878", bold = true }
permissions_t = { fg = "#1e66f5" }
permissions_r = { fg = "#df8e1d" }
permissions_w = { fg = "#d20f39" }
permissions_x = { fg = "#40a02b" }
permissions_s = { fg = "#8c8fa1" }
# TODO: remove these once Yazi 0.4 gets released --

# : }}}


Expand All @@ -94,13 +82,6 @@ border = { fg = "#1e66f5" }
active = { fg = "#ea76cb", bold = true }
inactive = {}

# TODO: -- remove these once Yazi 0.4 gets released
[select]
border = { fg = "#1e66f5" }
active = { fg = "#ea76cb", bold = true }
inactive = {}
# TODO: remove these once Yazi 0.4 gets released --

# : }}}


Expand Down Expand Up @@ -179,8 +160,7 @@ rules = [
{ mime = "{audio,video}/*", fg = "#df8e1d" },

# Archives
{ mime = "application/*zip", fg = "#ea76cb" },
{ mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", fg = "#ea76cb" },
{ mime = "application/{zip,rar,7z*,tar,gzip,xz,zstd,bzip*,lzma,compress,archive,cpio,arj,xar,ms-cab*}", fg = "#ea76cb" },

# Documents
{ mime = "application/{pdf,doc,rtf}", fg = "#40a02b" },
Expand Down
22 changes: 1 addition & 21 deletions catppuccin-macchiato.yazi/flavor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,6 @@ perm_read = { fg = "#eed49f" }
perm_write = { fg = "#ed8796" }
perm_exec = { fg = "#a6da95" }

# TODO: -- remove these once Yazi 0.4 gets released
separator_style = { fg = "#363a4f", bg = "#363a4f" }
mode_normal = { fg = "#24273a", bg = "#8aadf4", bold = true }
mode_select = { fg = "#24273a", bg = "#a6da95", bold = true }
mode_unset = { fg = "#24273a", bg = "#f0c6c6", bold = true }
permissions_t = { fg = "#8aadf4" }
permissions_r = { fg = "#eed49f" }
permissions_w = { fg = "#ed8796" }
permissions_x = { fg = "#a6da95" }
permissions_s = { fg = "#8087a2" }
# TODO: remove these once Yazi 0.4 gets released --

# : }}}


Expand All @@ -94,13 +82,6 @@ border = { fg = "#8aadf4" }
active = { fg = "#f5bde6", bold = true }
inactive = {}

# TODO: -- remove these once Yazi 0.4 gets released
[select]
border = { fg = "#8aadf4" }
active = { fg = "#f5bde6", bold = true }
inactive = {}
# TODO: remove these once Yazi 0.4 gets released --

# : }}}


Expand Down Expand Up @@ -179,8 +160,7 @@ rules = [
{ mime = "{audio,video}/*", fg = "#eed49f" },

# Archives
{ mime = "application/*zip", fg = "#f5bde6" },
{ mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", fg = "#f5bde6" },
{ mime = "application/{zip,rar,7z*,tar,gzip,xz,zstd,bzip*,lzma,compress,archive,cpio,arj,xar,ms-cab*}", fg = "#f5bde6" },

# Documents
{ mime = "application/{pdf,doc,rtf}", fg = "#a6da95" },
Expand Down
22 changes: 1 addition & 21 deletions catppuccin-mocha.yazi/flavor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,6 @@ perm_read = { fg = "#f9e2af" }
perm_write = { fg = "#f38ba8" }
perm_exec = { fg = "#a6e3a1" }

# TODO: -- remove these once Yazi 0.4 gets released
separator_style = { fg = "#313244", bg = "#313244" }
mode_normal = { fg = "#1e1e2e", bg = "#89b4fa", bold = true }
mode_select = { fg = "#1e1e2e", bg = "#a6e3a1", bold = true }
mode_unset = { fg = "#1e1e2e", bg = "#f2cdcd", bold = true }
permissions_t = { fg = "#89b4fa" }
permissions_r = { fg = "#f9e2af" }
permissions_w = { fg = "#f38ba8" }
permissions_x = { fg = "#a6e3a1" }
permissions_s = { fg = "#7f849c" }
# TODO: remove these once Yazi 0.4 gets released --

# : }}}


Expand All @@ -94,13 +82,6 @@ border = { fg = "#89b4fa" }
active = { fg = "#f5c2e7", bold = true }
inactive = {}

# TODO: -- remove these once Yazi 0.4 gets released
[select]
border = { fg = "#89b4fa" }
active = { fg = "#f5c2e7", bold = true }
inactive = {}
# TODO: remove these once Yazi 0.4 gets released --

# : }}}


Expand Down Expand Up @@ -179,8 +160,7 @@ rules = [
{ mime = "{audio,video}/*", fg = "#f9e2af" },

# Archives
{ mime = "application/*zip", fg = "#f5c2e7" },
{ mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", fg = "#f5c2e7" },
{ mime = "application/{zip,rar,7z*,tar,gzip,xz,zstd,bzip*,lzma,compress,archive,cpio,arj,xar,ms-cab*}", fg = "#f5c2e7" },

# Documents
{ mime = "application/{pdf,doc,rtf}", fg = "#a6e3a1" },
Expand Down
22 changes: 1 addition & 21 deletions scripts/catppuccin/template.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,6 @@ perm_read = { fg = "{{ yellow }}" }
perm_write = { fg = "{{ red }}" }
perm_exec = { fg = "{{ green }}" }

# TODO: -- remove these once Yazi 0.4 gets released
separator_style = { fg = "{{ surface0 }}", bg = "{{ surface0 }}" }
mode_normal = { fg = "{{ base }}", bg = "{{ blue }}", bold = true }
mode_select = { fg = "{{ base }}", bg = "{{ green }}", bold = true }
mode_unset = { fg = "{{ base }}", bg = "{{ flamingo }}", bold = true }
permissions_t = { fg = "{{ blue }}" }
permissions_r = { fg = "{{ yellow }}" }
permissions_w = { fg = "{{ red }}" }
permissions_x = { fg = "{{ green }}" }
permissions_s = { fg = "{{ overlay1 }}" }
# TODO: remove these once Yazi 0.4 gets released --

# : }}}


Expand All @@ -94,13 +82,6 @@ border = { fg = "{{ blue }}" }
active = { fg = "{{ pink }}", bold = true }
inactive = {}

# TODO: -- remove these once Yazi 0.4 gets released
[select]
border = { fg = "{{ blue }}" }
active = { fg = "{{ pink }}", bold = true }
inactive = {}
# TODO: remove these once Yazi 0.4 gets released --

# : }}}


Expand Down Expand Up @@ -179,8 +160,7 @@ rules = [
{ mime = "{audio,video}/*", fg = "{{ yellow }}" },

# Archives
{ mime = "application/*zip", fg = "{{ pink }}" },
{ mime = "application/x-{tar,bzip*,7z-compressed,xz,rar}", fg = "{{ pink }}" },
{ mime = "application/{zip,rar,7z*,tar,gzip,xz,zstd,bzip*,lzma,compress,archive,cpio,arj,xar,ms-cab*}", fg = "{{ pink }}" },

# Documents
{ mime = "application/{pdf,doc,rtf}", fg = "{{ green }}" },
Expand Down

0 comments on commit fc8eeaa

Please sign in to comment.