Files
relaticle-comments/resources/css/comments.css
ilyapashayan bb88583f09 fix: match mention badge style exactly to Filament RichEditor spec
Filament uses: bg-primary-50 text-primary-600 rounded px-1 font-medium
dark: bg-primary-400/10 text-primary-400 — no border, 0.25rem radius.
Previous commit added incorrect border/padding/font-weight overrides.
2026-04-01 01:24:25 +04:00

19 lines
481 B
CSS

.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;
transition: background-color 0.15s ease, color 0.15s ease;
}
.dark .comment-mention {
background-color: rgb(var(--primary-400) / 0.1);
color: rgb(var(--primary-400));
}