mirror of
https://github.com/danth/stylix
synced 2024-11-10 06:34:15 +00:00
Add a k9s module (#22)
This commit is contained in:
parent
7078443eff
commit
af4cde884b
2 changed files with 130 additions and 0 deletions
|
@ -72,6 +72,7 @@
|
|||
./modules/gtk
|
||||
./modules/helix.nix
|
||||
./modules/i3.nix
|
||||
./modules/k9s.nix
|
||||
./modules/kitty.nix
|
||||
./modules/lightdm.nix
|
||||
./modules/mako.nix
|
||||
|
|
129
modules/k9s.nix
Normal file
129
modules/k9s.nix
Normal file
|
@ -0,0 +1,129 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
|
||||
with config.lib.stylix.colors;
|
||||
|
||||
{
|
||||
options.stylix.targets.k9s.enable =
|
||||
config.lib.stylix.mkEnableTarget "k9s" true;
|
||||
|
||||
config = lib.mkIf config.stylix.targets.k9s.enable {
|
||||
|
||||
home-manager.sharedModules = [{
|
||||
programs.k9s.skin = {
|
||||
k9s = {
|
||||
body = {
|
||||
fgColor = "#${base05-hex}";
|
||||
bgColor = "default";
|
||||
logoColor = "#${base0C-hex}";
|
||||
};
|
||||
|
||||
prompt = {
|
||||
fgColor = "#${base05-hex}";
|
||||
bgColor = "#${base00-hex}";
|
||||
suggestColor = "#${base0A-hex}";
|
||||
};
|
||||
|
||||
info = {
|
||||
fgColor = "#${base0B-hex}";
|
||||
sectionColor = "#${base05-hex}";
|
||||
};
|
||||
|
||||
dialog = {
|
||||
fgColor = "#${base05-hex}";
|
||||
bgColor = "default";
|
||||
buttonFgColor = "#${base05-hex}";
|
||||
buttonBgColor = "#${base0C-hex}";
|
||||
buttonFocusFgColor = "#${base0E-hex}";
|
||||
buttonFocusBgColor = "#${base0B-hex}";
|
||||
labelFgColor = "#${base0A-hex}";
|
||||
fieldFgColor = "#${base05-hex}";
|
||||
};
|
||||
|
||||
frame = {
|
||||
border = {
|
||||
fgColor = "#${base02-hex}";
|
||||
focusColor = "#${base01-hex}";
|
||||
};
|
||||
|
||||
menu = {
|
||||
fgColor = "#${base05-hex}";
|
||||
keyColor = "#${base0B-hex}";
|
||||
numKeyColor = "#${base0B-hex}";
|
||||
};
|
||||
|
||||
crumbs = {
|
||||
fgColor = "#${base05-hex}";
|
||||
bgColor = "#${base01-hex}";
|
||||
activeColor = "#${base01-hex}";
|
||||
};
|
||||
|
||||
status = {
|
||||
newColor = "#${base08-hex}";
|
||||
modifyColor = "#${base0C-hex}";
|
||||
addColor = "#${base09-hex}";
|
||||
errorColor = "#${base0D-hex}";
|
||||
highlightcolor = "#${base0A-hex}";
|
||||
killColor = "#${base03-hex}";
|
||||
completedColor = "#${base03-hex}";
|
||||
};
|
||||
|
||||
title = {
|
||||
fgColor = "#${base05-hex}";
|
||||
bgColor = "#${base01-hex}";
|
||||
highlightColor = "#${base0A-hex}";
|
||||
counterColor = "#${base0C-hex}";
|
||||
filterColor = "#${base0B-hex}";
|
||||
};
|
||||
};
|
||||
|
||||
views = {
|
||||
charts = {
|
||||
bgColor = "default";
|
||||
defaultDialColors = [ "#${base0C-hex}" "#${base0D-hex}" ];
|
||||
defaultChartColors = [ "#${base0C-hex}" "#${base0D-hex}" ];
|
||||
};
|
||||
|
||||
table = {
|
||||
fgColor = "#${base05-hex}";
|
||||
bgColor = "default";
|
||||
header = {
|
||||
fgColor = "#${base05-hex}";
|
||||
bgColor = "default";
|
||||
sorterColor = "#${base08-hex}";
|
||||
};
|
||||
};
|
||||
|
||||
xray = {
|
||||
fgColor = "#${base05-hex}";
|
||||
bgColor = "default";
|
||||
cursorColor = "#${base01-hex}";
|
||||
graphicColor = "#${base0C-hex}";
|
||||
showIcons = false;
|
||||
};
|
||||
|
||||
yaml = {
|
||||
keyColor = "#${base0B-hex}";
|
||||
colonColor = "#${base0C-hex}";
|
||||
valueColor = "#${base05-hex}";
|
||||
};
|
||||
|
||||
logs = {
|
||||
fgColor = "#${base05-hex}";
|
||||
bgColor = "default";
|
||||
indicator = {
|
||||
fgColor = "#${base05-hex}";
|
||||
bgColor = "#${base0C-hex}";
|
||||
};
|
||||
};
|
||||
|
||||
help = {
|
||||
fgColor = "#${base05-hex}";
|
||||
bgColor = "#${base00-hex}";
|
||||
indicator.fgColor = "#${base0D-hex}";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue