Add border, adjust sizing, font-weight and transition for both light (primary-50 bg / primary-700 text / primary-200 border) and dark (15% primary bg / primary-300 text / 30% primary border) themes using Filament CSS variables.
21 lines
611 B
CSS
21 lines
611 B
CSS
.comment-mention {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
background-color: rgb(var(--primary-50));
|
|
color: rgb(var(--primary-700));
|
|
border: 1px solid rgb(var(--primary-200));
|
|
border-radius: 0.375rem;
|
|
padding: 0.0625rem 0.375rem;
|
|
font-size: 0.875em;
|
|
font-weight: 600;
|
|
line-height: 1.5;
|
|
white-space: nowrap;
|
|
transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
|
|
}
|
|
|
|
.dark .comment-mention {
|
|
background-color: rgb(var(--primary-400) / 0.15);
|
|
color: rgb(var(--primary-300));
|
|
border-color: rgb(var(--primary-400) / 0.3);
|
|
}
|