Equicord/src/plugins/showMeYourName/style.css

41 lines
757 B
CSS
Raw Normal View History

feat(ShowMeYourName): Name Permutations; Streamer Mode; Colors; Etc (#316) * Added streamer mode detection, 15 name combinations, custom colors & brackets. * Remove inconsistent reply prefix, update name priority, rearrange. * Also truncate nick and display in streamer mode if they are equivalent to the username. * Nick/display duo fallback, username final fallback, + code refactor. * Modify how overlap between nick, display, and usernames are handled. * Remove username override & add removeDuplicates setting. * Make replacing dupes optional, conditionally prioritize username on x_x_user order. * Fix prefix/suffix color of first name if alwaysShow enabled. * Add setting to overwrite first name color + modify defaults. * Borrow sadan's mention feature + fix affix oversight. * Remove mysterious userOverride. * Reword plugin description. * Fix global name overwriting nickname bug + update mention symbol handling. * Fix some typing and typos. * Reduce niche settings + switch to string format over dropdown for permutations. * Fix: Readd userOverride, present for interactions. * Update with gradient support. * Remove forgotten log. * Handle missing GuildMember property. * Linting. * Re-add accidentally removed unknown user patch. * mentionAvatars support. * Better gradient support for mentions. * Typo. * Refactoring. * Linting. * Fix percentage not affecting gradient. * Wrap emojis to prevent gradient (#3446). * Fix for hook errors. * Fix falsy validColor check. * Fix find. * Fix missing UserStore import. * Sort fix. * Patch fix. * Reply/mention/interaction fix, bot discriminators, fallback improvement. * Set empty global name field to username for bots if descriminator setting enabled. * Exclude webhooks and official Discord accounts from discriminator check. * Fix patch + animation handling. * Friend names, member list, profiles, vc, reactions, bot discriminators, improved streamer mode + CSS. * Lint. * Lint. * Fix regression removing needed addition to validUser to pass on message props. * Fix oopsie. * Adjust authors. * Top role fix. * Fix patches. * Fix patch. * Fix patches. * Lint. * Fix import. * Fix.
2025-08-01 07:36:29 -07:00
@keyframes show-me-your-name-animation {
0% {
background-position: 0;
}
100% {
background-position: 100px;
}
}
.show-me-your-name-gradient {
position: relative;
z-index: 0;
}
.show-me-your-name-gradient::after {
background-clip: text;
content: attr(data-text) / "";
inset: 0;
position: absolute;
filter: blur(4px);
opacity: 0;
text-indent: 0;
transition: opacity .1s ease-in-out;
text-wrap-style: balance;
z-index: -1;
}
.show-me-your-name-gradient-unset-bg::after {
background: unset;
}
.show-me-your-name-gradient-inherit-bg::after {
background: inherit;
}
.show-me-your-name-gradient-hovered::after {
opacity: .7;
transition: opacity .1s ease-in-out
}