mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-08 09:34:16 +00:00
remove hard-coded text foreground color classes
Signed-off-by: Alec Armbruster <35377827+alectrocute@users.noreply.github.com>
This commit is contained in:
parent
f4e30daf79
commit
80d7e22c03
|
@ -322,7 +322,7 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
|
||||||
getRoleLabelPill({
|
getRoleLabelPill({
|
||||||
label: I18NextService.i18n.t("op").toUpperCase(),
|
label: I18NextService.i18n.t("op").toUpperCase(),
|
||||||
tooltip: I18NextService.i18n.t("creator"),
|
tooltip: I18NextService.i18n.t("creator"),
|
||||||
classes: "text-bg-info text-black",
|
classes: "text-bg-info",
|
||||||
shrink: false,
|
shrink: false,
|
||||||
})}
|
})}
|
||||||
|
|
||||||
|
@ -330,14 +330,14 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
|
||||||
getRoleLabelPill({
|
getRoleLabelPill({
|
||||||
label: I18NextService.i18n.t("mod"),
|
label: I18NextService.i18n.t("mod"),
|
||||||
tooltip: I18NextService.i18n.t("mod"),
|
tooltip: I18NextService.i18n.t("mod"),
|
||||||
classes: "text-bg-primary text-black",
|
classes: "text-bg-primary",
|
||||||
})}
|
})}
|
||||||
|
|
||||||
{isAdmin_ &&
|
{isAdmin_ &&
|
||||||
getRoleLabelPill({
|
getRoleLabelPill({
|
||||||
label: I18NextService.i18n.t("admin"),
|
label: I18NextService.i18n.t("admin"),
|
||||||
tooltip: I18NextService.i18n.t("admin"),
|
tooltip: I18NextService.i18n.t("admin"),
|
||||||
classes: "text-bg-danger text-white",
|
classes: "text-bg-danger",
|
||||||
})}
|
})}
|
||||||
|
|
||||||
{cv.creator.bot_account &&
|
{cv.creator.bot_account &&
|
||||||
|
|
|
@ -489,7 +489,7 @@ export class Profile extends Component<
|
||||||
{getRoleLabelPill({
|
{getRoleLabelPill({
|
||||||
label: I18NextService.i18n.t("banned"),
|
label: I18NextService.i18n.t("banned"),
|
||||||
tooltip: I18NextService.i18n.t("banned"),
|
tooltip: I18NextService.i18n.t("banned"),
|
||||||
classes: "text-bg-danger text-white",
|
classes: "text-bg-danger",
|
||||||
shrink: false,
|
shrink: false,
|
||||||
})}
|
})}
|
||||||
</li>
|
</li>
|
||||||
|
@ -499,7 +499,7 @@ export class Profile extends Component<
|
||||||
{getRoleLabelPill({
|
{getRoleLabelPill({
|
||||||
label: I18NextService.i18n.t("deleted"),
|
label: I18NextService.i18n.t("deleted"),
|
||||||
tooltip: I18NextService.i18n.t("deleted"),
|
tooltip: I18NextService.i18n.t("deleted"),
|
||||||
classes: "text-bg-danger text-white",
|
classes: "text-bg-danger",
|
||||||
shrink: false,
|
shrink: false,
|
||||||
})}
|
})}
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -406,13 +406,13 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
getRoleLabelPill({
|
getRoleLabelPill({
|
||||||
label: I18NextService.i18n.t("mod"),
|
label: I18NextService.i18n.t("mod"),
|
||||||
tooltip: I18NextService.i18n.t("mod"),
|
tooltip: I18NextService.i18n.t("mod"),
|
||||||
classes: "text-bg-primary text-black",
|
classes: "text-bg-primary",
|
||||||
})}
|
})}
|
||||||
{this.creatorIsAdmin_ &&
|
{this.creatorIsAdmin_ &&
|
||||||
getRoleLabelPill({
|
getRoleLabelPill({
|
||||||
label: I18NextService.i18n.t("admin"),
|
label: I18NextService.i18n.t("admin"),
|
||||||
tooltip: I18NextService.i18n.t("admin"),
|
tooltip: I18NextService.i18n.t("admin"),
|
||||||
classes: "text-bg-danger text-white",
|
classes: "text-bg-danger",
|
||||||
})}
|
})}
|
||||||
{post_view.creator.bot_account &&
|
{post_view.creator.bot_account &&
|
||||||
getRoleLabelPill({
|
getRoleLabelPill({
|
||||||
|
|
Loading…
Reference in a new issue