Module: Glib::JsonUi::StylingHelper
- Defined in:
- app/helpers/glib/json_ui/styling_helper.rb
Instance Method Summary collapse
- #glib_color_error ⇒ Object
-
#glib_color_panel_background ⇒ Object
Color.
- #glib_color_success ⇒ Object
- #glib_json_image_avatar_url ⇒ Object
- #glib_json_image_blob_key ⇒ Object
-
#glib_json_image_standard_url ⇒ Object
Image.
-
#glib_json_padding_body ⇒ Object
Padding.
- #glib_json_padding_list ⇒ Object
Instance Method Details
#glib_color_error ⇒ Object
47 48 49 |
# File 'app/helpers/glib/json_ui/styling_helper.rb', line 47 def glib_color_error '#ff5252' end |
#glib_color_panel_background ⇒ Object
Color
39 40 41 |
# File 'app/helpers/glib/json_ui/styling_helper.rb', line 39 def glib_color_panel_background '#b3bac2' end |
#glib_color_success ⇒ Object
43 44 45 |
# File 'app/helpers/glib/json_ui/styling_helper.rb', line 43 def glib_color_success '#4caf50' end |
#glib_json_image_avatar_url ⇒ Object
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_key ⇒ Object
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_url ⇒ Object
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_body ⇒ Object
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_list ⇒ Object
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 |