EquicordHelper: fix icon hover (#1108)

* fix icon hover

* [autofix.ci] apply automated fixes

* ok?

* Apply suggestion from @greptile-apps[bot]

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: thororen <78185467+thororen1234@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
prism 2026-05-22 21:49:03 +02:00 • committed by GitHub
parent d529042a46
commit 91fea027da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 5 deletions

View file

@ -4,6 +4,8 @@
* SPDX-License-Identifier: GPL-3.0-or-later
*/
import "./standingButton.css";
import { ApplicationCommandInputType, sendBotMessage } from "@api/Commands";
import { HeaderBarButton } from "@api/HeaderBar";
import { addMessagePreSendListener, removeMessagePreSendListener } from "@api/MessageEvents";
@ -21,7 +23,6 @@ import { ComponentType } from "react";
import { PluginButtons } from "./pluginButtons";
import { PluginCards } from "./pluginCards";
import "./standingButton.css";
migratePluginToSettings(true, "EquicordHelper", "NoBulletPoints", "noBulletPoints");
migratePluginToSettings(true, "EquicordHelper", "NoModalAnimation", "noModalAnimation");

View file

@ -1,9 +1,12 @@
.vc-eqh-standing {
color: currentColor;
color: currentcolor;
transition: color 120ms ease;
}
:hover > .vc-eqh-standing,
:hover .vc-eqh-standing {
color: var(--vc-eqh-standing-hover, currentColor);
[role="button"] {
--vc-eqh-standing-hover: currentcolor;
}
[role="button"]:hover > .vc-eqh-standing {
color: var(--vc-eqh-standing-hover, currentcolor);
}