Still doesn’t work unfortunately. I changed it to:
EditorView.baseTheme({
".cm-tooltip-lint": {
width: "80%"
},
".cm-tooltip-cursor": {
border: "none",
padding: "5px",
borderRadius: "4px",
"& .cm-tooltip-arrow:before": {
borderTopColor: "#66b !important"
},
"& .cm-tooltip-arrow:after": {
borderTopColor: "transparent",
color: "red"
}
},
"&light .cm-tooltip-cursor" : {
color: "red"
},
"&dark .cm-tooltip-cursor" : {
color: "red"
}
})
But the background is still dark for both dark and light theme
When I click on inspect I get these classes (I also tried targeting those, like “.cm-tooltip or .cm-tooltip-hover”, but nothing changed):