]> Untitled Git - lemmy-ui.git/commitdiff
remove badge-muted
authorFelix Ableitner <me@nutomic.com>
Thu, 25 May 2023 08:52:00 +0000 (10:52 +0200)
committerFelix Ableitner <me@nutomic.com>
Thu, 25 May 2023 08:52:34 +0000 (10:52 +0200)
src/shared/components/comment/comment-node.tsx
src/shared/components/post/post-listing.tsx

index fae636e9381d45709be024a07783db48607ce654..7ed5e8f4691afd337390a8e3d0828b51d706117a 100644 (file)
@@ -246,17 +246,17 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
                 </div>
               )}
               {isMod_ && (
-                <div className="badge badge-muted d-none d-sm-inline mr-2">
+                <div className="badge d-none d-sm-inline mr-2">
                   {i18n.t("mod")}
                 </div>
               )}
               {isAdmin_ && (
-                <div className="badge badge-muted d-none d-sm-inline mr-2">
+                <div className="badge d-none d-sm-inline mr-2">
                   {i18n.t("admin")}
                 </div>
               )}
               {cv.creator.bot_account && (
-                <div className="badge badge-muted d-none d-sm-inline mr-2">
+                <div className="badge d-none d-sm-inline mr-2">
                   {i18n.t("bot_account").toLowerCase()}
                 </div>
               )}
@@ -284,7 +284,7 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
               </button>
               {this.linkBtn(true)}
               {cv.comment.language_id !== 0 && (
-                <span className="badge badge-muted d-none d-sm-inline mr-2">
+                <span className="badge d-none d-sm-inline mr-2">
                   {
                     this.props.allLanguages.find(
                       lang => lang.id === cv.comment.language_id
index 137ded9e80626b20ab5b81d264301ec1161df1af..4d8e1094a420bb24e1fca0b00d5808e9d6863f9e 100644 (file)
@@ -327,13 +327,13 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
           <PersonListing person={post_view.creator} />
 
           {this.creatorIsMod_ && (
-            <span className="mx-1 badge badge-muted">{i18n.t("mod")}</span>
+            <span className="mx-1 badge">{i18n.t("mod")}</span>
           )}
           {this.creatorIsAdmin_ && (
-            <span className="mx-1 badge badge-muted">{i18n.t("admin")}</span>
+            <span className="mx-1 badge">{i18n.t("admin")}</span>
           )}
           {post_view.creator.bot_account && (
-            <span className="mx-1 badge badge-muted">
+            <span className="mx-1 badge">
               {i18n.t("bot_account").toLowerCase()}
             </span>
           )}
@@ -345,7 +345,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
           )}
         </li>
         {post_view.post.language_id !== 0 && (
-          <span className="mx-1 badge badge-muted">
+          <span className="mx-1 badge">
             {
               this.props.allLanguages.find(
                 lang => lang.id === post_view.post.language_id