Skip to content

Commit

Permalink
MessageLogger: use discord variables instead of hardcoded colors (Ven…
Browse files Browse the repository at this point in the history
  • Loading branch information
AnubisNekhet authored and ImLvna committed May 27, 2024
1 parent 2c9dd29 commit 7b928f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/plugins/messageLogger/deleteStyleOverlay.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
.messagelogger-deleted {
background-color: rgba(240 71 71 / 15%) !important;
background-color: hsla(var(--red-430-hsl, 0 85% 61%) / 15%) !important;
}
8 changes: 4 additions & 4 deletions src/plugins/messageLogger/deleteStyleText.css
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/* Message content highlighting */
.messagelogger-deleted [class*="contents"] > :is(div, h1, h2, h3, p) {
color: #f04747 !important;
color: var(--status-danger, #f04747) !important;
}

/* Bot "thinking" text highlighting */
.messagelogger-deleted [class*="colorStandard"] {
color: #f04747 !important;
color: var(--status-danger, #f04747) !important;
}

/* Embed highlighting */
.messagelogger-deleted article :is(div, span, h1, h2, h3, p) {
color: #f04747 !important;
color: var(--status-danger, #f04747) !important;
}

.messagelogger-deleted a {
color: #be3535 !important;
color: var(--red-460, #be3535) !important;
text-decoration: underline;
}

0 comments on commit 7b928f9

Please sign in to comment.