feat(theme): implement declarative Stylix-driven theming for Walker
All checks were successful
Check / eval-and-lint (push) Successful in 6m58s
All checks were successful
Check / eval-and-lint (push) Successful in 6m58s
This commit is contained in:
@@ -106,21 +106,44 @@ in
|
||||
source = themeAppsPath + "/rofi.rasi";
|
||||
};
|
||||
|
||||
# Walker fallback support
|
||||
xdg.configFile."nomarchy/current/theme/apps/walker/style.css" = lib.mkIf (!builtins.pathExists (themeAppsPath + "/walker/style.css")) {
|
||||
text = ''
|
||||
* {
|
||||
color: #${palette.base05};
|
||||
}
|
||||
#window {
|
||||
# Dynamically generated CSS for Walker app launcher
|
||||
xdg.configFile."nomarchy/current/theme/apps/walker/style.css".text = ''
|
||||
#window {
|
||||
background-color: #${palette.base00};
|
||||
}
|
||||
.item.active {
|
||||
background-color: #${palette.base03};
|
||||
color: #${palette.base0B};
|
||||
}
|
||||
'';
|
||||
};
|
||||
color: #${palette.base05};
|
||||
border-bottom: 5px solid #${palette.base0D}; /* Accent */
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
#search {
|
||||
background-color: #${palette.base01};
|
||||
color: #${palette.base05};
|
||||
border-bottom: 5px solid #${palette.base02};
|
||||
border-radius: 10px;
|
||||
margin: 15px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
#input {
|
||||
color: #${palette.base05};
|
||||
}
|
||||
|
||||
#list {
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.item {
|
||||
border-radius: 10px;
|
||||
padding: 10px;
|
||||
color: #${palette.base05};
|
||||
}
|
||||
|
||||
.item.active {
|
||||
background-color: #${palette.base02};
|
||||
color: #${palette.base05};
|
||||
border-bottom: 5px solid #${palette.base0D}; /* Accent */
|
||||
}
|
||||
'';
|
||||
|
||||
xdg.configFile."nomarchy/current/theme.name".text = config.nomarchy.theme;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user