fix(ui): static inline code contrast fix + chip styling
Opcion A pura: fondo de inline code y color corregidos directamente en los 42 themes JSON (darken 5 light / lighten 5 dark, contraste WCAG en light). Sin metodos nuevos en cssGenerator ni generadores. Se mantiene solo el padding/radius del chip en index.css y composerHighlight.ts.
This commit is contained in:
@@ -1117,8 +1117,10 @@ html:not(.dark) .chat-scroll {
|
||||
|
||||
/* Override Streamdown's hardcoded bg-muted for inline code - use theme colors instead */
|
||||
.markdown-content code[data-markdown="inline-code"] {
|
||||
background-color: var(--markdown-inline-code-bg, var(--surface-muted)) !important;
|
||||
background-color: var(--markdown-inline-code-bg, var(--surface-subtle)) !important;
|
||||
color: var(--markdown-inline-code, var(--foreground)) !important;
|
||||
padding: 0.125rem 0.3125rem;
|
||||
border-radius: 0.375rem;
|
||||
word-break: break-all;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user