Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
[MM-29035] Remove usage of mention-highlight-bg-## CSS variables (#6640)
Browse files Browse the repository at this point in the history
  • Loading branch information
KuSh authored and calebroseland committed Oct 27, 2020
1 parent 38499c4 commit 3539cf6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sass/components/_post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1772,7 +1772,7 @@
}

.post--pinned-or-flagged {
background-color: var(--mention-highlight-bg-12);
background-color: rgba(var(--mention-highlight-bg-rgb), 0.12);
}

.Badge {
Expand Down Expand Up @@ -1986,7 +1986,7 @@
@keyframes postPinnedOrFlaggedHighlight {
100% {
background: initial;
background-color: var(--mention-highlight-bg-12);
background-color: rgba(var(--mention-highlight-bg-rgb), 0.12);
}
}

Expand Down
1 change: 0 additions & 1 deletion utils/utils.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,6 @@ export function applyTheme(theme) {
'error-text-12': changeOpacity(theme.errorTextColor, 0.12),
'mention-highlight-bg': theme.mentionHighlightBg,
'mention-highlight-link': theme.mentionHighlightLink,
'mention-highlight-bg-12': changeOpacity(theme.mentionHighlightBg, 0.12),
},
});
}
Expand Down

0 comments on commit 3539cf6

Please sign in to comment.