chore: improve search (#83)
* . * . * wip: add nip05 search * add nip05 search * . * support cancel search * .
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
use gpui::{App, Styled};
|
||||
use i18n::t;
|
||||
use theme::ActiveTheme;
|
||||
|
||||
use crate::button::{Button, ButtonVariants as _};
|
||||
@@ -8,7 +9,8 @@ use crate::{Icon, IconName, Sizable as _};
|
||||
pub(crate) fn clear_button(cx: &App) -> Button {
|
||||
Button::new("clean")
|
||||
.icon(Icon::new(IconName::CloseCircle))
|
||||
.ghost()
|
||||
.xsmall()
|
||||
.tooltip(t!("common.clear"))
|
||||
.small()
|
||||
.text_color(cx.theme().text_muted)
|
||||
.transparent()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user