zf

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

colorful.ex (1923B)


      1 
      2 defmodule Makeup.Styles.HTML.ColorfulStyle do
      3   @moduledoc false
      4 
      5   @styles %{
      6     :error => "#F00 bg:#FAA",
      7     :keyword => "bold #080",
      8     :keyword_pseudo => "#038",
      9     :keyword_type => "#339",
     10     :name_attribute => "#00C",
     11     :name_builtin => "#007020",
     12     :name_class => "bold #B06",
     13     :name_constant => "bold #036",
     14     :name_decorator => "bold #555",
     15     :name_entity => "bold #800",
     16     :name_exception => "bold #F00",
     17     :name_function => "bold #06B",
     18     :name_label => "bold #970",
     19     :name_namespace => "bold #0e84b5",
     20     :name_tag => "#070",
     21     :name_variable => "#963",
     22     :name_variable_class => "#369",
     23     :name_variable_global => "bold #d70",
     24     :name_variable_instance => "#33B",
     25     :string => "bg:#fff0f0",
     26     :string_char => "#04D bg:",
     27     :string_doc => "#D42 bg:",
     28     :string_escape => "bold #666",
     29     :string_interpol => "bg:#eee",
     30     :string_other => "#D20",
     31     :string_regex => "bg:#fff0ff #000",
     32     :string_symbol => "#A60 bg:",
     33     :number => "bold #60E",
     34     :number_float => "bold #60E",
     35     :number_hex => "bold #058",
     36     :number_integer => "bold #00D",
     37     :number_oct => "bold #40E",
     38     :operator => "#333",
     39     :operator_word => "bold #000",
     40     :comment => "#888",
     41     :comment_preproc => "#579",
     42     :comment_special => "bold #cc0000",
     43     :generic_deleted => "#A00000",
     44     :generic_emph => "italic",
     45     :generic_error => "#FF0000",
     46     :generic_heading => "bold #000080",
     47     :generic_inserted => "#00A000",
     48     :generic_output => "#888",
     49     :generic_prompt => "bold #c65d09",
     50     :generic_strong => "bold",
     51     :generic_subheading => "bold #800080",
     52     :generic_traceback => "#04D"
     53 
     54   }
     55 
     56   alias Makeup.Styles.HTML.Style
     57 
     58   @style_struct Style.make_style(
     59       short_name: "colorful",
     60       long_name: "Colorful Style",
     61       background_color: "#ffffff",
     62       highlight_color: "#ffffcc",
     63       styles: @styles)
     64 
     65   def style() do
     66     @style_struct
     67   end
     68 end