zf

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

bw.ex (955B)


      1 
      2 defmodule Makeup.Styles.HTML.BlackWhiteStyle do
      3   @moduledoc false
      4 
      5   @styles %{
      6     :error => "border:#FF0000",
      7     :keyword => "bold",
      8     :keyword_pseudo => "nobold",
      9     :keyword_type => "nobold",
     10     :name_class => "bold",
     11     :name_entity => "bold",
     12     :name_exception => "bold",
     13     :name_namespace => "bold",
     14     :name_tag => "bold",
     15     :string => "italic",
     16     :string_escape => "bold",
     17     :string_interpol => "bold",
     18     :operator_word => "bold",
     19     :comment => "italic",
     20     :comment_preproc => "noitalic",
     21     :generic_emph => "italic",
     22     :generic_heading => "bold",
     23     :generic_prompt => "bold",
     24     :generic_strong => "bold",
     25     :generic_subheading => "bold",
     26 
     27   }
     28 
     29   alias Makeup.Styles.HTML.Style
     30 
     31   @style_struct Style.make_style(
     32       short_name: "bw",
     33       long_name: "BlackWhite Style",
     34       background_color: "#ffffff",
     35       highlight_color: "#ffffcc",
     36       styles: @styles)
     37 
     38   def style() do
     39     @style_struct
     40   end
     41 end