refactor: implement component-based architecture for enhanced maintainability
- Reorganize directory structure into core/, features/, and themes/ - Colocate application Nix logic, configs, scripts, and theme overrides - Implement 'Inversion of Control' for theming: apps now pull theme-specific layouts - Update flake.nix and shared library paths to match the new structure - Document the new Feature-Centric architecture in README.md
This commit is contained in:
82
themes/palettes/ristretto/apps/btop.theme
Normal file
82
themes/palettes/ristretto/apps/btop.theme
Normal file
@@ -0,0 +1,82 @@
|
||||
#Btop monokai pro ristretto theme
|
||||
#Reconfigured from monokai theme
|
||||
|
||||
# Main background, empty for terminal default, need to be empty if you want transparent background
|
||||
theme[main_bg]="#2c2421"
|
||||
|
||||
# Main text color
|
||||
theme[main_fg]="#e6d9db"
|
||||
|
||||
# Title color for boxes
|
||||
theme[title]="#e6d9db"
|
||||
|
||||
# Highlight color for keyboard shortcuts
|
||||
theme[hi_fg]="#fd6883"
|
||||
|
||||
# Background color of selected item in processes box
|
||||
theme[selected_bg]="#3d2f2a"
|
||||
|
||||
# Foreground color of selected item in processes box
|
||||
theme[selected_fg]="#e6d9db"
|
||||
|
||||
# Color of inactive/disabled text
|
||||
theme[inactive_fg]="#72696a"
|
||||
|
||||
# Misc colors for processes box including mini cpu graphs, details memory graph and details status text
|
||||
theme[proc_misc]="#adda78"
|
||||
|
||||
# Cpu box outline color
|
||||
theme[cpu_box]="#5b4a45"
|
||||
|
||||
# Memory/disks box outline color
|
||||
theme[mem_box]="#5b4a45"
|
||||
|
||||
# Net up/down box outline color
|
||||
theme[net_box]="#5b4a45"
|
||||
|
||||
# Processes box outline color
|
||||
theme[proc_box]="#5b4a45"
|
||||
|
||||
# Box divider line and small boxes line color
|
||||
theme[div_line]="#72696a"
|
||||
|
||||
# Temperature graph colors
|
||||
theme[temp_start]="#a8a9eb"
|
||||
theme[temp_mid]="#f38d70"
|
||||
theme[temp_end]="#fd6a85"
|
||||
|
||||
# CPU graph colors
|
||||
theme[cpu_start]="#adda78"
|
||||
theme[cpu_mid]="#f9cc6c"
|
||||
theme[cpu_end]="#fd6883"
|
||||
|
||||
# Mem/Disk free meter
|
||||
theme[free_start]="#5b4a45"
|
||||
theme[free_mid]="#adda78"
|
||||
theme[free_end]="#c5e2a3"
|
||||
|
||||
# Mem/Disk cached meter
|
||||
theme[cached_start]="#5b4a45"
|
||||
theme[cached_mid]="#85dacc"
|
||||
theme[cached_end]="#b3e8dd"
|
||||
|
||||
# Mem/Disk available meter
|
||||
theme[available_start]="#5b4a45"
|
||||
theme[available_mid]="#f9cc6c"
|
||||
theme[available_end]="#fce2a3"
|
||||
|
||||
# Mem/Disk used meter
|
||||
theme[used_start]="#5b4a45"
|
||||
theme[used_mid]="#fd6a85"
|
||||
theme[used_end]="#feb5c7"
|
||||
|
||||
# Download graph colors
|
||||
theme[download_start]="#3d2f2a"
|
||||
theme[download_mid]="#a8a9eb"
|
||||
theme[download_end]="#c5c6f0"
|
||||
|
||||
# Upload graph colors
|
||||
theme[upload_start]="#3d2f2a"
|
||||
theme[upload_mid]="#fd6a85"
|
||||
theme[upload_end]="#feb5c7"
|
||||
|
||||
31
themes/palettes/ristretto/apps/neovim.lua
Normal file
31
themes/palettes/ristretto/apps/neovim.lua
Normal file
@@ -0,0 +1,31 @@
|
||||
return {
|
||||
{
|
||||
"gthelding/monokai-pro.nvim",
|
||||
config = function()
|
||||
require("monokai-pro").setup({
|
||||
filter = "ristretto",
|
||||
override = function()
|
||||
return {
|
||||
NonText = { fg = "#948a8b" },
|
||||
MiniIconsGrey = { fg = "#948a8b" },
|
||||
MiniIconsRed = { fg = "#fd6883" },
|
||||
MiniIconsBlue = { fg = "#85dacc" },
|
||||
MiniIconsGreen = { fg = "#adda78" },
|
||||
MiniIconsYellow = { fg = "#f9cc6c" },
|
||||
MiniIconsOrange = { fg = "#f38d70" },
|
||||
MiniIconsPurple = { fg = "#a8a9eb" },
|
||||
MiniIconsAzure = { fg = "#a8a9eb" },
|
||||
MiniIconsCyan = { fg = "#85dacc" }, -- same value as MiniIconsBlue for consistency
|
||||
}
|
||||
end,
|
||||
})
|
||||
vim.cmd([[colorscheme monokai-pro]])
|
||||
end,
|
||||
},
|
||||
{
|
||||
"LazyVim/LazyVim",
|
||||
opts = {
|
||||
colorscheme = "monokai-pro",
|
||||
},
|
||||
},
|
||||
}
|
||||
4
themes/palettes/ristretto/apps/vscode.json
Normal file
4
themes/palettes/ristretto/apps/vscode.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "Monokai Pro (Filter Ristretto)",
|
||||
"extension": "monokai.theme-monokai-pro-vscode"
|
||||
}
|
||||
BIN
themes/palettes/ristretto/backgrounds/1-color-curves.jpg
Normal file
BIN
themes/palettes/ristretto/backgrounds/1-color-curves.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 205 KiB |
BIN
themes/palettes/ristretto/backgrounds/2-coffee-beans.jpg
Normal file
BIN
themes/palettes/ristretto/backgrounds/2-coffee-beans.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 MiB |
BIN
themes/palettes/ristretto/backgrounds/3-industrial-moon.jpg
Normal file
BIN
themes/palettes/ristretto/backgrounds/3-industrial-moon.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 798 KiB |
23
themes/palettes/ristretto/colors.toml
Normal file
23
themes/palettes/ristretto/colors.toml
Normal file
@@ -0,0 +1,23 @@
|
||||
accent = "#f38d70"
|
||||
cursor = "#c3b7b8"
|
||||
foreground = "#e6d9db"
|
||||
background = "#2c2525"
|
||||
selection_foreground = "#e6d9db"
|
||||
selection_background = "#403e41"
|
||||
|
||||
color0 = "#72696a"
|
||||
color1 = "#fd6883"
|
||||
color2 = "#adda78"
|
||||
color3 = "#f9cc6c"
|
||||
color4 = "#f38d70"
|
||||
color5 = "#a8a9eb"
|
||||
color6 = "#85dacc"
|
||||
color7 = "#e6d9db"
|
||||
color8 = "#948a8b"
|
||||
color9 = "#ff8297"
|
||||
color10 = "#c8e292"
|
||||
color11 = "#fcd675"
|
||||
color12 = "#f8a788"
|
||||
color13 = "#bebffd"
|
||||
color14 = "#9bf1e1"
|
||||
color15 = "#f1e5e7"
|
||||
1
themes/palettes/ristretto/icons.theme
Normal file
1
themes/palettes/ristretto/icons.theme
Normal file
@@ -0,0 +1 @@
|
||||
Yaru-yellow
|
||||
BIN
themes/palettes/ristretto/preview.png
Normal file
BIN
themes/palettes/ristretto/preview.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 303 KiB |
Reference in New Issue
Block a user