Module: Glib::JsonUi::StylingHelper

Defined in:
app/helpers/glib/json_ui/styling_helper.rb

Instance Method Summary collapse

Instance Method Details

#glib_color_errorObject



47
48
49
# File 'app/helpers/glib/json_ui/styling_helper.rb', line 47

def glib_color_error
  '#ff5252'
end

#glib_color_panel_backgroundObject

Color



39
40
41
# File 'app/helpers/glib/json_ui/styling_helper.rb', line 39

def glib_color_panel_background
  '#b3bac2'
end

#glib_color_successObject



43
44
45
# File 'app/helpers/glib/json_ui/styling_helper.rb', line 43

def glib_color_success
  '#4caf50'
end

#glib_json_image_avatar_urlObject



25
26
27
# File 'app/helpers/glib/json_ui/styling_helper.rb', line 25

def glib_json_image_avatar_url
  'https://www.wpjournalist.nl/wp-content/uploads/2019/03/avatar-jongen-voorbeeld-1.jpg'
end

#glib_json_image_blob_keyObject



29
30
31
# File 'app/helpers/glib/json_ui/styling_helper.rb', line 29

def glib_json_image_blob_key
  'o6CKzNt67PWnkPdUEnWMt7pr'
end

#glib_json_image_standard_urlObject

Image



21
22
23
# File 'app/helpers/glib/json_ui/styling_helper.rb', line 21

def glib_json_image_standard_url
  'https://cdn-images-1.medium.com/max/1200/1*Qc0XxYm-qAZL-7tjjlNfrg.png'
end

#glib_json_padding_bodyObject

Padding



7
8
9
# File 'app/helpers/glib/json_ui/styling_helper.rb', line 7

def glib_json_padding_body
  { x: 20, y: 12, top: 22 }
end

#glib_json_padding_listObject



11
12
13
# File 'app/helpers/glib/json_ui/styling_helper.rb', line 11

def glib_json_padding_list
  { top: 12, bottom: 12, left: 16, right: 16 }
end