Commit 99b9fd5
committed
🐛(frontend) fix editor canvas background and dropdown check in dark mode
Setting the BlockNote CSS var lost to BlockNote's own
.bn-root[data-color-scheme=dark] rule, so the editor kept Mantine's dark
surface. Set the background directly on .bn-root .bn-editor (which outranks
BlockNote's .bn-editor rule) so the canvas shares the page background in any
theme. Also make the dropdown selected-check use the theme-aware neutral text
colour instead of a fixed gray that was invisible on the dark menu.
Signed-off-by: MashdorDev <dorzairi@ymail.com>1 parent 80846f4 commit 99b9fd5
2 files changed
Lines changed: 4 additions & 4 deletions
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | 11 | | |
15 | 12 | | |
16 | 13 | | |
| |||
24 | 21 | | |
25 | 22 | | |
26 | 23 | | |
| 24 | + | |
| 25 | + | |
27 | 26 | | |
28 | 27 | | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments