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:
Bernardo Magri
2026-04-12 14:51:15 +01:00
parent a9ee79a5ce
commit bbdf34ced8
535 changed files with 119 additions and 127 deletions

View File

@@ -0,0 +1,63 @@
# Main background, empty for terminal default, need to be empty if you want transparent background
theme[main_bg]=""
# Main text color
theme[main_fg]="#f6dcac"
# Title color for boxes
theme[title]="#3f8f8a"
# Highlight color for keyboard shortcuts
theme[hi_fg]="#8cbfb8"
# Background color of selected item in processes box
theme[selected_bg]="#134e5a"
# Foreground color of selected item in processes box
theme[selected_fg]="#f6dcac"
# Color of inactive/disabled text
theme[inactive_fg]="#134e5a"
# Misc colors for processes box including mini cpu graphs, details memory graph and details status text
theme[proc_misc]="#3f8f8a"
# Box outline and divider line color
theme[cpu_box]="#e97b3c"
theme[mem_box]="#e97b3c"
theme[net_box]="#e97b3c"
theme[proc_box]="#e97b3c"
theme[div_line]="#134e5a"
# Gradient for all meters and graphs
theme[temp_start]="#a7c9c6"
theme[temp_mid]="#8cbfb8"
theme[temp_end]="#028391"
theme[cpu_start]="#a7c9c6"
theme[cpu_mid]="#e97b3c"
theme[cpu_end]="#f85525"
theme[free_start]="#faa968"
theme[free_mid]="#e97b3c"
theme[free_end]="#f85525"
theme[cached_start]="#faa968"
theme[cached_mid]="#e97b3c"
theme[cached_end]="#f85525"
theme[available_start]="#faa968"
theme[available_mid]="#e97b3c"
theme[available_end]="#f85525"
theme[used_start]="#faa968"
theme[used_mid]="#e97b3c"
theme[used_end]="#f85525"
theme[download_start]="#faa968"
theme[download_mid]="#e97b3c"
theme[download_end]="#f85525"
theme[upload_start]="#faa968"
theme[upload_mid]="#e97b3c"
theme[upload_end]="#f85525"

View File

@@ -0,0 +1 @@
0,23,46

View File

@@ -0,0 +1,13 @@
return {
{
"OldJobobo/retro-82.nvim",
name = "retro-82",
priority = 1000,
},
{
"LazyVim/LazyVim",
opts = {
colorscheme = "retro-82",
},
},
}

View File

@@ -0,0 +1,5 @@
@define-color background-color #00172e;
@define-color border-color #134e5a;
@define-color label #f6dcac;
@define-color image #f6dcac;
@define-color progress #e97b3c;

View File

@@ -0,0 +1,4 @@
{
"name": "Retro '82",
"extension": "oldjobobo.retro-82-theme"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 889 KiB

View File

@@ -0,0 +1,35 @@
# Accent and UI colors
accent = "#faa968"
active_border_color = "#faa968"
active_tab_background = "#faa968"
# Cursor colors
cursor = "#f6dcac"
# Primary colors
foreground = "#f6dcac"
background = "#05182e"
# Selection colors
selection_foreground = "#00172e"
selection_background = "#faa968"
# Normal colors (ANSI 0-7)
color0 = "#00172e"
color1 = "#f85525"
color2 = "#028391"
color3 = "#e97b3c"
color4 = "#faa968"
color5 = "#3f8f8a"
color6 = "#8cbfb8"
color7 = "#a7c9c6"
# Bright colors (ANSI 8-15)
color8 = "#134e5a"
color9 = "#f85525"
color10 = "#028391"
color11 = "#e97b3c"
color12 = "#faa968"
color13 = "#3f8f8a"
color14 = "#8cbfb8"
color15 = "#f6dcac"

View File

@@ -0,0 +1 @@
Yaru-wartybrown

Binary file not shown.

After

Width:  |  Height:  |  Size: 363 KiB