Advertisement
Lorenzo501

Make the bg color of the gist editor gray

Jul 5th, 2024
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. // ==UserScript==
  2. // @name Make the bg color of the gist editor gray
  3. // @version 2024-05-03
  4. // @description Fix white font color on white txt editor bg
  5. // @match https://gist.github.com/*
  6. // @grant GM_addStyle
  7. // @run-at document-end
  8. // ==/UserScript==
  9.  
  10. GM_addStyle(`
  11. div.CodeMirror.cm-s-github-light {
  12. background-color: gray!important;
  13. }
  14. .cm-s-github-light .CodeMirror-gutters {
  15. background-color: gray!important;
  16. }
  17. .cm-s-github-light .CodeMirror-lines {
  18. background-color: gray!important;
  19. }
  20. `);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement