Created
August 28, 2016 22:44
-
-
Save irrationalistic/f223062a09ada8b76af1a6dbde2a07b3 to your computer and use it in GitHub Desktop.
Custom styling for vim-mode-plus status line in Atom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.vim-mode-plus-status(@color) { | |
color: contrast(@color); | |
background: @color; | |
border-radius: 3px; | |
line-height: 1em; | |
padding: 5px 8px; | |
} | |
atom-workspace.theme-atom-material-ui { | |
.status-bar-vim-mode-plus-insert { | |
.vim-mode-plus-status(@background-color-success); | |
} | |
.status-bar-vim-mode-plus-normal { | |
.vim-mode-plus-status(@background-color-info); | |
} | |
.status-bar-vim-mode-plus-visual { | |
.vim-mode-plus-status(@background-color-warning); | |
} | |
.status-bar-vim-mode-plus-operator-pending::after { | |
content: '...'; | |
.vim-mode-plus-status(@background-color-error); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment