saaskit 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c6248c19f2041cab7d7c05db537a61301d0c2057dc06f9114e2c656289c86be
4
- data.tar.gz: a9f78522d37ff64e6f9133d90f5b80b1f0605cd563191c41e853c4b6f001ac3d
3
+ metadata.gz: f8efd06c8af1833ac05bcf7599b2bde116dc339bd7ad48195ff96e1d90e60819
4
+ data.tar.gz: cae1852ff12425998f7a523740d2ba79b3788c9c728eeb1f38a05dd74d49cdf8
5
5
  SHA512:
6
- metadata.gz: 511a7a42ba795dfb67057dc38297a9c3545481834276ac30ff78375d1d209a7eb511f7ce10874022e70a9c5ca497d9adfed15dcc24b8e91cc60a8a1d7c7949e8
7
- data.tar.gz: f22e5551f7aabb8b624306e72714feea7d57a51fef1cb96d445c89ae2fdf447005553718808e6fccbf32c528bf409d79adafb2c4600ae30b94200c4bd7979c5a
6
+ metadata.gz: 4482568a7f623c47bdd52f4d75b03280fe3077518b489343f1fcccf1d065140d35120ca11ed36c1b57f83eb53b4cc6fa4a603082086a8e4cf778a6423f61fb68
7
+ data.tar.gz: 7d7ce8c1f117e8c4b2383a7a6478b4d465e4bf8cb4234eaa14e5e56edd8b968abe522fc0897f173dd1ae468ca228f3f940b18a624b35c6b17cddfb10243d04cf
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- saaskit (0.1.1)
4
+ saaskit (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -37,11 +37,6 @@ module Saaskit
37
37
  /config.require_master_key = true/
38
38
  end
39
39
 
40
- def application_css_in_assets_pipeline
41
- remove_file "app/assets/stylesheets/application.css"
42
- copy_file "app/assets/stylesheets/application.scss"
43
- end
44
-
45
40
  def install_stimulus
46
41
  run "yarn add stimulus"
47
42
  copy_file "app/javascript/controllers/index.js"
@@ -54,45 +49,6 @@ module Saaskit
54
49
  end
55
50
  end
56
51
 
57
- def install_notice_controller
58
- copy_file "app/javascript/controllers/notice_controller.js"
59
- end
60
-
61
- def install_typed_controller
62
- run "yarn add typed.js"
63
- copy_file "app/javascript/controllers/typed_controller.js"
64
- end
65
-
66
- def install_reveal_controller
67
- copy_file "app/javascript/controllers/reveal_controller.js"
68
- end
69
-
70
- def install_smooth_scroll_controller
71
- run "yarn add smooth-scroll"
72
- copy_file "app/javascript/controllers/smooth_scroll_controller.js"
73
- end
74
-
75
- def install_aos_controller
76
- run "yarn add aos@next"
77
- copy_file "app/javascript/controllers/aos_controller.js"
78
- append_to_file "app/assets/stylesheets/application.scss" do
79
- <<~CODE
80
- @import "aos/dist/aos";
81
- CODE
82
- end
83
- end
84
-
85
- def install_noty_controller
86
- run "yarn add noty"
87
- copy_file "app/javascript/controllers/noty_controller.js"
88
- append_to_file "app/assets/stylesheets/application.scss" do
89
- <<~CODE
90
- @import "noty/lib/noty";
91
- @import "noty/lib/themes/sunset";
92
- CODE
93
- end
94
- end
95
-
96
52
  def install_tailwindcss
97
53
  run "yarn add tailwindcss"
98
54
  run "yarn add tailwindcss-transitions"
@@ -130,32 +86,38 @@ module Saaskit
130
86
  end
131
87
  end
132
88
 
89
+ def install_third_party_packages
90
+ run "yarn add typed.js"
91
+ run "yarn add smooth-scroll"
92
+ run "yarn add aos@next"
93
+ run "yarn add noty"
94
+ end
95
+
96
+ def install_stimulus_controllers
97
+ copy_file "app/javascript/controllers/notice_controller.js"
98
+ copy_file "app/javascript/controllers/typed_controller.js"
99
+ copy_file "app/javascript/controllers/reveal_controller.js"
100
+ copy_file "app/javascript/controllers/smooth_scroll_controller.js"
101
+ copy_file "app/javascript/controllers/aos_controller.js"
102
+ copy_file "app/javascript/controllers/noty_controller.js"
103
+ end
104
+
105
+ def import_third_party_css_into_assets_pipeline
106
+ remove_file "app/assets/stylesheets/application.css"
107
+ copy_file "app/assets/stylesheets/application.scss"
108
+ end
109
+
133
110
  def install_images
134
111
  gsub_file "app/javascript/packs/application.js",
135
112
  /\/\/ const images/, "const images"
136
113
  gsub_file "app/javascript/packs/application.js",
137
114
  /\/\/ const imagePath/, "const imagePath"
138
-
139
- copy_file "app/javascript/images/logo_color_horizontal.svg"
140
- copy_file "app/javascript/images/logo_color_stacked.svg"
141
- copy_file "app/javascript/images/logo_color_symbol.svg"
142
- copy_file "app/javascript/images/logo_white_horizontal.svg"
143
- copy_file "app/javascript/images/logo_white_stacked.svg"
144
- copy_file "app/javascript/images/logo_white_symbol.svg"
145
- copy_file "app/javascript/images/tgav_logo_white_symbol.svg"
146
- end
147
-
148
- def create_application_controller
149
- copy_file "app/controllers/application_controller.rb", force: true
115
+ directory "app/javascript/images"
150
116
  end
151
117
 
152
- def create_application_layouts
153
- copy_file "app/views/shared/_head.html.erb"
154
- copy_file "app/views/shared/_notices.html.erb"
155
- copy_file "app/views/shared/_navbar.html.erb"
156
- copy_file "app/views/shared/_footer.html.erb"
157
- copy_file "app/views/layouts/application.html.erb", force: true
158
- copy_file "app/views/layouts/land.html.erb"
118
+ def install_application_shared_and_layouts
119
+ directory "app/views/shared"
120
+ directory "app/views/layouts", force: true
159
121
  end
160
122
 
161
123
  def create_application_helpers
@@ -167,36 +129,11 @@ module Saaskit
167
129
  copy_file "app/helpers/meta_tags_helper.rb"
168
130
  end
169
131
 
132
+ def create_application_controller
133
+ copy_file "app/controllers/application_controller.rb", force: true
134
+ end
135
+
170
136
  def install_pages
171
- copy_file "app/javascript/images/pablo-done.png"
172
- copy_file "app/javascript/images/github.svg"
173
- copy_file "app/javascript/images/rails.svg"
174
- copy_file "app/javascript/images/webpack.svg"
175
- copy_file "app/javascript/images/stimulus.svg"
176
- copy_file "app/javascript/images/tailwind.svg"
177
- copy_file "app/javascript/images/layout-top-panel-6.svg"
178
- copy_file "app/javascript/images/shield-protected.svg"
179
- copy_file "app/javascript/images/facebook.svg"
180
- copy_file "app/javascript/images/user.svg"
181
- copy_file "app/javascript/images/layout-left-panel-1.svg"
182
- copy_file "app/javascript/images/right-circle.svg"
183
- copy_file "app/javascript/images/group.svg"
184
- copy_file "app/javascript/images/shield-check.svg"
185
- copy_file "app/javascript/images/repeat.svg"
186
- copy_file "app/javascript/images/credit-card.svg"
187
- copy_file "app/javascript/images/sale-2.svg"
188
- copy_file "app/javascript/images/file.svg"
189
- copy_file "app/javascript/images/stripe.svg"
190
- copy_file "app/javascript/images/paypal.svg"
191
- copy_file "app/javascript/images/outlet.svg"
192
- copy_file "app/javascript/images/notifications-1.svg"
193
- copy_file "app/javascript/images/address-book-2.svg"
194
- copy_file "app/javascript/images/mail-opened.svg"
195
- copy_file "app/javascript/images/sending-mail.svg"
196
- copy_file "app/javascript/images/chart-bar-1.svg"
197
- copy_file "app/javascript/images/selected-file.svg"
198
- copy_file "app/javascript/images/display-1.svg"
199
- copy_file "app/javascript/images/cloud-upload.svg"
200
137
  copy_file "app/forms/newsletter_form.rb"
201
138
  copy_file "app/adapters/mailchimp/base_adapter.rb"
202
139
  copy_file "app/models/concerns/coming_soon_pending_subscribable.rb"
@@ -33,9 +33,9 @@ module Mailchimp
33
33
  begin
34
34
  @client.lists(options[:list_id]).members(email_hash).upsert(body: body)
35
35
  rescue Gibbon::MailChimpError => exception
36
- OpenStruct.new(success?: false, error: "Subscribe failed")
36
+ OpenStruct.new(success?: false, error: "Subscribe failed", detail: exception.detail)
37
37
  else
38
- OpenStruct.new(success?: true, error: nil)
38
+ OpenStruct.new(success?: true, error: nil, detail: nil)
39
39
  end
40
40
  end
41
41
 
@@ -0,0 +1,3 @@
1
+ @import "noty/lib/noty";
2
+ @import "noty/lib/themes/sunset";
3
+ @import "aos/dist/aos";
@@ -1,542 +1,81 @@
1
1
  const { colors } = require('tailwindcss/defaultTheme')
2
2
 
3
3
  module.exports = {
4
- prefix: '',
5
- important: false,
6
- separator: ':',
7
4
  theme: {
8
- colors: {
9
- transparent: 'transparent',
10
-
11
- black: '#000',
12
- white: '#fff',
13
-
14
- gray: {
15
- 100: '#f7fafc',
16
- 200: '#edf2f7',
17
- 300: '#e2e8f0',
18
- 400: '#cbd5e0',
19
- 500: '#a0aec0',
20
- 600: '#718096',
21
- 700: '#4a5568',
22
- 800: '#2d3748',
23
- 900: '#1a202c',
24
- },
25
- red: {
26
- 100: '#fff5f5',
27
- 200: '#fed7d7',
28
- 300: '#feb2b2',
29
- 400: '#fc8181',
30
- 500: '#f56565',
31
- 600: '#e53e3e',
32
- 700: '#c53030',
33
- 800: '#9b2c2c',
34
- 900: '#742a2a',
35
- },
36
- orange: {
37
- 100: '#fffaf0',
38
- 200: '#feebc8',
39
- 300: '#fbd38d',
40
- 400: '#f6ad55',
41
- 500: '#ed8936',
42
- 600: '#dd6b20',
43
- 700: '#c05621',
44
- 800: '#9c4221',
45
- 900: '#7b341e',
46
- },
47
- yellow: {
48
- 100: '#fffff0',
49
- 200: '#fefcbf',
50
- 300: '#faf089',
51
- 400: '#f6e05e',
52
- 500: '#ecc94b',
53
- 600: '#d69e2e',
54
- 700: '#b7791f',
55
- 800: '#975a16',
56
- 900: '#744210',
57
- },
58
- green: {
59
- 100: '#f0fff4',
60
- 200: '#c6f6d5',
61
- 300: '#9ae6b4',
62
- 400: '#68d391',
63
- 500: '#48bb78',
64
- 600: '#38a169',
65
- 700: '#2f855a',
66
- 800: '#276749',
67
- 900: '#22543d',
5
+ extend: {
6
+ colors: {
7
+ brand: {
8
+ lighter: '#bfe9ff',
9
+ default: '#56b4fc',
10
+ dark: '#1552f0',
11
+ darker: '#194bcc',
12
+ },
13
+ info: colors.blue,
14
+ danger: colors.red,
15
+ warning: colors.yellow,
16
+ success: colors.green,
17
+ facebook: '#3b5998',
68
18
  },
69
- teal: {
70
- 100: '#e6fffa',
71
- 200: '#b2f5ea',
72
- 300: '#81e6d9',
73
- 400: '#4fd1c5',
74
- 500: '#38b2ac',
75
- 600: '#319795',
76
- 700: '#2c7a7b',
77
- 800: '#285e61',
78
- 900: '#234e52',
19
+ spacing: {
20
+ '72': '18rem',
21
+ '80': '20rem',
22
+ '88': '22rem',
23
+ '96': '24rem',
24
+ '104': '26rem',
25
+ '112': '28rem',
26
+ '120': '30rem',
79
27
  },
80
- blue: {
81
- 100: '#ebf8ff',
82
- 200: '#bee3f8',
83
- 300: '#90cdf4',
84
- 400: '#63b3ed',
85
- 500: '#4299e1',
86
- 600: '#3182ce',
87
- 700: '#2b6cb0',
88
- 800: '#2c5282',
89
- 900: '#2a4365',
28
+ boxShadow: {
29
+ focus: '0 0 0 1px rgba(86, 180, 252, 1)',
30
+ light: '0 8px 16px rgba(0, 0, 0, 0.03)',
31
+ lighter: '0 4px 8px 0 rgba(0, 0, 0, 0.03)',
90
32
  },
91
- indigo: {
92
- 100: '#ebf4ff',
93
- 200: '#c3dafe',
94
- 300: '#a3bffa',
95
- 400: '#7f9cf5',
96
- 500: '#667eea',
97
- 600: '#5a67d8',
98
- 700: '#4c51bf',
99
- 800: '#434190',
100
- 900: '#3c366b',
33
+ fontFamily: {
34
+ sans: [
35
+ 'Inter',
36
+ ],
101
37
  },
102
- purple: {
103
- 100: '#faf5ff',
104
- 200: '#e9d8fd',
105
- 300: '#d6bcfa',
106
- 400: '#b794f4',
107
- 500: '#9f7aea',
108
- 600: '#805ad5',
109
- 700: '#6b46c1',
110
- 800: '#553c9a',
111
- 900: '#44337a',
38
+ maxHeight: {
39
+ '0': '0',
112
40
  },
113
- pink: {
114
- 100: '#fff5f7',
115
- 200: '#fed7e2',
116
- 300: '#fbb6ce',
117
- 400: '#f687b3',
118
- 500: '#ed64a6',
119
- 600: '#d53f8c',
120
- 700: '#b83280',
121
- 800: '#97266d',
122
- 900: '#702459',
41
+ pseudo: {
42
+ 'before': 'before',
43
+ 'after': 'after',
44
+ 'not-first': 'not(:first-child)',
123
45
  },
124
- brand: {
125
- lighter: '#bfe9ff',
126
- default: '#56b4fc',
127
- dark: '#1552f0',
128
- darker: '#194bcc',
46
+ transitionProperty: {
47
+ 'none': 'none',
48
+ 'all': 'all',
49
+ 'color': 'color',
50
+ 'bg': 'background-color',
51
+ 'border': 'border-color',
52
+ 'colors': ['color', 'background-color', 'border-color'],
53
+ 'opacity': 'opacity',
54
+ 'transform': 'transform',
55
+ 'height': 'height',
129
56
  },
130
- info: colors.blue,
131
- danger: colors.red,
132
- warning: colors.yellow,
133
- success: colors.green,
134
- },
135
- transitionProperty: {
136
- 'none': 'none',
137
- 'all': 'all',
138
- 'color': 'color',
139
- 'bg': 'background-color',
140
- 'border': 'border-color',
141
- 'colors': ['color', 'background-color', 'border-color'],
142
- 'opacity': 'opacity',
143
- 'transform': 'transform',
144
- 'height': 'height',
145
- },
146
- linearGradients: theme => ({
147
- colors: {
148
- 'semi-transparent-white': ['rgba(255, 255, 255, 0)', 'rgba(255, 255, 255, 0.4) 70%', 'rgba(255, 255, 255, 1)'],
149
- }
150
- }),
151
- spacing: {
152
- px: '1px',
153
- '0': '0',
154
- '1': '0.25rem',
155
- '2': '0.5rem',
156
- '3': '0.75rem',
157
- '4': '1rem',
158
- '5': '1.25rem',
159
- '6': '1.5rem',
160
- '8': '2rem',
161
- '10': '2.5rem',
162
- '12': '3rem',
163
- '16': '4rem',
164
- '20': '5rem',
165
- '24': '6rem',
166
- '32': '8rem',
167
- '40': '10rem',
168
- '48': '12rem',
169
- '56': '14rem',
170
- '64': '16rem',
171
- '72': '18rem',
172
- '80': '20rem',
173
- '88': '22rem',
174
- '96': '24rem',
175
- '104': '26rem',
176
- '112': '28rem',
177
- '120': '30rem',
178
- },
179
- screens: {
180
- sm: '640px',
181
- md: '768px',
182
- lg: '1024px',
183
- xl: '1280px',
184
- },
185
- fontFamily: {
186
- sans: [
187
- '-apple-system',
188
- 'BlinkMacSystemFont',
189
- '"Segoe UI"',
190
- 'Roboto',
191
- '"Helvetica Neue"',
192
- 'Arial',
193
- '"Noto Sans"',
194
- 'sans-serif',
195
- '"Apple Color Emoji"',
196
- '"Segoe UI Emoji"',
197
- '"Segoe UI Symbol"',
198
- '"Noto Color Emoji"',
199
- ],
200
- serif: [
201
- 'Georgia',
202
- 'Cambria',
203
- '"Times New Roman"',
204
- 'Times',
205
- 'serif',
206
- ],
207
- mono: [
208
- 'Menlo',
209
- 'Monaco',
210
- 'Consolas',
211
- '"Liberation Mono"',
212
- '"Courier New"',
213
- 'monospace',
214
- ],
215
- },
216
- fontSize: {
217
- xs: '0.75rem',
218
- sm: '0.875rem',
219
- base: '1rem',
220
- lg: '1.125rem',
221
- xl: '1.25rem',
222
- '2xl': '1.5rem',
223
- '3xl': '1.875rem',
224
- '4xl': '2.25rem',
225
- '5xl': '3rem',
226
- '6xl': '4rem',
227
- },
228
- fontWeight: {
229
- hairline: '100',
230
- thin: '200',
231
- light: '300',
232
- normal: '400',
233
- medium: '500',
234
- semibold: '600',
235
- bold: '700',
236
- extrabold: '800',
237
- black: '900',
238
- },
239
- lineHeight: {
240
- none: '1',
241
- tight: '1.25',
242
- snug: '1.375',
243
- normal: '1.5',
244
- relaxed: '1.625',
245
- loose: '2',
246
- },
247
- letterSpacing: {
248
- tighter: '-0.05em',
249
- tight: '-0.025em',
250
- normal: '0',
251
- wide: '0.025em',
252
- wider: '0.05em',
253
- widest: '0.1em',
254
- },
255
- textColor: theme => theme('colors'),
256
- backgroundColor: theme => theme('colors'),
257
- backgroundPosition: {
258
- bottom: 'bottom',
259
- center: 'center',
260
- left: 'left',
261
- 'left-bottom': 'left bottom',
262
- 'left-top': 'left top',
263
- right: 'right',
264
- 'right-bottom': 'right bottom',
265
- 'right-top': 'right top',
266
- top: 'top',
267
- },
268
- backgroundSize: {
269
- auto: 'auto',
270
- cover: 'cover',
271
- contain: 'contain',
272
- },
273
- borderWidth: {
274
- default: '1px',
275
- '0': '0',
276
- '2': '2px',
277
- '4': '4px',
278
- '8': '8px',
279
- },
280
- borderColor: theme => ({
281
- ...theme('colors'),
282
- default: theme('colors.gray.300', 'currentColor'),
283
- }),
284
- borderRadius: {
285
- none: '0',
286
- sm: '0.125rem',
287
- default: '0.25rem',
288
- lg: '0.5rem',
289
- full: '9999px',
290
- },
291
- cursor: {
292
- auto: 'auto',
293
- default: 'default',
294
- pointer: 'pointer',
295
- wait: 'wait',
296
- text: 'text',
297
- move: 'move',
298
- 'not-allowed': 'not-allowed',
299
- },
300
- width: theme => ({
301
- auto: 'auto',
302
- ...theme('spacing'),
303
- '1/2': '50%',
304
- '1/3': '33.33333%',
305
- '2/3': '66.66667%',
306
- '1/4': '25%',
307
- '2/4': '50%',
308
- '3/4': '75%',
309
- '1/5': '20%',
310
- '2/5': '40%',
311
- '3/5': '60%',
312
- '4/5': '80%',
313
- '1/6': '16.66667%',
314
- '2/6': '33.33333%',
315
- '3/6': '50%',
316
- '4/6': '66.66667%',
317
- '5/6': '83.33333%',
318
- '1/12': '8.33333%',
319
- '2/12': '16.66667%',
320
- '3/12': '25%',
321
- '4/12': '33.33333%',
322
- '5/12': '41.66667%',
323
- '6/12': '50%',
324
- '7/12': '58.33333%',
325
- '8/12': '66.66667%',
326
- '9/12': '75%',
327
- '10/12': '83.33333%',
328
- '11/12': '91.66667%',
329
- full: '100%',
330
- screen: '100vw',
331
- }),
332
- height: theme => ({
333
- auto: 'auto',
334
- ...theme('spacing'),
335
- full: '100%',
336
- screen: '100vh',
337
- }),
338
- minWidth: {
339
- '0': '0',
340
- full: '100%',
341
- },
342
- minHeight: {
343
- '0': '0',
344
- full: '100%',
345
- screen: '100vh',
346
- },
347
- maxWidth: {
348
- xs: '20rem',
349
- sm: '24rem',
350
- md: '28rem',
351
- lg: '32rem',
352
- xl: '36rem',
353
- '2xl': '42rem',
354
- '3xl': '48rem',
355
- '4xl': '56rem',
356
- '5xl': '64rem',
357
- '6xl': '72rem',
358
- full: '100%',
359
- },
360
- maxHeight: {
361
- '0': '0',
362
- full: '100%',
363
- screen: '100vh',
364
- },
365
- padding: theme => theme('spacing'),
366
- margin: (theme, {
367
- negative
368
- }) => ({
369
- auto: 'auto',
370
- ...theme('spacing'),
371
- ...negative(theme('spacing')),
372
- }),
373
- objectPosition: {
374
- bottom: 'bottom',
375
- center: 'center',
376
- left: 'left',
377
- 'left-bottom': 'left bottom',
378
- 'left-top': 'left top',
379
- right: 'right',
380
- 'right-bottom': 'right bottom',
381
- 'right-top': 'right top',
382
- top: 'top',
383
- },
384
- boxShadow: {
385
- default: '0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)',
386
- md: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)',
387
- lg: '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)',
388
- xl: '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)',
389
- '2xl': '0 25px 50px -12px rgba(0, 0, 0, 0.25)',
390
- inner: 'inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)',
391
- outline: '0 0 0 3px rgba(66, 153, 225, 0.5)',
392
- focus: '0 0 0 1px rgba(86, 180, 252, 1)',
393
- light: '0 8px 16px rgba(0, 0, 0, 0.03)',
394
- lighter: '0 4px 8px 0 rgba(0, 0, 0, 0.03)',
395
- none: 'none',
396
- },
397
- zIndex: {
398
- auto: 'auto',
399
- '0': '0',
400
- '10': '10',
401
- '20': '20',
402
- '30': '30',
403
- '40': '40',
404
- '50': '50',
405
- },
406
- opacity: {
407
- '0': '0',
408
- '25': '0.25',
409
- '50': '0.5',
410
- '75': '0.75',
411
- '100': '1',
412
- },
413
- fill: {
414
- current: 'currentColor',
415
- },
416
- stroke: {
417
- current: 'currentColor',
418
- },
419
- flex: {
420
- '1': '1 1 0%',
421
- auto: '1 1 auto',
422
- initial: '0 1 auto',
423
- none: 'none',
424
- },
425
- flexGrow: {
426
- '0': '0',
427
- default: '1',
428
- },
429
- flexShrink: {
430
- '0': '0',
431
- default: '1',
432
- },
433
- order: {
434
- first: '-9999',
435
- last: '9999',
436
- none: '0',
437
- '1': '1',
438
- '2': '2',
439
- '3': '3',
440
- '4': '4',
441
- '5': '5',
442
- '6': '6',
443
- '7': '7',
444
- '8': '8',
445
- '9': '9',
446
- '10': '10',
447
- '11': '11',
448
- '12': '12',
449
- },
450
- listStyleType: {
451
- none: 'none',
452
- disc: 'disc',
453
- decimal: 'decimal',
454
- },
455
- inset: {
456
- '0': '0',
457
- auto: 'auto',
458
- },
459
- container: {},
460
- pseudo: { // defaults to {'before': 'before', 'after': 'after'}
461
- 'before': 'before',
462
- 'after': 'after',
463
- 'not-first': 'not(:first-child)',
57
+ linearGradients: theme => ({
58
+ colors: {
59
+ 'semi-transparent-white': ['rgba(255, 255, 255, 0)', 'rgba(255, 255, 255, 0.4) 70%', 'rgba(255, 255, 255, 1)'],
60
+ }
61
+ }),
464
62
  }
465
63
  },
466
64
  variants: {
467
- appearance: ['responsive'],
468
- backgroundAttachment: ['responsive'],
469
65
  backgroundColor: ['responsive', 'hover', 'focus', 'group-hover'],
470
- backgroundPosition: ['responsive'],
471
- backgroundRepeat: ['responsive'],
472
- backgroundSize: ['responsive'],
473
- borderCollapse: ['responsive'],
474
- borderColor: ['responsive', 'hover', 'focus'],
475
- borderRadius: ['responsive'],
476
- borderStyle: ['responsive'],
477
- borderWidth: ['responsive'],
478
- cursor: ['responsive'],
479
- display: ['responsive'],
480
- flexDirection: ['responsive'],
481
- flexWrap: ['responsive'],
482
- alignItems: ['responsive'],
483
- alignSelf: ['responsive'],
484
- justifyContent: ['responsive'],
485
- alignContent: ['responsive'],
486
- flex: ['responsive'],
487
- flexGrow: ['responsive'],
488
- flexShrink: ['responsive'],
489
- order: ['responsive'],
490
- float: ['responsive'],
491
- fontFamily: ['responsive'],
492
- fontWeight: ['responsive', 'hover', 'focus'],
493
66
  height: ['responsive', 'after'],
494
- lineHeight: ['responsive'],
495
- listStylePosition: ['responsive'],
496
- listStyleType: ['responsive'],
497
- margin: ['responsive'],
498
- maxHeight: ['responsive'],
499
- maxWidth: ['responsive'],
500
- minHeight: ['responsive'],
501
- minWidth: ['responsive'],
502
- objectFit: ['responsive'],
503
67
  objectPosition: ['responsive', 'after'],
504
- opacity: ['responsive'],
505
- outline: ['responsive', 'focus'],
506
- overflow: ['responsive'],
507
- padding: ['responsive'],
508
- pointerEvents: ['responsive'],
509
68
  position: ['responsive', 'after'],
510
- inset: ['responsive'],
511
- resize: ['responsive'],
512
- boxShadow: ['responsive', 'hover', 'focus'],
513
- fill: ['responsive'],
514
- stroke: ['responsive'],
515
- tableLayout: ['responsive'],
516
- textAlign: ['responsive'],
517
69
  textColor: ['responsive', 'hover', 'focus', 'group-hover'],
518
- fontSize: ['responsive'],
519
- fontStyle: ['responsive'],
520
- textTransform: ['responsive'],
521
- textDecoration: ['responsive', 'hover', 'focus'],
522
- fontSmoothing: ['responsive'],
523
- letterSpacing: ['responsive'],
524
- userSelect: ['responsive'],
525
- verticalAlign: ['responsive'],
526
- visibility: ['responsive'],
527
- whitespace: ['responsive'],
528
- wordBreak: ['responsive'],
529
70
  width: ['responsive', 'after'],
530
- zIndex: ['responsive'],
531
- empty: ['before', 'after'], // defaults to []
532
- linearGradients: ['responsive', 'after'], // defaults to ['responsive']
71
+ empty: ['before', 'after'],
72
+ linearGradients: ['responsive', 'after'],
533
73
  },
534
- corePlugins: {},
535
74
  plugins: [
536
75
  require('tailwindcss-transitions')(),
537
76
  require('tailwindcss-gradients')(),
538
77
  require('tailwindcss-pseudo')({
539
- empty: true, // defaults to true
78
+ empty: true,
540
79
  }),
541
80
  ],
542
81
  }
@@ -17,8 +17,8 @@
17
17
  <%= render "shared/footer" %>
18
18
  </div>
19
19
  <div data-controller="smooth-scroll"></div>
20
- <div data-controller="aos"></div>
21
20
  <div data-controller="noty"></div>
21
+ <div data-controller="aos"></div>
22
22
  </body>
23
23
  <% end %>
24
24
  <%= render template: "layouts/application" %>
@@ -1,3 +1,3 @@
1
1
  module Saaskit
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: saaskit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-08 00:00:00.000000000 Z
11
+ date: 2019-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler