rainbow_dash.ex (1599B)
1 2 defmodule Makeup.Styles.HTML.RainbowDashStyle do 3 @moduledoc false 4 5 @styles %{ 6 :text => "#4d4d4d", 7 :error => "bg:#cc0000 #ffffff", 8 :keyword => "bold #2c5dcd", 9 :keyword_pseudo => "nobold", 10 :keyword_type => "#5918bb", 11 :name_attribute => "italic #2c5dcd", 12 :name_builtin => "bold #5918bb", 13 :name_class => "underline", 14 :name_constant => "#318495", 15 :name_decorator => "bold #ff8000", 16 :name_entity => "bold #5918bb", 17 :name_exception => "bold #5918bb", 18 :name_function => "bold #ff8000", 19 :name_tag => "bold #2c5dcd", 20 :string => "#00cc66", 21 :string_doc => "italic", 22 :string_escape => "bold #c5060b", 23 :string_other => "#318495", 24 :string_symbol => "bold #c5060b", 25 :number => "bold #5918bb", 26 :operator => "#2c5dcd", 27 :operator_word => "bold", 28 :comment => "italic #0080ff", 29 :comment_preproc => "noitalic", 30 :comment_special => "bold", 31 :generic_deleted => "border:#c5060b bg:#ffcccc", 32 :generic_emph => "italic", 33 :generic_error => "#ff0000", 34 :generic_heading => "bold #2c5dcd", 35 :generic_inserted => "border:#00cc00 bg:#ccffcc", 36 :generic_output => "#aaaaaa", 37 :generic_prompt => "bold #2c5dcd", 38 :generic_strong => "bold", 39 :generic_subheading => "bold #2c5dcd", 40 :generic_traceback => "#c5060b" 41 42 } 43 44 alias Makeup.Styles.HTML.Style 45 46 @style_struct Style.make_style( 47 short_name: "rainbow_dash", 48 long_name: "RainbowDash Style", 49 background_color: "#ffffff", 50 highlight_color: "#ffffcc", 51 styles: @styles) 52 53 def style() do 54 @style_struct 55 end 56 end