forked from Shinonome/dots-hyprland
search: change highlighting to underline
This commit is contained in:
@@ -26,8 +26,8 @@ RippleButton {
|
|||||||
property string itemClickActionName: entry?.clickActionName
|
property string itemClickActionName: entry?.clickActionName
|
||||||
property string materialSymbol: entry?.materialSymbol ?? ""
|
property string materialSymbol: entry?.materialSymbol ?? ""
|
||||||
|
|
||||||
property string highlightPrefix: `<b><font color="${Appearance.m3colors.m3primary}">`
|
property string highlightPrefix: `<u><font color="${Appearance.m3colors.m3primary}">`
|
||||||
property string highlightSuffix: `</font></b>`
|
property string highlightSuffix: `</font></u>`
|
||||||
function highlightContent(content, query) {
|
function highlightContent(content, query) {
|
||||||
if (!query || query.length === 0 || content == query || fontType === "monospace")
|
if (!query || query.length === 0 || content == query || fontType === "monospace")
|
||||||
return StringUtils.escapeHtml(content);
|
return StringUtils.escapeHtml(content);
|
||||||
|
|||||||
Reference in New Issue
Block a user