From 15110e5f7c74d153510fcfd76f5a67374bb3a10a Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sun, 23 Feb 2025 22:18:10 +1100 Subject: launcher: italic xwayland windows --- scss/launcher.scss | 4 ++++ src/modules/launcher.tsx | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/scss/launcher.scss b/scss/launcher.scss index 3a0b0fb..a9941bf 100644 --- a/scss/launcher.scss +++ b/scss/launcher.scss @@ -100,6 +100,10 @@ font-size: lib.s(14); } } + + &.italic { + font-style: italic; + } } } } diff --git a/src/modules/launcher.tsx b/src/modules/launcher.tsx index b7d4c01..56343d6 100644 --- a/src/modules/launcher.tsx +++ b/src/modules/launcher.tsx @@ -142,6 +142,7 @@ const Result = ({ label, sublabel, tooltip, + italic, onClicked, onSecondaryClick, onMiddleClick, @@ -152,13 +153,14 @@ const Result = ({ label: string; sublabel?: string; tooltip?: string; + italic?: boolean; onClicked: (self: Widget.Button) => void; onSecondaryClick?: (self: Widget.Button) => void; onMiddleClick?: (self: Widget.Button) => void; onDestroy?: () => void; }) => (