config.rasi (1301B)
1 * { 2 font: "JetBrainsMono Nerd Font 10"; 3 4 /* palette */ 5 bg0: #ffcfa8; 6 bg2: #999ecf; 7 8 fg0: #ffcfa8; 9 10 background-color: transparent; 11 text-color: @fg0; 12 13 margin: 0; 14 padding: 0; 15 spacing: 0; 16 } 17 18 /* window */ 19 window { 20 background-color: transparent; 21 anchor: center; 22 location: center; 23 width: 360px; 24 border-radius: 0; 25 border-color: @bg2; 26 } 27 28 /* input */ 29 inputbar { 30 font: inherit; 31 padding: 12px; 32 spacing: 12px; 33 children: [ prompt, entry ]; 34 background-color: transparent; 35 } 36 37 prompt { 38 expand: false; 39 text-color: @fg0; 40 } 41 42 prompt, 43 entry, 44 element-icon, 45 element-text { 46 vertical-align: 0.5; 47 } 48 49 entry { 50 font: inherit; 51 text-color: @fg0; 52 } 53 54 /* list */ 55 listview { 56 lines: 8; 57 fixed-height: false; 58 border: 0; 59 scrollbar: false; 60 } 61 62 /* elements */ 63 element { 64 padding: 8px 16px; 65 spacing: 16px; 66 background-color: transparent; 67 text-color: @fg0; 68 } 69 70 element selected normal, 71 element selected active { 72 background-color: @bg0; 73 text-color: @bg2; 74 } 75 76 element normal normal, 77 element alternate normal, 78 element normal active, 79 element alternate active { 80 background-color: transparent; 81 text-color: @fg0; 82 } 83 84 /* content */ 85 element-icon { 86 size: 1em; 87 } 88 89 element-text { 90 text-color: inherit; 91 }