plug 0.1.28 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +9 -0
  3. data/app/helpers/plug/application_helper.rb +10 -0
  4. data/app/views/layouts/plug/application.html.haml +0 -2
  5. data/app/views/plug/shared/_head.html.haml +1 -3
  6. data/lib/generators/plug/install_generator.rb +18 -0
  7. data/lib/generators/plug/templates/plug.vite.js +2 -0
  8. data/lib/plug/version.rb +1 -1
  9. metadata +9 -39
  10. data/app/assets/config/plug_manifest.js +0 -3
  11. data/app/assets/images/plug/favicon.png +0 -0
  12. data/app/assets/javascripts/plug/application.js +0 -18
  13. data/app/assets/javascripts/plug/trix-core.js +0 -12
  14. data/app/assets/stylesheets/plug/_settings.scss +0 -865
  15. data/app/assets/stylesheets/plug/application.scss +0 -43
  16. data/app/assets/stylesheets/plug/blocks/_alert.scss +0 -5
  17. data/app/assets/stylesheets/plug/blocks/_menu.scss +0 -11
  18. data/app/assets/stylesheets/plug/blocks/_nav.scss +0 -9
  19. data/app/assets/stylesheets/plug/blocks/_notice.scss +0 -4
  20. data/app/assets/stylesheets/plug/blocks/_state.scss +0 -11
  21. data/app/assets/stylesheets/plug/blocks/_task-button.scss +0 -3
  22. data/app/assets/stylesheets/plug/foundation_and_overrides.scss +0 -59
  23. data/app/assets/stylesheets/plug/milligram.scss +0 -635
  24. data/app/assets/stylesheets/plug/mixins/_bem.scss +0 -17
  25. data/app/assets/stylesheets/plug/normalize.scss +0 -447
  26. data/app/assets/stylesheets/plug/partials/_main.scss +0 -4
  27. data/app/assets/stylesheets/plug/partials/_utils.scss +0 -3
  28. data/app/assets/stylesheets/plug/trix-overrides.scss +0 -8
  29. data/app/assets/stylesheets/plug/trix.scss +0 -374
  30. data/app/assets/stylesheets/plug/variables/_colors.scss +0 -8
  31. data/app/assets/stylesheets/plug/variables/_typography.scss +0 -5
@@ -1,43 +0,0 @@
1
- /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
- *
8
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
- * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10
- * files in this directory. Styles in this file should be added after the last require_* statement.
11
- * It is generally better to create a new file per style scope.
12
- *
13
- *= require_self
14
- */
15
-
16
- @import 'normalize';
17
- @import 'milligram';
18
- @import 'trix';
19
- @import 'trix-overrides';
20
-
21
- // Variables
22
- @import 'variables/colors';
23
- @import 'variables/typography';
24
-
25
- // Third-party
26
- // If you need foundation and font-awesome, uncomment the line in gemspec
27
- // @import 'foundation_and_overrides';
28
- // @import 'font-awesome';
29
-
30
- // Mixins
31
- @import 'mixins/bem';
32
-
33
- // Partials
34
- @import 'partials/main';
35
- @import 'partials/utils';
36
-
37
- // Blocks
38
- @import 'blocks/nav';
39
- @import 'blocks/menu';
40
- @import 'blocks/notice';
41
- @import 'blocks/alert';
42
- @import 'blocks/state';
43
- @import 'blocks/task-button';
@@ -1,5 +0,0 @@
1
- .alert {
2
- background: $gallery;
3
- border: solid 2px $lipstick;
4
- padding: 2rem;
5
- }
@@ -1,11 +0,0 @@
1
- .menu {
2
- list-style-type: none;
3
-
4
- li {
5
- display: inline-block;
6
- margin-bottom: 0;
7
- margin-top: 1rem;
8
- margin-left: 2rem;
9
- font-weight: bold;
10
- }
11
- }
@@ -1,9 +0,0 @@
1
- .nav {
2
- border-bottom: 1px solid $gallery;
3
- margin-bottom: 2rem;
4
-
5
- @include element('logo') {
6
- color: $studio;
7
- font-weight: 700;
8
- }
9
- }
@@ -1,4 +0,0 @@
1
- .notice {
2
- background: $gallery;
3
- padding: 2rem;
4
- }
@@ -1,11 +0,0 @@
1
- .state {
2
- max-width: 2rem;
3
-
4
- @include modifier('enabled') {
5
- color: $jungle-green;
6
- }
7
-
8
- @include modifier('disabled') {
9
- color: $tall-poppy;
10
- }
11
- }
@@ -1,3 +0,0 @@
1
- .task-button {
2
- margin: 0 .5rem;
3
- }
@@ -1,59 +0,0 @@
1
- @charset 'utf-8';
2
-
3
- @import 'settings';
4
- @import 'foundation';
5
-
6
- // 1. Global
7
- // ---------
8
- $body-background: $alabaster;
9
-
10
- // If you'd like to include motion-ui the foundation-rails gem comes prepackaged with it, uncomment the 3 @imports, if you are not using the gem you need to install the motion-ui sass package.
11
- //
12
- // @import 'motion-ui/motion-ui';
13
-
14
- // We include everything by default. To slim your CSS, remove components you don't use.
15
-
16
- @include foundation-global-styles;
17
- // @include foundation-grid;
18
- @include foundation-flex-classes;
19
- @include foundation-flex-grid;
20
- @include foundation-typography;
21
- @include foundation-button;
22
- @include foundation-forms;
23
- @include foundation-visibility-classes;
24
- @include foundation-float-classes;
25
- // @include foundation-accordion;
26
- // @include foundation-accordion-menu;
27
- // @include foundation-badge;
28
- // @include foundation-breadcrumbs;
29
- @include foundation-button-group;
30
- @include foundation-callout;
31
- // @include foundation-card;
32
- @include foundation-close-button;
33
- // @include foundation-drilldown-menu;
34
- // @include foundation-dropdown;
35
- // @include foundation-dropdown-menu;
36
- @include foundation-responsive-embed;
37
- @include foundation-label;
38
- // @include foundation-media-object;
39
- // @include foundation-menu;
40
- // @include foundation-menu-icon;
41
- // @include foundation-off-canvas;
42
- // @include foundation-orbit;
43
- // @include foundation-pagination;
44
- // @include foundation-progress-bar;
45
- // @include foundation-slider;
46
- // @include foundation-sticky;
47
- @include foundation-reveal;
48
- @include foundation-switch;
49
- @include foundation-table;
50
- // @include foundation-tabs;
51
- @include foundation-thumbnail;
52
- @include foundation-title-bar;
53
- @include foundation-tooltip;
54
- @include foundation-top-bar;
55
-
56
- // If you'd like to include motion-ui the foundation-rails gem comes prepackaged with it, uncomment the 3 @imports, if you are not using the gem you need to install the motion-ui sass package.
57
- //
58
- // @include motion-ui-transitions;
59
- // @include motion-ui-animations;