zf

zenflows testing
git clone https://s.sonu.ch/~srfsh/zf.git
Log | Files | Refs | Submodules | README | LICENSE

emacs.ex (1672B)


      1 
      2 defmodule Makeup.Styles.HTML.EmacsStyle do
      3   @moduledoc false
      4 
      5   @styles %{
      6     :error => "border:#FF0000",
      7     :keyword => "bold #AA22FF",
      8     :keyword_pseudo => "nobold",
      9     :keyword_type => "bold #00BB00",
     10     :name_attribute => "#BB4444",
     11     :name_builtin => "#AA22FF",
     12     :name_class => "#0000FF",
     13     :name_constant => "#880000",
     14     :name_decorator => "#AA22FF",
     15     :name_entity => "bold #999999",
     16     :name_exception => "bold #D2413A",
     17     :name_function => "#00A000",
     18     :name_label => "#A0A000",
     19     :name_namespace => "bold #0000FF",
     20     :name_tag => "bold #008000",
     21     :name_variable => "#B8860B",
     22     :string => "#BB4444",
     23     :string_doc => "italic",
     24     :string_escape => "bold #BB6622",
     25     :string_interpol => "bold #BB6688",
     26     :string_other => "#008000",
     27     :string_regex => "#BB6688",
     28     :string_symbol => "#B8860B",
     29     :number => "#666666",
     30     :operator => "#666666",
     31     :operator_word => "bold #AA22FF",
     32     :comment => "italic #008800",
     33     :comment_preproc => "noitalic",
     34     :comment_special => "noitalic bold",
     35     :generic_deleted => "#A00000",
     36     :generic_emph => "italic",
     37     :generic_error => "#FF0000",
     38     :generic_heading => "bold #000080",
     39     :generic_inserted => "#00A000",
     40     :generic_output => "#888",
     41     :generic_prompt => "bold #000080",
     42     :generic_strong => "bold",
     43     :generic_subheading => "bold #800080",
     44     :generic_traceback => "#04D"
     45 
     46   }
     47 
     48   alias Makeup.Styles.HTML.Style
     49 
     50   @style_struct Style.make_style(
     51       short_name: "emacs",
     52       long_name: "Emacs Style",
     53       background_color: "#f8f8f8",
     54       highlight_color: "#ffffcc",
     55       styles: @styles)
     56 
     57   def style() do
     58     @style_struct
     59   end
     60 end