mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-02-17 18:20:56 +01:00
rofi: Use colors from stylix
This commit is contained in:
parent
a7f6d4d354
commit
e0f3503069
@ -21,19 +21,12 @@
|
|||||||
me-accept-entry = "MousePrimary";
|
me-accept-entry = "MousePrimary";
|
||||||
};
|
};
|
||||||
|
|
||||||
theme = let inherit (config.lib.formats.rasi) mkLiteral; in lib.mkForce {
|
theme = let inherit (config.lib.formats.rasi) mkLiteral; in with config.lib.stylix.colors; lib.mkForce {
|
||||||
"*" = {
|
"*" = {
|
||||||
font = "Noto Sans CJK JP Bold 12";
|
font = "Noto Sans CJK JP Bold 12";
|
||||||
|
|
||||||
bg0 = mkLiteral "#242424dd";
|
|
||||||
bg2 = mkLiteral "#f5f5f520";
|
|
||||||
bg3 = mkLiteral "#f5f5f540";
|
|
||||||
|
|
||||||
fg0 = mkLiteral "#f5f5f5";
|
|
||||||
|
|
||||||
background-color = mkLiteral "transparent";
|
background-color = mkLiteral "transparent";
|
||||||
foreground = mkLiteral "#f8f8f2";
|
foreground = mkLiteral "#${base05}";
|
||||||
text-color = mkLiteral "@fg0";
|
text-color = mkLiteral "#${base05}";
|
||||||
padding = mkLiteral "0px";
|
padding = mkLiteral "0px";
|
||||||
margin = mkLiteral "0px";
|
margin = mkLiteral "0px";
|
||||||
};
|
};
|
||||||
@ -41,7 +34,7 @@
|
|||||||
window = {
|
window = {
|
||||||
fullscreen = true;
|
fullscreen = true;
|
||||||
padding = mkLiteral "1em";
|
padding = mkLiteral "1em";
|
||||||
background-color = mkLiteral "@bg0";
|
background-color = mkLiteral "#${base00}dd";
|
||||||
};
|
};
|
||||||
|
|
||||||
mainbox = {
|
mainbox = {
|
||||||
@ -49,7 +42,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
inputbar = {
|
inputbar = {
|
||||||
background-color = mkLiteral "@bg2";
|
background-color = mkLiteral "#${base05}20";
|
||||||
|
|
||||||
margin = mkLiteral "0px calc( 50% - 230px )";
|
margin = mkLiteral "0px calc( 50% - 230px )";
|
||||||
padding = mkLiteral "4px 8px";
|
padding = mkLiteral "4px 8px";
|
||||||
@ -57,7 +50,7 @@
|
|||||||
|
|
||||||
border = mkLiteral "1px";
|
border = mkLiteral "1px";
|
||||||
border-radius = mkLiteral "2px";
|
border-radius = mkLiteral "2px";
|
||||||
border-color = mkLiteral "@bg3";
|
border-color = mkLiteral "#${base05}40";
|
||||||
|
|
||||||
children = map mkLiteral [ "icon-search" "entry" ];
|
children = map mkLiteral [ "icon-search" "entry" ];
|
||||||
};
|
};
|
||||||
@ -74,7 +67,7 @@
|
|||||||
|
|
||||||
entry = {
|
entry = {
|
||||||
placeholder = "Search";
|
placeholder = "Search";
|
||||||
placeholder-color = mkLiteral "@bg2";
|
placeholder-color = mkLiteral "#${base05}20";
|
||||||
};
|
};
|
||||||
|
|
||||||
listview = {
|
listview = {
|
||||||
@ -97,7 +90,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
"element selected" = {
|
"element selected" = {
|
||||||
background-color = mkLiteral "rgba(248, 248, 242, 0.3)";
|
background-color = mkLiteral "#${base05}22";
|
||||||
};
|
};
|
||||||
|
|
||||||
element-icon = {
|
element-icon = {
|
||||||
|
Loading…
Reference in New Issue
Block a user