/* * Shared identity for all udt rofi layouts. * Copyright (C) 2026 Danilo M. * 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; }