103 lines
1.9 KiB
Nix
103 lines
1.9 KiB
Nix
{ config, ... }:
|
|
{
|
|
xdg.configFile."rofi/theme.rasi".text = with config.stylix.base16Scheme.palette; ''
|
|
* {
|
|
bg-col: #${base00};
|
|
bg-col-light: #${base01};
|
|
border-col: #${base0D};
|
|
selected-col: #${base01};
|
|
accent: #${base0D};
|
|
fg-col: #${base07};
|
|
fg-col2: #${base06};
|
|
grey: #${base04};
|
|
}
|
|
|
|
element-text, element-icon , mode-switcher {
|
|
background-color: inherit;
|
|
text-color: inherit;
|
|
}
|
|
|
|
window {
|
|
height: 530px;
|
|
width: 600px;
|
|
border: 2px;
|
|
border-color: @border-col;
|
|
background-color: @bg-col;
|
|
}
|
|
|
|
mainbox {
|
|
background-color: @bg-col;
|
|
}
|
|
|
|
inputbar {
|
|
children: [prompt,entry];
|
|
background-color: @bg-col-light;
|
|
border-radius: 5px;
|
|
padding: 0px;
|
|
}
|
|
|
|
prompt {
|
|
background-color: @accent;
|
|
padding: 4px;
|
|
text-color: @bg-col-light;
|
|
border-radius: 3px;
|
|
margin: 10px 0px 10px 10px;
|
|
}
|
|
|
|
textbox-prompt-colon {
|
|
expand: false;
|
|
str: ":";
|
|
}
|
|
|
|
entry {
|
|
padding: 6px;
|
|
margin: 10px 10px 10px 5px;
|
|
text-color: @fg-col;
|
|
background-color: @bg-col;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
listview {
|
|
border: 0px 0px 0px;
|
|
padding: 6px 0px 0px;
|
|
margin: 10px 0px 0px 6px;
|
|
columns: 1;
|
|
background-color: @bg-col;
|
|
cycle: true;
|
|
}
|
|
|
|
element {
|
|
padding: 8px;
|
|
margin: 0px 10px 4px 4px;
|
|
background-color: @bg-col;
|
|
text-color: @fg-col;
|
|
}
|
|
|
|
element-icon {
|
|
size: 28px;
|
|
}
|
|
|
|
element selected {
|
|
background-color: @selected-col ;
|
|
text-color: @fg-col2 ;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
mode-switcher {
|
|
spacing: 0;
|
|
}
|
|
|
|
button {
|
|
padding: 10px;
|
|
background-color: @bg-col-light;
|
|
text-color: @grey;
|
|
vertical-align: 0.5;
|
|
horizontal-align: 0.5;
|
|
}
|
|
|
|
button selected {
|
|
background-color: @bg-col;
|
|
text-color: @accent;
|
|
}'';
|
|
}
|