30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# File 'lib/trace_viz/defaults/themes.rb', line 30
def apply_solarized_theme
colors = {
default: SOLARIZED[:base0],
info: SOLARIZED[:blue],
success: SOLARIZED[:green],
error: SOLARIZED[:red],
warn: SOLARIZED[:yellow],
start: SOLARIZED[:blue],
processing: SOLARIZED[:base01],
finish: SOLARIZED[:magenta],
exported: SOLARIZED[:green],
skipped: SOLARIZED[:base01],
stats: [:bold, :underline, SOLARIZED[:base2]],
trace_indent: SOLARIZED[:base03],
trace_depth: SOLARIZED[:blue],
trace_depth_prefix: [:italic, SOLARIZED[:base02]],
trace_depth_open: SOLARIZED[:base02],
trace_depth_value: SOLARIZED[:red],
trace_depth_close: SOLARIZED[:base03],
trace_method_name: SOLARIZED[:cyan],
trace_method_class: [:bold, SOLARIZED[:green]],
trace_method_sign: SOLARIZED[:violet],
trace_method_action: [:bold, SOLARIZED[:blue]],
trace_source_location: SOLARIZED[:base01],
trace_params_key: SOLARIZED[:orange],
trace_params_value: SOLARIZED[:base00],
trace_result_prefix: SOLARIZED[:base1],
trace_result_value: SOLARIZED[:base3],
trace_execution_time: SOLARIZED[:cyan],
}
Defaults.action_colors = colors
end
|