diff options
| -rw-r--r-- | rofi/udt/accent.rasi | 2 | ||||
| -rw-r--r-- | rofi/udt/common.rasi | 115 |
2 files changed, 117 insertions, 0 deletions
diff --git a/rofi/udt/accent.rasi b/rofi/udt/accent.rasi new file mode 100644 index 0000000..ca60f47 --- /dev/null +++ b/rofi/udt/accent.rasi @@ -0,0 +1,2 @@ +/* Generated by udt-accent. Do not edit. */ +* { accent: #c6a0f6ff; } diff --git a/rofi/udt/common.rasi b/rofi/udt/common.rasi new file mode 100644 index 0000000..327e5a9 --- /dev/null +++ b/rofi/udt/common.rasi @@ -0,0 +1,115 @@ +/* + * Shared identity for all udt rofi layouts. + * Copyright (C) 2026 Danilo M. <danix@danix.xyz> + * Licensed under the GNU General Public License v2 only. + */ + +@import "palette.rasi" +@import "accent.rasi" + +* { + font: "Noto Sans 11"; + monospace-font: "Inconsolata Nerd Font Mono 11"; + + background-color: transparent; + text-color: @text; + + margin: 0; + padding: 0; + spacing: 0; + + radius: 10px; + bar-height: 36px; +} + +window { + background-color: @base; + border: 2px; + border-color: @accent; + border-radius: @radius; + padding: 16px; +} + +mainbox { + spacing: 12px; +} + +inputbar { + background-color: @surface0; + border-radius: 6px; + padding: 10px 12px; + spacing: 8px; + children: [ prompt, entry ]; +} + +prompt { + text-color: @accent; +} + +entry { + placeholder: "search"; + placeholder-color: @overlay0; + cursor: text; +} + +listview { + scrollbar: false; + cycle: true; + dynamic: true; + spacing: 4px; +} + +element { + border-radius: 6px; + padding: 8px 10px; + spacing: 10px; + cursor: pointer; +} + +element normal.normal { text-color: @text; } +element alternate.normal{ text-color: @text; } +element normal.urgent { text-color: @red; } +element normal.active { text-color: @accent; } + +element selected.normal { + background-color: @accent; + text-color: @base; +} + +element selected.urgent { + background-color: @red; + text-color: @base; +} + +element selected.active { + background-color: @accent; + text-color: @base; +} + +element-icon { + size: 1.2em; + vertical-align: 0.5; + background-color: transparent; +} + +element-text { + vertical-align: 0.5; + background-color: transparent; + text-color: inherit; +} + +message { + background-color: @surface0; + border-radius: 6px; + padding: 10px; +} + +textbox { + text-color: @text; +} + +error-message { + background-color: @base; + text-color: @red; + padding: 12px; +} |
