lovelace.ex (1973B)
1 2 defmodule Makeup.Styles.HTML.LovelaceStyle do 3 @moduledoc false 4 5 @styles %{ 6 :error => "bg:#a848a8", 7 :keyword => "#2838b0", 8 :keyword_constant => "italic #444444", 9 :keyword_declaration => "italic", 10 :keyword_type => "italic", 11 :name_attribute => "#388038", 12 :name_builtin => "#388038", 13 :name_builtin_pseudo => "italic", 14 :name_class => "#287088", 15 :name_constant => "#b85820", 16 :name_decorator => "#287088", 17 :name_entity => "#709030", 18 :name_exception => "#908828", 19 :name_function => "#785840", 20 :name_function_magic => "#b85820", 21 :name_label => "#289870", 22 :name_namespace => "#289870", 23 :name_tag => "#2838b0", 24 :name_variable => "#b04040", 25 :name_variable_global => "#908828", 26 :name_variable_magic => "#b85820", 27 :string => "#b83838", 28 :string_affix => "#444444", 29 :string_char => "#a848a8", 30 :string_delimiter => "#b85820", 31 :string_doc => "italic #b85820", 32 :string_escape => "#709030", 33 :string_interpol => "underline", 34 :string_other => "#a848a8", 35 :string_regex => "#a848a8", 36 :number => "#444444", 37 :operator => "#666666", 38 :operator_word => "#a848a8", 39 :punctuation => "#888888", 40 :comment => "italic #888888", 41 :comment_hashbang => "#287088", 42 :comment_multiline => "#888888", 43 :comment_preproc => "noitalic #289870", 44 :generic_deleted => "#c02828", 45 :generic_emph => "italic", 46 :generic_error => "#c02828", 47 :generic_heading => "#666666", 48 :generic_inserted => "#388038", 49 :generic_output => "#666666", 50 :generic_prompt => "#444444", 51 :generic_strong => "bold", 52 :generic_subheading => "#444444", 53 :generic_traceback => "#2838b0" 54 55 } 56 57 alias Makeup.Styles.HTML.Style 58 59 @style_struct Style.make_style( 60 short_name: "lovelace", 61 long_name: "Lovelace Style", 62 background_color: "#ffffff", 63 highlight_color: "#ffffcc", 64 styles: @styles) 65 66 def style() do 67 @style_struct 68 end 69 end