myg 2.10.3 → 2.10.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +21 -21
  3. data/README.md +143 -143
  4. data/app/helpers/myg/theme_helper.rb +38 -34
  5. data/app/views/mozaic/myg/_button.html.erb +5 -5
  6. data/app/views/mozaic/myg/_checkbox.html.erb +27 -27
  7. data/app/views/mozaic/myg/_drawer.html.erb +2 -2
  8. data/app/views/mozaic/myg/_form-field.html.erb +64 -64
  9. data/app/views/mozaic/myg/_hint.html.erb +7 -7
  10. data/app/views/mozaic/myg/_input.html.erb +15 -15
  11. data/app/views/mozaic/myg/_label.html.erb +12 -12
  12. data/app/views/mozaic/myg/_progress.html.erb +15 -15
  13. data/app/views/mozaic/myg/_radio.html.erb +24 -24
  14. data/app/views/mozaic/myg/_slider.html.erb +22 -22
  15. data/app/views/mozaic/myg/_switch.html.erb +24 -24
  16. data/app/views/mozaic/myg/_tabs.html.erb +43 -43
  17. data/app/views/mozaic/myg/_textarea.html.erb +14 -12
  18. data/app/views/mozaic/myg/_titlebar.html.erb +12 -12
  19. data/app/views/mozaic/myg/_toast.html.erb +10 -10
  20. data/app/views/mozaic/myg/_toolbar.html.erb +2 -2
  21. data/lib/generators/myg/install_generator.rb +72 -46
  22. data/lib/generators/myg/tabs_generator.rb +30 -23
  23. data/lib/generators/myg/theme_generator.rb +9 -5
  24. data/lib/generators/templates/install/initializer.rb +35 -36
  25. data/lib/generators/templates/install/javascripts/action-button.js +9 -9
  26. data/lib/generators/templates/install/javascripts/button.js +9 -9
  27. data/lib/generators/templates/install/javascripts/card.js +9 -9
  28. data/lib/generators/templates/install/javascripts/checkbox.js +9 -9
  29. data/lib/generators/templates/install/javascripts/dialog.js +9 -9
  30. data/lib/generators/templates/install/javascripts/drawer.js +9 -9
  31. data/lib/generators/templates/install/javascripts/dropdown.js +9 -9
  32. data/lib/generators/templates/install/javascripts/footer.js +9 -9
  33. data/lib/generators/templates/install/javascripts/form-field.js +9 -9
  34. data/lib/generators/templates/install/javascripts/index.js.erb +24 -24
  35. data/lib/generators/templates/install/javascripts/menu.js +9 -9
  36. data/lib/generators/templates/install/javascripts/modal.js +9 -9
  37. data/lib/generators/templates/install/javascripts/progress.js +9 -9
  38. data/lib/generators/templates/install/javascripts/radio.js +9 -9
  39. data/lib/generators/templates/install/javascripts/select.js +9 -9
  40. data/lib/generators/templates/install/javascripts/sidebar.js +9 -9
  41. data/lib/generators/templates/install/javascripts/slide.js +9 -9
  42. data/lib/generators/templates/install/javascripts/slider.js +9 -9
  43. data/lib/generators/templates/install/javascripts/tabs.js +9 -9
  44. data/lib/generators/templates/install/javascripts/text.js +9 -9
  45. data/lib/generators/templates/install/javascripts/theme.js +9 -9
  46. data/lib/generators/templates/install/javascripts/titlebar.js +9 -9
  47. data/lib/generators/templates/install/javascripts/toast.js +9 -9
  48. data/lib/generators/templates/install/javascripts/toolbar.js +9 -9
  49. data/lib/generators/templates/install/javascripts/tooltip.js +9 -9
  50. data/lib/generators/templates/install/stylesheets/myg.scss +107 -0
  51. data/lib/generators/templates/install/stylesheets/theme/_custom.scss +30 -0
  52. data/lib/generators/templates/install/stylesheets/theme/theme.scss +3 -0
  53. data/lib/generators/templates/install/stylesheets/variables/_action-button.scss +3 -3
  54. data/lib/generators/templates/install/stylesheets/variables/_animate.scss +15 -16
  55. data/lib/generators/templates/install/stylesheets/variables/_base.scss +16 -17
  56. data/lib/generators/templates/install/stylesheets/variables/_font.scss +6 -6
  57. data/lib/generators/templates/install/stylesheets/variables/_footer.scss +3 -3
  58. data/lib/generators/templates/install/stylesheets/variables/_grid.scss +15 -15
  59. data/lib/generators/templates/install/stylesheets/variables/_layout.scss +4 -4
  60. data/lib/generators/templates/install/stylesheets/variables/_spacing.scss +1 -1
  61. data/lib/generators/templates/install/stylesheets/variables/_text.scss +48 -48
  62. data/lib/generators/templates/install/stylesheets/variables/_theme.scss +38 -7
  63. data/lib/generators/templates/tabs/_tab.html.erb +1 -1
  64. data/lib/generators/templates/tabs/_tabs.html.erb +5 -5
  65. data/lib/generators/templates/tabs/tab.html.erb +1 -1
  66. data/lib/generators/templates/theme/stylesheets/_theme.scss.erb +30 -27
  67. data/lib/myg.rb +5 -5
  68. data/lib/myg/configuration.rb +38 -39
  69. data/lib/myg/engine.rb +8 -6
  70. data/lib/myg/railtie.rb +36 -34
  71. data/lib/myg/version.rb +3 -3
  72. data/vendor/assets/javascripts/myg.js +40 -16513
  73. data/vendor/assets/stylesheets/myg.css +33154 -696
  74. metadata +46 -36
  75. data/CHANGELOG.md +0 -170
  76. data/lib/generators/templates/install/javascripts/input.js +0 -9
  77. data/lib/generators/templates/install/stylesheets/_myg.sass +0 -77
  78. data/lib/generators/templates/install/stylesheets/_variables.sass +0 -12
  79. data/lib/generators/templates/install/stylesheets/myg.sass +0 -8
  80. data/lib/generators/templates/install/stylesheets/theme/_default.scss +0 -30
  81. data/lib/generators/templates/install/stylesheets/theme/theme.sass +0 -2
@@ -1,8 +0,0 @@
1
- // Myg variables
2
- @import "_variables"
3
-
4
- // Myg
5
- @import "_myg"
6
-
7
- // Myg enhancements
8
- @import "theme/theme"
@@ -1,30 +0,0 @@
1
- $myg-theme: (
2
- accent: (
3
- light: #4063e8,
4
- base: #042ecb,
5
- dark: #052ab3,
6
- contrast: #ffffff
7
- ),
8
- text: (
9
- lighter: #bec7cf,
10
- light: #97a4b0,
11
- base: #657786,
12
- dark: #3d4553,
13
- darker: #14171A
14
- ),
15
- background: (
16
- lighter: #fcfcfc,
17
- light: #ffffff,
18
- base: #ffffff,
19
- dark: #FBFBFD,
20
- darker: #ecf2f7
21
- ),
22
- border: #dce2e7,
23
- box-shadow: rgba(#000, .06),
24
- error: #f6809a,
25
- success: #6adb83,
26
- overlay: (
27
- light: transparentize(#e7eCf0, 0.13),
28
- dark: transparentize(#14171A, 0.87),
29
- )
30
- );
@@ -1,2 +0,0 @@
1
- html
2
- // +myg-theme($myg-theme--custom)