Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update textbox classes and selectors #145

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Eir-nya
Copy link
Contributor

@Eir-nya Eir-nya commented Oct 25, 2024

Updates class selectors for the chat textbox.

Notes:

  • Discord's previous use of #icon has been replaced with a class, .lottieIcon_f73ef7.
  • Selector for Gif Button had to be specified using aria-label, otherwise the selector also targeted sticker and emoji buttons.
  • This block
&:hover #icon svg {
    background: var(--interactive-normal);
}

had to be moved to within the Gif Button selector (now &:hover .lottieIcon_f73ef7 svg), otherwise this block also affected the Nitro gift button when hovering.

In these screenshots I have a few extra buttons, that's just some plugins from Vencord :)

Let me know if there's any problems!

Before:

old old hi

After:

new new hi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant