index.css 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. body[data-jp-spellchecker-theme='background-box'] .CodeMirror .cm-spell-error:not(.cm-url):not(.cm-tag):not(.cm-word) {
  2. background: rgba(255, 0, 0, .15);
  3. }
  4. body[data-jp-spellchecker-theme='background-box'][data-jp-theme-light='false'] .CodeMirror .cm-spell-error:not(.cm-url):not(.cm-tag):not(.cm-word) {
  5. background: rgba(255, 0, 0, .35);
  6. text-shadow: 0 0 5px black;
  7. }
  8. body[data-jp-spellchecker-theme='wavy-underline'] .CodeMirror .cm-spell-error:not(.cm-url):not(.cm-tag):not(.cm-word) {
  9. text-decoration-line: underline;
  10. text-decoration-style: wavy;
  11. text-decoration-color: red;
  12. /* For Chrome */
  13. text-decoration-skip-ink: none;
  14. }
  15. body[data-jp-spellchecker-theme='wavy-underline'][data-jp-theme-light='false'] .CodeMirror .cm-spell-error:not(.cm-url):not(.cm-tag):not(.cm-word) {
  16. /* Use bright red for dark themes */
  17. text-decoration-color: #ff5722;
  18. }
  19. body[data-jp-spellchecker-theme='dotted-underline'] .CodeMirror .cm-spell-error:not(.cm-url):not(.cm-tag):not(.cm-word) {
  20. text-decoration-line: underline;
  21. text-decoration-style: dotted;
  22. text-decoration-color: red;
  23. /* For Chrome */
  24. text-decoration-skip-ink: none;
  25. }
  26. body[data-jp-spellchecker-theme='dotted-underline'][data-jp-theme-light='false'] .CodeMirror .cm-spell-error:not(.cm-url):not(.cm-tag):not(.cm-word) {
  27. /* Use bright red for dark themes */
  28. text-decoration-color: #ff5722;
  29. }