Guest User

Untitled

a guest
Jun 17th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.43 KB | None | 0 0
  1. {
  2. "name": "Rust color scheme",
  3. "rules": [
  4. /* --- grey items --- */
  5. {
  6. "scope": "comment",
  7. "foreground": "color(var(black) blend(#fff 50%))",
  8. },
  9. /* --- red items --- */
  10. {
  11. "scope": "storage.type.rust, punctuation.definition.generic.begin, punctuation.definition.generic.end, punctuation.definition.parens.begin, punctuation.definition.parens.end, punctuation.definition.brackets.begin, punctuation.definition.brackets.end, storage.type.impl.rust, meta.function.return-type.rust, variable.language, meta.function.parameters.rust, storage.type.impl.rust, storage.type.module.rust, storage.type.struct.rust, storage.type.enum.rust, keyword.other.rust",
  12. "foreground": "var(red)"
  13. },
  14. {
  15. "scope": "invalid",
  16. "foreground": "var(white)",
  17. "background": "var(magenta)"
  18. },
  19. {
  20. "scope": "storage.type.function.rust, storage.modifier.lifetime.rust, keyword.control.rust, keyword.operator.rust, punctuation.accessor.dot.rust, keyword.control.rust, variable.other, keyword.operator.rust",
  21. "foreground": "var(magenta)"
  22. },
  23. /* --- blue items --- */
  24. {
  25. "scope": "variable.other.constant, constant, variable.other.member, storage.type.rust, meta.generic.rust, support.type",
  26. "foreground": "var(cyan)"
  27. },
  28. /* --- green items --- */
  29. {
  30. "scope": "storage.modifier.rust, variable.other.member, variable.member, support.function.rust, entity.name.macro.rust, support.macro.rust",
  31. "foreground": "var(green)"
  32. },
  33. /* --- yellow items --- */
  34. {
  35. "scope": "string, variable.parameter, entity.name.function, entity.name - (entity.name.section | entity.name.tag | entity.name.label), meta.path",
  36. "foreground": "var(yellow)",
  37. },
  38. ],
  39. "variables":
  40. {
  41. "black": "#1e272e",
  42. "white": "#ffffff",
  43. "red": "#ff3f34",
  44. "green": "#05c46b",
  45. "yellow": "#ffa801",
  46. "blue": "#3c40c6",
  47. "magenta": "#f53b57",
  48. "cyan": "#0fbcf9",
  49. "white": "#ffffff",
  50. },
  51. "globals":
  52. {
  53. "background": "var(black)",
  54. "foreground": "#eaeaea",
  55. "line_highlight": "#343c42",
  56. "caret": "#f2777a",
  57. "selection": "var(magenta)",
  58. "selection_foreground": "var(white)"
  59. },
  60. }
Add Comment
Please, Sign In to add comment