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

[PronounDB] Suggestions: user list badge, chat badge coloring #120

Open
Tofuraven opened this issue Dec 29, 2021 · 2 comments
Open

[PronounDB] Suggestions: user list badge, chat badge coloring #120

Tofuraven opened this issue Dec 29, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@Tofuraven
Copy link

  • option for showing the badge in the user list (e.g. before the user name, so it works for longer names as well)
  • different colors for the badge shown in the chat (black text might not work well with custom themes, the most universal solution would probably be to allow entering a custom color in the settings)
@Zacam
Copy link

Zacam commented Jan 11, 2022

I'd also like to see a theme friendly manner to change the display color.
Making an exposed --pronouns-color: for use would be great.
(Potentially also a --pronouns-size: for adjustment for legibility would be good as well)

Addendum: (Line 4833)
For legibility, I'd also recommend "•"), pronoun, " "); because otherwise the pronoun on the timestamp (which on current discord this date of posting) applies to after the Username and causes it to run-on into any messages after the username.

If the space after the "•" is necessary, then "• "), pronoun, " "); would accomplish this.

@Strencher Strencher added the enhancement New feature or request label Feb 4, 2022
@Zacam
Copy link

Zacam commented Mar 2, 2022

As of 1.2.1 (thank you, it's back to showing!) I decided to make a Theme file, but I'm hesitant to try and submit it to the BD Themes for usability there.

Strencher, if you wanted to put forth a Plugin Theme that users could use: https://github.com/Zacam/BetterDiscord/tree/main/PronounDB-Theme feel free to use any/all/none (it's your plugin, after all!)

For anybody else; you can add a new .css or edit an existing Theme .css to add (outside of/after the :root closing brace }:
.PronounDB-pronouns-text { (yourCodeHere) }

Mine turns it into a Rainbow Text Gradient:

.PronounDB-pronouns-text {
    /* This is the plugin default font size */
    font-size:.75rem;
    /* Establishes Gradient, use of HEX color code is mandatory */
    background: linear-gradient(to right, #ef5350, #f48fb1, #7e57c2, #2196f3, #26c6da, #43a047, #eeff41, #f9a825, #ff5722) !important;
    /* Clip the color to text only */
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

Alternatively you can just use color: #HEX !important; for a single color change

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

No branches or pull requests

3 participants