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.
This commit is contained in:
@@ -1,20 +1,18 @@
|
|||||||
.comment-mention {
|
.comment-mention {
|
||||||
display: inline-flex;
|
|
||||||
align-items: center;
|
|
||||||
background-color: rgb(var(--primary-50));
|
background-color: rgb(var(--primary-50));
|
||||||
color: rgb(var(--primary-700));
|
color: rgb(var(--primary-600));
|
||||||
border: 1px solid rgb(var(--primary-200));
|
margin-top: 0;
|
||||||
border-radius: 0.375rem;
|
margin-bottom: 0;
|
||||||
padding: 0.0625rem 0.375rem;
|
display: inline-block;
|
||||||
font-size: 0.875em;
|
border-radius: 0.25rem;
|
||||||
font-weight: 600;
|
padding-left: 0.25rem;
|
||||||
line-height: 1.5;
|
padding-right: 0.25rem;
|
||||||
|
font-weight: 500;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
|
transition: background-color 0.15s ease, color 0.15s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark .comment-mention {
|
.dark .comment-mention {
|
||||||
background-color: rgb(var(--primary-400) / 0.15);
|
background-color: rgb(var(--primary-400) / 0.1);
|
||||||
color: rgb(var(--primary-300));
|
color: rgb(var(--primary-400));
|
||||||
border-color: rgb(var(--primary-400) / 0.3);
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user