Rofi: switch to srcery scheme

This commit is contained in:
Robert Kmieć
2022-09-10 00:54:57 +02:00
parent e73ffa5e75
commit 9e32359f2d
2 changed files with 220 additions and 1 deletions

View File

@@ -1 +1 @@
@import "~/.cache/wal/colors-rofi-dark" @theme "~/.config/rofi/srcery.rasi"

219
.config/rofi/srcery.rasi Normal file
View File

@@ -0,0 +1,219 @@
/*-*- mode: css; -*-*/
/*
* Rofi color theme
* Based on srcery color scheme for Vim
* https://github.com/roosta/vim-srcery
*
* File: srcery.rasi
* Desc: Srcery theme for Rofi
* Author: Daniel Berg <mail@roosta.sh>
* Modified: 2021-09-29
*/
* {
spacing: 2;
black: #1C1B19;
brightblack: #918175;
red: #EF2F27;
brightred: #F75341;
green: #519F50;
brightgreen: #98BC37;
yellow: #FBB829;
brightyellow: #FED06E;
blue: #2C78BF;
brightblue: #68A8E4;
magenta: #E02C6D;
brightmagenta: #FF5C8F;
cyan: #0AAEB3;
brightcyan: #53FDE9;
white: #D0BFA1;
brightwhite: #FCE8C3;
orange: #D75F00;
brightorange: #FF8700;
xgray1: #262626;
xgray2: #303030;
xgray3: #3A3A3A;
xgray4: #444444;
xgray5: #4E4E4E;
highlight: bold #E02C6D;
selected-normal-foreground: @black;
selected-normal-background: @brightwhite;
normal-foreground: @brightwhite;
normal-background: @xgray2;
alternate-normal-background: @xgray1;
alternate-normal-foreground: @brightwhite;
urgent-foreground: @black;
urgent-background: @orange;
selected-urgent-foreground: @black;
selected-urgent-background: @brightorange;
alternate-urgent-background: @urgent-background;
alternate-urgent-foreground: @urgent-foreground;
active-foreground: @yellow;
active-background: @xgray2;
selected-active-foreground: @black;
selected-active-background: @yellow;
alternate-active-background: @yellow;
alternate-active-foreground: @black;
border-color: @magenta;
separatorcolor: @white;
background-color: @black;
}
window {
border: 2;
foreground: @magenta;
padding: 4;
background: @black;
}
mainbox {
border: 0;
padding: 0;
}
message {
border: 2px 0px 0px ;
padding: 2px 0px 0px ;
}
textbox {
highlight: @highlight;
text-color: @brightwhite;
}
listview {
fixed-height: 1;
border: 2px dash 0px 0px ;
border-color: @separatorcolor;
spacing: 2px ;
scrollbar: false;
padding: 2px 0px 0px ;
}
element {
border: 0;
padding: 1px ;
}
element-text {
background-color: inherit;
text-color: inherit;
}
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 {
text-color: @brightwhite;
}
button selected {
background-color: @magenta;
text-color: @brightwhite;
}
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;
}
// vim:ft=css:ts=2:sw=2:fdm=marker