fix: use CSS variables for mention styling so dark mode and custom colors work
This commit is contained in:
17
resources/css/comments.css
Normal file
17
resources/css/comments.css
Normal file
@@ -0,0 +1,17 @@
|
||||
.comment-mention {
|
||||
background-color: rgb(var(--primary-50));
|
||||
color: rgb(var(--primary-600));
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
display: inline-block;
|
||||
border-radius: 0.25rem;
|
||||
padding-left: 0.25rem;
|
||||
padding-right: 0.25rem;
|
||||
font-weight: 500;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.dark .comment-mention {
|
||||
background-color: rgb(var(--primary-400) / 0.1);
|
||||
color: rgb(var(--primary-400));
|
||||
}
|
||||
Reference in New Issue
Block a user