monokai.ex (1126B)
1 2 defmodule Makeup.Styles.HTML.MonokaiStyle do 3 @moduledoc false 4 5 @styles %{ 6 :text => "#f8f8f2", 7 :error => "#960050 bg:#1e0010", 8 :keyword => "#66d9ef", 9 :keyword_namespace => "#f92672", 10 :name => "#f8f8f2", 11 :name_attribute => "#a6e22e", 12 :name_class => "#a6e22e", 13 :name_constant => "#66d9ef", 14 :name_decorator => "#a6e22e", 15 :name_exception => "#a6e22e", 16 :name_function => "#a6e22e", 17 :name_other => "#a6e22e", 18 :name_tag => "#f92672", 19 :literal => "#ae81ff", 20 :string => "#e6db74", 21 :string_escape => "#ae81ff", 22 :number => "#ae81ff", 23 :operator => "#f92672", 24 :punctuation => "#f8f8f2", 25 :comment => "#75715e", 26 :generic_deleted => "#f92672", 27 :generic_emph => "italic", 28 :generic_inserted => "#a6e22e", 29 :generic_strong => "bold", 30 :generic_subheading => "#75715e", 31 32 } 33 34 alias Makeup.Styles.HTML.Style 35 36 @style_struct Style.make_style( 37 short_name: "monokai", 38 long_name: "Monokai Style", 39 background_color: "#272822", 40 highlight_color: "#49483e", 41 styles: @styles) 42 43 def style() do 44 @style_struct 45 end 46 end