avo 3.0.1.beta15 → 3.0.1.beta16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of avo might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0c4f7a36ba18f1e4a29d67c805a0b3f4499759edc920e64691bfc4aa5b678a1
4
- data.tar.gz: 76c74cdc13445230695604306fd4f04518a6a032446af1c66c92ca2cd8383552
3
+ metadata.gz: eeca068bc2080254dbe24ecb7723e3ca2e67e9dbf39dfd4402b4a02a08d7e86a
4
+ data.tar.gz: 15c9f5776135a1dcf34870ef917c28a290fa03c364b991b822f2bc9169fbd283
5
5
  SHA512:
6
- metadata.gz: 2a7704c7a13f905536f0d275122b35764f4d77dbbfe3edb708adaf84e7d530cf9db271590aac3ac83f44469f06210be0989a5fb1a789a701a3493a1b1b6a2c53
7
- data.tar.gz: 6fd14bc171d61d1a4f966cbaa1b6b2bda9b82138b824222fcc747aedaf8c6673993a4cf1d9ef3852ac9aa8b11fb115d19646092e45250c2872f152b76fac9f68
6
+ metadata.gz: eca26b0a4548406e1e533006a0d70908f284fa7b4dbac57272a4c0bf4fb4c724dc6fa6ae84f0fb60c712713469b55eef620497059359d6fec49a8bac5428f580
7
+ data.tar.gz: 6a4b09310ab5caf79e74dd9fa4af7571e89f3ef5912ea046a58570a5e4a31814fba6a50f3197dac9d1bd3adb0de8d430f7d99faa0cb2d63e6f08243c46d0afb3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- avo (3.0.1.beta15)
4
+ avo (3.0.1.beta16)
5
5
  actionview (>= 6.1)
6
6
  active_link_to
7
7
  activerecord (>= 6.1)
data/avo.gemspec CHANGED
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
  spec.required_ruby_version = ">= 3.0.0"
31
31
  spec.post_install_message = "Thank you for using Avo 💪 Docs are available at https://docs.avohq.io"
32
32
 
33
- spec.files = Dir["{bin,app,config,db,lib,public}/**/*", "MIT-LICENSE", "Rakefile", "README.md", "avo.gemspec", "Gemfile", "Gemfile.lock", "tailwind.preset.js"]
33
+ spec.files = Dir["{bin,app,config,db,lib,public}/**/*", "MIT-LICENSE", "Rakefile", "README.md", "avo.gemspec", "Gemfile", "Gemfile.lock", "tailwind.preset.js", "tailwind.custom.js"]
34
34
 
35
35
  spec.add_dependency "activerecord", ">= 6.1"
36
36
  spec.add_dependency "activesupport", ">= 6.1"
data/lib/avo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Avo
2
- VERSION = "3.0.1.beta15" unless const_defined?(:VERSION)
2
+ VERSION = "3.0.1.beta16" unless const_defined?(:VERSION)
3
3
  end
@@ -97,3 +97,10 @@ task "avo:sym_link" do
97
97
  puts "[Avo->] Linking tailwind.preset.js to #{base_preset_path}"
98
98
  `ln -s #{base_preset_path} #{dest_preset_path}`
99
99
  end
100
+
101
+ desc "Installs yarn dependencies for Avo"
102
+ task "avo:yarn_install" do
103
+ # tailwind.preset.js needs this dependencies in order to be required
104
+ puts "[Avo->] Adding yarn dependencies"
105
+ `yarn add tailwindcss @tailwindcss/forms @tailwindcss/typography --cwd #{Avo::Engine.root}`
106
+ end
@@ -0,0 +1,47 @@
1
+ const primary = {
2
+ 50: 'rgb(var(--color-primary-50))',
3
+ 100: 'rgb(var(--color-primary-100))',
4
+ 150: 'rgb(var(--color-primary-150))',
5
+ 200: 'rgb(var(--color-primary-200))',
6
+ 300: 'rgb(var(--color-primary-300))',
7
+ 400: 'rgb(var(--color-primary-400))',
8
+ 500: 'rgb(var(--color-primary-500))',
9
+ 600: 'rgb(var(--color-primary-600))',
10
+ 700: 'rgb(var(--color-primary-700))',
11
+ 800: 'rgb(var(--color-primary-800))',
12
+ 850: 'rgb(var(--color-primary-850))',
13
+ 900: 'rgb(var(--color-primary-900))',
14
+ }
15
+
16
+ const blue = {
17
+ 50: '#E6F3FC',
18
+ 100: '#CEE7F8',
19
+ 150: '#B5DBF5',
20
+ 200: '#9CCFF2',
21
+ 300: '#6BB6EB',
22
+ 400: '#399EE5',
23
+ 500: '#0886DE',
24
+ 600: '#066BB2',
25
+ 700: '#055085',
26
+ 800: '#033659',
27
+ 850: '#022843',
28
+ 900: '#021B2C',
29
+ }
30
+
31
+ const gray = {
32
+ 25: '#F6F6F7',
33
+ 50: '#F1F2F3',
34
+ 100: '#E3E5E8',
35
+ 150: '#D6D8DC',
36
+ 200: '#C8CBD0',
37
+ 300: '#ACB1B9',
38
+ 400: '#9197A1',
39
+ 500: '#757D8A',
40
+ 600: '#5E646E',
41
+ 700: '#464B53',
42
+ 800: '#2F3237',
43
+ 850: '#232629',
44
+ 900: '#17191C',
45
+ }
46
+
47
+ module.exports = { primary, blue, gray }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1.beta15
4
+ version: 3.0.1.beta16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian Marin
@@ -1947,6 +1947,7 @@ files:
1947
1947
  - public/avo-assets/logo.png
1948
1948
  - public/avo-assets/logomark.png
1949
1949
  - public/avo-assets/placeholder.svg
1950
+ - tailwind.custom.js
1950
1951
  - tailwind.preset.js
1951
1952
  homepage: https://avohq.io
1952
1953
  licenses: