Created
November 28, 2020 00:11
-
-
Save samuelhorn/c4f252786f9bf0b1fb6189d54c96e1ae to your computer and use it in GitHub Desktop.
Vscode pacman caret
This file contains hidden or 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
.monaco-editor .cursors-layer .cursor { | |
background: transparent; | |
border-radius: 100%; | |
width: 30px !important; | |
background: conic-gradient(yellow 55deg, transparent 0 125deg, yellow 0); | |
transform: rotateZ(180deg); | |
animation: eat 0.5s linear infinite; | |
} | |
@keyframes eat { | |
0%, | |
50% { | |
background: conic-gradient(yellow 55deg, transparent 0 125deg, yellow 0); | |
} | |
25% { | |
background: conic-gradient(yellow 55deg, yellow 0); | |
} | |
} |
Haha cool!
- Save this gist as a CSS file anywhere
- Add this extention to VSCode: https://marketplace.visualstudio.com/items?itemName=be5invis.vscode-custom-css
- Add the following lines to your VSCode config:
"vscode_custom_css.imports": ["file:///source/to/your/file.css"],
"vscode_custom_css.policy": true,
Change the source to where you put your css file.
Hi, question... When you say βAdd the following lines to your VSCode configβ, you mean go to settings.json and add these two lines of code, right? Thank you so much! ππ»ππ»
Exactly, then you save, press cmd+shift+p and run "Reload custom CSS and JS", then restart VSCode.
@samuelhorn Works perfectly! Thank you so much! ππ»ππ»
No problem. Can't imagine you want that there for long though! π
@samuelhorn Hahaha! I don't think so, π
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is rad!
Where does this go in vscode, I would like to implement, and thanks for the gist/share :)