feat(markdown): add MarkdownEditView with lazy BlockNote editor + dark theme styles
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
// Shared style constants + BlockNote dark-theme CSS string for injection
|
||||
|
||||
export const MD_BLOCKNOTE_DARK_CSS = `
|
||||
.bn-container[data-theme="dark"] {
|
||||
--bn-colors-editor-background: #232336;
|
||||
--bn-colors-editor-text: #e0e0e0;
|
||||
--bn-colors-menu-background: #2a2a42;
|
||||
--bn-colors-menu-text: #e0e0e0;
|
||||
--bn-colors-tooltip-background: #333;
|
||||
--bn-colors-tooltip-text: #ccc;
|
||||
--bn-colors-hovered-background: rgba(121,80,242,0.15);
|
||||
--bn-colors-selected-background: rgba(121,80,242,0.25);
|
||||
--bn-colors-side-menu: #666;
|
||||
--bn-font-family: Inter, system-ui, sans-serif;
|
||||
}
|
||||
`;
|
||||
Reference in New Issue
Block a user