From f07e9f4f331fc3512f144c91068bc9f69944c114 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Sun, 7 Jul 2024 14:34:06 +0900 Subject: [PATCH] Fix: Icons - Ask to AIChat After wrestling with the wand, we decided to make it more clear that it's a chat. https://techcrunch.com/2024/06/15/apple-joins-the-race-to-find-an-ai-icon-that-makes-sense/ --- css/leptonChrome.css | 8 ++++++++ css/leptonChromeESR.css | 3 +++ icons/chat-sparkle.svg | 3 +++ src/icons/context_menu/_content_area.scss | 3 +++ 4 files changed, 17 insertions(+) create mode 100644 icons/chat-sparkle.svg diff --git a/css/leptonChrome.css b/css/leptonChrome.css index 3bb3aad..408a631 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -12591,6 +12591,9 @@ #context-translate-selection { --menuitem-image: url("../icons/translations.svg"); } + #context-ask-chat { + --menuitem-image: url("../icons/chat-sparkle.svg"); + } #frame { --menuitem-image: url("../icons/command-frames.svg"); } @@ -27710,6 +27713,11 @@ --menuitem-image: url("../icons/translations.svg"); } } +@media (not (-moz-bool-pref: "userChrome.icon.disabled")) and (-moz-bool-pref: "userChrome.icon.menu") and (-moz-bool-pref: "userChrome.icon.context_menu") { + #context-ask-chat { + --menuitem-image: url("../icons/chat-sparkle.svg"); + } +} @media (not (-moz-bool-pref: "userChrome.icon.disabled")) and (-moz-bool-pref: "userChrome.icon.menu") and (-moz-bool-pref: "userChrome.icon.context_menu") { #frame { --menuitem-image: url("../icons/command-frames.svg"); diff --git a/css/leptonChromeESR.css b/css/leptonChromeESR.css index 8b08ca5..edcd086 100644 --- a/css/leptonChromeESR.css +++ b/css/leptonChromeESR.css @@ -13222,6 +13222,9 @@ #context-translate-selection { --menuitem-image: url("../icons/translations.svg"); } + #context-ask-chat { + --menuitem-image: url("../icons/chat-sparkle.svg"); + } #frame { --menuitem-image: url("../icons/command-frames.svg"); } diff --git a/icons/chat-sparkle.svg b/icons/chat-sparkle.svg new file mode 100644 index 0000000..94ab3ef --- /dev/null +++ b/icons/chat-sparkle.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/icons/context_menu/_content_area.scss b/src/icons/context_menu/_content_area.scss index 7cad874..5c884cf 100644 --- a/src/icons/context_menu/_content_area.scss +++ b/src/icons/context_menu/_content_area.scss @@ -232,6 +232,9 @@ #context-translate-selection { --menuitem-image: url("../icons/translations.svg"); } +#context-ask-chat { + --menuitem-image: url("../icons/chat-sparkle.svg"); +} #frame { --menuitem-image: url("../icons/command-frames.svg");