basic support for base16 templates

This commit is contained in:
notgne2 2021-03-29 16:25:14 -07:00
parent d78da97be7
commit df75571c56
No known key found for this signature in database
GPG key ID: BB661E172B42A7F8
6 changed files with 232 additions and 389 deletions

View file

@ -1,38 +0,0 @@
name: base16:
''
# Base16 ${name} - kitty color config
# Scheme generated by ezpcusr in Nix
background #${base16."base00"}
foreground #${base16."base05"}
selection_background #${base16."base05"}
selection_foreground #${base16."base00"}
url_color #${base16."base04"}
cursor #${base16."base05"}
active_border_color #${base16."base03"}
inactive_border_color #${base16."base01"}
active_tab_background #${base16."base00"}
active_tab_foreground #${base16."base05"}
inactive_tab_background #${base16."base01"}
inactive_tab_foreground #${base16."base04"}
# normal
color0 #${base16."base00"}
color1 #${base16."base08"}
color2 #${base16."base0B"}
color3 #${base16."base0A"}
color4 #${base16."base0D"}
color5 #${base16."base0E"}
color6 #${base16."base0C"}
color7 #${base16."base05"}
# bright
color8 #${base16."base03"}
color9 #${base16."base09"}
color10 #${base16."base01"}
color11 #${base16."base02"}
color12 #${base16."base04"}
color13 #${base16."base06"}
color14 #${base16."base0F"}
color15 #${base16."base05"}
''

View file

@ -1,150 +0,0 @@
name: base16:
''
/**
* Base16 {{scheme-name}} ROFI Color theme
*
* Authors
* Scheme: {{scheme-author}}
* Template: Jordi Pakey-Rodriguez (https://github.com/0xdec), Andrea Scarpino (https://github.com/ilpianista)
*/
* {
red: #${base16."base08"};
blue: #${base16."base0D"};
lightfg: #${base16."base06"};
lightbg: #${base16."base01"};
foreground: #${base16."base05"};
background: #${base16."base00"};
background-color: #${base16."base00"};
separatorcolor: @foreground;
border-color: @foreground;
selected-normal-foreground: @lightbg;
selected-normal-background: @lightfg;
selected-active-foreground: @background;
selected-active-background: @blue;
selected-urgent-foreground: @background;
selected-urgent-background: @red;
normal-foreground: @foreground;
normal-background: @background;
active-foreground: @blue;
active-background: @background;
urgent-foreground: @red;
urgent-background: @background;
alternate-normal-foreground: @foreground;
alternate-normal-background: @lightbg;
alternate-active-foreground: @blue;
alternate-active-background: @lightbg;
alternate-urgent-foreground: @red;
alternate-urgent-background: @lightbg;
spacing: 2;
}
window {
background-color: @background;
border: 1;
padding: 5;
}
mainbox {
border: 0;
padding: 0;
}
message {
border: 1px dash 0px 0px ;
border-color: @separatorcolor;
padding: 1px ;
}
textbox {
text-color: @foreground;
}
listview {
fixed-height: 0;
border: 2px dash 0px 0px ;
border-color: @separatorcolor;
spacing: 2px ;
scrollbar: true;
padding: 2px 0px 0px ;
}
element {
border: 0;
padding: 1px ;
}
element normal.normal {
background-color: @normal-background;
text-color: @normal-foreground;
}
element normal.urgent {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
element normal.active {
background-color: @active-background;
text-color: @active-foreground;
}
element selected.normal {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
element selected.urgent {
background-color: @selected-urgent-background;
text-color: @selected-urgent-foreground;
}
element selected.active {
background-color: @selected-active-background;
text-color: @selected-active-foreground;
}
element alternate.normal {
background-color: @alternate-normal-background;
text-color: @alternate-normal-foreground;
}
element alternate.urgent {
background-color: @alternate-urgent-background;
text-color: @alternate-urgent-foreground;
}
element alternate.active {
background-color: @alternate-active-background;
text-color: @alternate-active-foreground;
}
scrollbar {
width: 4px ;
border: 0;
handle-color: @normal-foreground;
handle-width: 8px ;
padding: 0;
}
sidebar {
border: 2px dash 0px 0px ;
border-color: @separatorcolor;
}
button {
spacing: 0;
text-color: @normal-foreground;
}
button selected {
background-color: @selected-normal-background;
text-color: @selected-normal-foreground;
}
inputbar {
spacing: 0px;
text-color: @normal-foreground;
padding: 1px ;
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
case-indicator {
spacing: 0;
text-color: @normal-foreground;
}
entry {
spacing: 0;
text-color: @normal-foreground;
}
prompt {
spacing: 0;
text-color: @normal-foreground;
}
textbox-prompt-colon {
expand: false;
str: ":";
margin: 0px 0.3000em 0.0000em 0.0000em ;
text-color: inherit;
}
''