Advertisement
antijingoist

Custom Visual Studio Code Cursor

Aug 22nd, 2024
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.01 KB | Source Code | 0 0
  1. // Requires APC Customize UI++ Extension for VSCodium/VSCode
  2.  
  3.     "apc.stylesheet": {
  4.         ".monaco-editor .cursors-layer.cursor-smooth-caret-animation > .cursor" : {
  5.             "transition": "all 0.15s"
  6.         },
  7.  
  8.         ".monaco-editor .cursors-layer.cursor-underline-style > .cursor": {
  9.             "border-bottom": "2px solid rgb(220, 138, 120)",
  10.             "border-top": "2px solid rgb(220, 138, 120)",
  11.             "border-radius" : "3px",
  12.             "background": "transparent !important",
  13.             "height": "1rem !important",
  14.             "width": "1em !important",
  15.             "overflow": "visible !important",
  16.             "margin-top": "-1rem",
  17.             "box-sizing": "content-box",
  18.             "animations-name": "none !important"
  19.         },
  20.  
  21.         ".cursor-smooth" : {
  22.             "animation": "vdos-right 0.5s ease-in-out 0s 20 alternate;"
  23.         },
  24.  
  25.         ".monaco-editor .cursors-layer.cursor-underline-style" : {
  26.             "overflow":"visible"
  27.         },
  28.         ".monaco-editor .cursors-layer.cursor-underline-style > .cursor::before": {
  29.             "height":"0.9rem !important",
  30.             "background": "transparent !important",
  31.             "border-right-width": "2px !important",
  32.             "border-right-style": "solid !important",
  33.             "border-right":"2px solid rgb(220, 138, 120)",
  34.             "border-bottom" : "3px solid red",
  35.             "border-radius" : "2px",
  36.             "display": "block",
  37.             "content": "' '",
  38.             "position": "absolute",
  39.             "box-sizing": "content-box",
  40.             "width": "1em",
  41.             "left": "-1em",
  42.             "transition" : "all 1s !important",
  43.             "animation": "monaco-cursor-smooth 0.5s ease-in-out 0s infinite alternate"
  44.         },
  45.  
  46.         "@keyframes vdos-right": {
  47.             "0%" : {
  48.                 "opacity" : "100%"
  49.             }
  50.         }
  51.     },
  52.     "editor.cursorSmoothCaretAnimation": "on",
  53.     "editor.cursorBlinking": "smooth",
  54.     "editor.cursorStyle": "underline",
  55.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement