gruvbox-common.rasi 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. /* ==========================================================================
  2. File: gruvbox-common.rasi
  3. Desc: Shared rules between all gruvbox themes
  4. Author: bardisty <b@bah.im>
  5. Source: https://github.com/bardisty/gruvbox-rofi
  6. Modified: Mon Feb 12 2018 06:06:47 PST -0800
  7. ========================================================================== */
  8. window {
  9. background-color: @background;
  10. border: 2;
  11. padding: 2;
  12. }
  13. mainbox {
  14. border: 0;
  15. padding: 0;
  16. }
  17. message {
  18. border: 2px 0 0;
  19. border-color: @separatorcolor;
  20. padding: 1px;
  21. }
  22. textbox {
  23. highlight: @highlight;
  24. text-color: @foreground;
  25. }
  26. listview {
  27. border: 2px solid 0 0;
  28. padding: 2px 0 0;
  29. border-color: @separatorcolor;
  30. spacing: 2px;
  31. scrollbar: @scrollbar;
  32. }
  33. element {
  34. border: 0;
  35. padding: 2px;
  36. }
  37. element.normal.normal {
  38. background-color: @normal-background;
  39. text-color: @normal-foreground;
  40. }
  41. element.normal.urgent {
  42. background-color: @urgent-background;
  43. text-color: @urgent-foreground;
  44. }
  45. element.normal.active {
  46. background-color: @active-background;
  47. text-color: @active-foreground;
  48. }
  49. element.selected.normal {
  50. background-color: @selected-normal-background;
  51. text-color: @selected-normal-foreground;
  52. }
  53. element.selected.urgent {
  54. background-color: @selected-urgent-background;
  55. text-color: @selected-urgent-foreground;
  56. }
  57. element.selected.active {
  58. background-color: @selected-active-background;
  59. text-color: @selected-active-foreground;
  60. }
  61. element.alternate.normal {
  62. background-color: @alternate-normal-background;
  63. text-color: @alternate-normal-foreground;
  64. }
  65. element.alternate.urgent {
  66. background-color: @alternate-urgent-background;
  67. text-color: @alternate-urgent-foreground;
  68. }
  69. element.alternate.active {
  70. background-color: @alternate-active-background;
  71. text-color: @alternate-active-foreground;
  72. }
  73. scrollbar {
  74. width: 4px;
  75. border: 0;
  76. handle-color: @scrollbar-handle;
  77. handle-width: 8px;
  78. padding: 0;
  79. }
  80. mode-switcher {
  81. border: 2px 0 0;
  82. border-color: @separatorcolor;
  83. }
  84. inputbar {
  85. spacing: 0;
  86. text-color: @normal-foreground;
  87. padding: 2px;
  88. children: [ prompt, textbox-prompt-sep, entry, case-indicator ];
  89. }
  90. case-indicator,
  91. entry,
  92. prompt,
  93. button {
  94. spacing: 0;
  95. text-color: @normal-foreground;
  96. }
  97. button.selected {
  98. background-color: @selected-normal-background;
  99. text-color: @selected-normal-foreground;
  100. }
  101. textbox-prompt-sep {
  102. expand: false;
  103. str: ":";
  104. text-color: @normal-foreground;
  105. margin: 0 0.3em 0 0;
  106. }