zf

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

perldoc.ex (1448B)


      1 
      2 defmodule Makeup.Styles.HTML.PerldocStyle do
      3   @moduledoc false
      4 
      5   @styles %{
      6     :error => "bg:#e3d2d2 #a61717",
      7     :keyword => "#8B008B bold",
      8     :keyword_type => "#00688B",
      9     :name_attribute => "#658b00",
     10     :name_builtin => "#658b00",
     11     :name_class => "#008b45 bold",
     12     :name_constant => "#00688B",
     13     :name_decorator => "#707a7c",
     14     :name_exception => "#008b45 bold",
     15     :name_function => "#008b45",
     16     :name_namespace => "#008b45 underline",
     17     :name_tag => "#8B008B bold",
     18     :name_variable => "#00688B",
     19     :string => "#CD5555",
     20     :string_heredoc => "#1c7e71 italic",
     21     :string_other => "#cb6c20",
     22     :string_regex => "#1c7e71",
     23     :number => "#B452CD",
     24     :operator_word => "#8B008B",
     25     :comment => "#228B22",
     26     :comment_preproc => "#1e889b",
     27     :comment_special => "#8B008B bold",
     28     :generic_deleted => "#aa0000",
     29     :generic_emph => "italic",
     30     :generic_error => "#aa0000",
     31     :generic_heading => "bold #000080",
     32     :generic_inserted => "#00aa00",
     33     :generic_output => "#888888",
     34     :generic_prompt => "#555555",
     35     :generic_strong => "bold",
     36     :generic_subheading => "bold #800080",
     37     :generic_traceback => "#aa0000"
     38 
     39   }
     40 
     41   alias Makeup.Styles.HTML.Style
     42 
     43   @style_struct Style.make_style(
     44       short_name: "perldoc",
     45       long_name: "Perldoc Style",
     46       background_color: "#eeeedd",
     47       highlight_color: "#ffffcc",
     48       styles: @styles)
     49 
     50   def style() do
     51     @style_struct
     52   end
     53 end