Changing cursor color in vim mode

I wanted to change color of block cursor that appears in vim keymap. I am aware of way to change it using css class but that has it’s setback when the theme of editor is changed. Shouldn’t the cursor color change with themes of editor

Edit : I went through few theme files. Cursor changes with only some themes the ones that i noticed had color changing were solarized & abbott themes only. I have found that the cursor color can be changed by changing colors in these three classes

.CodeMirror-cursor{
    background-color: #A5A4A480 !important;
}

.CodeMirror-cursors{
    background-color: #A5A4A480 !important;
}

.cm-animate-fat-cursor{
    background-color: #A5A4A480 !important;
}

Not all themes style all classes, indeed (PRs that fill gaps here are welcome).

Ok I will be making a pr thank you man! :slight_smile: