A JavaScript development environment for Emacs https://indium.readthedocs.io
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

91 lines
2.5 KiB

  1. ;;; indium-faces.el --- Faces for indium -*- lexical-binding: t; -*-
  2. ;; Copyright (C) 2016-2018 Nicolas Petton
  3. ;; Author: Nicolas Petton <nicolas@petton.fr>
  4. ;; Keywords: faces
  5. ;; This program is free software; you can redistribute it and/or modify
  6. ;; it under the terms of the GNU General Public License as published by
  7. ;; the Free Software Foundation, either version 3 of the License, or
  8. ;; (at your option) any later version.
  9. ;; This program is distributed in the hope that it will be useful,
  10. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. ;; GNU General Public License for more details.
  13. ;; You should have received a copy of the GNU General Public License
  14. ;; along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. ;;; Commentary:
  16. ;;
  17. ;;; Code:
  18. (require 'cus-edit)
  19. (defgroup indium-faces nil
  20. "Faces used in indium."
  21. :prefix "indium-"
  22. :group 'indium)
  23. (defface indium-keyword-face
  24. '((t (:inherit font-lock-keyword-face)))
  25. "Face for the keywords."
  26. :group 'indium-faces)
  27. (defface indium-button-face
  28. '((t (:inherit custom-button)))
  29. "Face for buttons."
  30. :group 'indium-faces)
  31. (defface indium-header-face
  32. '((t (:inherit header-line)))
  33. "Face use in headers."
  34. :group 'indium-faces)
  35. (defface indium-repl-prompt-face
  36. '((t (:inherit indium-keyword-face)))
  37. "Face for the prompt in the REPL buffer."
  38. :group 'indium-faces)
  39. (defface indium-repl-stdout-face
  40. '((t (:inherit font-lock-string-face)))
  41. "Face for the STDOUT output in the REPL buffer."
  42. :group 'indium-faces)
  43. (defface indium-repl-error-face
  44. '((t (:inherit font-lock-warning-face)))
  45. "Face for the error output in the REPL buffer."
  46. :group 'indium-faces)
  47. (defface indium-link-face
  48. '((t (:inherit link)))
  49. "Face used when outputting objects to which we can navigate to."
  50. :group 'indium-faces)
  51. (defface indium-highlight-face
  52. '((t (:inherit highlight)))
  53. "Face used when highlighting regions of a buffer."
  54. :group 'indium-faces)
  55. (defface indium-litable-face
  56. '((t (:inherit font-lock-comment-face :slant italic)))
  57. "Face used to display inline values in debuggers."
  58. :group 'indium-faces)
  59. (defface indium-frame-url-face
  60. '((t (:inherit font-lock-comment-face)))
  61. "Face used to display urls of stack frames."
  62. :group 'indium-faces)
  63. (defface indium-breakpoint-face
  64. '((t (:inherit fringe :foreground "#ff6c6b")))
  65. "Face used for breakpoints."
  66. :group 'indium-faces)
  67. (provide 'indium-faces)
  68. ;;; indium-faces.el ends here