myg 2.10.3 → 2.10.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +21 -21
- data/README.md +143 -143
- data/app/helpers/myg/theme_helper.rb +38 -34
- data/app/views/mozaic/myg/_button.html.erb +5 -5
- data/app/views/mozaic/myg/_checkbox.html.erb +27 -27
- data/app/views/mozaic/myg/_drawer.html.erb +2 -2
- data/app/views/mozaic/myg/_form-field.html.erb +64 -64
- data/app/views/mozaic/myg/_hint.html.erb +7 -7
- data/app/views/mozaic/myg/_input.html.erb +15 -15
- data/app/views/mozaic/myg/_label.html.erb +12 -12
- data/app/views/mozaic/myg/_progress.html.erb +15 -15
- data/app/views/mozaic/myg/_radio.html.erb +24 -24
- data/app/views/mozaic/myg/_slider.html.erb +22 -22
- data/app/views/mozaic/myg/_switch.html.erb +24 -24
- data/app/views/mozaic/myg/_tabs.html.erb +43 -43
- data/app/views/mozaic/myg/_textarea.html.erb +14 -12
- data/app/views/mozaic/myg/_titlebar.html.erb +12 -12
- data/app/views/mozaic/myg/_toast.html.erb +10 -10
- data/app/views/mozaic/myg/_toolbar.html.erb +2 -2
- data/lib/generators/myg/install_generator.rb +72 -46
- data/lib/generators/myg/tabs_generator.rb +30 -23
- data/lib/generators/myg/theme_generator.rb +9 -5
- data/lib/generators/templates/install/initializer.rb +35 -36
- data/lib/generators/templates/install/javascripts/action-button.js +9 -9
- data/lib/generators/templates/install/javascripts/button.js +9 -9
- data/lib/generators/templates/install/javascripts/card.js +9 -9
- data/lib/generators/templates/install/javascripts/checkbox.js +9 -9
- data/lib/generators/templates/install/javascripts/dialog.js +9 -9
- data/lib/generators/templates/install/javascripts/drawer.js +9 -9
- data/lib/generators/templates/install/javascripts/dropdown.js +9 -9
- data/lib/generators/templates/install/javascripts/footer.js +9 -9
- data/lib/generators/templates/install/javascripts/form-field.js +9 -9
- data/lib/generators/templates/install/javascripts/index.js.erb +24 -24
- data/lib/generators/templates/install/javascripts/menu.js +9 -9
- data/lib/generators/templates/install/javascripts/modal.js +9 -9
- data/lib/generators/templates/install/javascripts/progress.js +9 -9
- data/lib/generators/templates/install/javascripts/radio.js +9 -9
- data/lib/generators/templates/install/javascripts/select.js +9 -9
- data/lib/generators/templates/install/javascripts/sidebar.js +9 -9
- data/lib/generators/templates/install/javascripts/slide.js +9 -9
- data/lib/generators/templates/install/javascripts/slider.js +9 -9
- data/lib/generators/templates/install/javascripts/tabs.js +9 -9
- data/lib/generators/templates/install/javascripts/text.js +9 -9
- data/lib/generators/templates/install/javascripts/theme.js +9 -9
- data/lib/generators/templates/install/javascripts/titlebar.js +9 -9
- data/lib/generators/templates/install/javascripts/toast.js +9 -9
- data/lib/generators/templates/install/javascripts/toolbar.js +9 -9
- data/lib/generators/templates/install/javascripts/tooltip.js +9 -9
- data/lib/generators/templates/install/stylesheets/myg.scss +107 -0
- data/lib/generators/templates/install/stylesheets/theme/_custom.scss +30 -0
- data/lib/generators/templates/install/stylesheets/theme/theme.scss +3 -0
- data/lib/generators/templates/install/stylesheets/variables/_action-button.scss +3 -3
- data/lib/generators/templates/install/stylesheets/variables/_animate.scss +15 -16
- data/lib/generators/templates/install/stylesheets/variables/_base.scss +16 -17
- data/lib/generators/templates/install/stylesheets/variables/_font.scss +6 -6
- data/lib/generators/templates/install/stylesheets/variables/_footer.scss +3 -3
- data/lib/generators/templates/install/stylesheets/variables/_grid.scss +15 -15
- data/lib/generators/templates/install/stylesheets/variables/_layout.scss +4 -4
- data/lib/generators/templates/install/stylesheets/variables/_spacing.scss +1 -1
- data/lib/generators/templates/install/stylesheets/variables/_text.scss +48 -48
- data/lib/generators/templates/install/stylesheets/variables/_theme.scss +38 -7
- data/lib/generators/templates/tabs/_tab.html.erb +1 -1
- data/lib/generators/templates/tabs/_tabs.html.erb +5 -5
- data/lib/generators/templates/tabs/tab.html.erb +1 -1
- data/lib/generators/templates/theme/stylesheets/_theme.scss.erb +30 -27
- data/lib/myg.rb +5 -5
- data/lib/myg/configuration.rb +38 -39
- data/lib/myg/engine.rb +8 -6
- data/lib/myg/railtie.rb +36 -34
- data/lib/myg/version.rb +3 -3
- data/vendor/assets/javascripts/myg.js +40 -16513
- data/vendor/assets/stylesheets/myg.css +33154 -696
- metadata +46 -36
- data/CHANGELOG.md +0 -170
- data/lib/generators/templates/install/javascripts/input.js +0 -9
- data/lib/generators/templates/install/stylesheets/_myg.sass +0 -77
- data/lib/generators/templates/install/stylesheets/_variables.sass +0 -12
- data/lib/generators/templates/install/stylesheets/myg.sass +0 -8
- data/lib/generators/templates/install/stylesheets/theme/_default.scss +0 -30
- data/lib/generators/templates/install/stylesheets/theme/theme.sass +0 -2
@@ -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
|
-
);
|