syntax.less 729 B

1234567891011121314151617181920212223242526272829303132333435
  1. @import "syntax-variables";
  2. atom-text-editor {
  3. .lines {
  4. .markup {
  5. &.git-commit {
  6. &.changed {
  7. color: @syntax-color-modified;
  8. }
  9. &.deleted {
  10. color: @syntax-color-removed;
  11. }
  12. &.inserted {
  13. color: @syntax-color-added;
  14. }
  15. }
  16. }
  17. }
  18. }
  19. .define-selection-flash-color-if-not-defined() { @syntax-selection-flash-color: rgba(100, 255, 100, 0.7); }
  20. .define-selection-flash-color-if-not-defined();
  21. @keyframes flash {
  22. from { background-color: @syntax-selection-flash-color; }
  23. to { background-color: null; }
  24. }
  25. atom-text-editor .flash.selection .region {
  26. animation-name: flash;
  27. animation-duration: .5s;
  28. animation-iteration-count: 1;
  29. }