avo 3.0.1.beta15 → 3.0.1.beta16
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of avo might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/avo.gemspec +1 -1
- data/lib/avo/version.rb +1 -1
- data/lib/tasks/avo_tasks.rake +7 -0
- data/tailwind.custom.js +47 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eeca068bc2080254dbe24ecb7723e3ca2e67e9dbf39dfd4402b4a02a08d7e86a
|
4
|
+
data.tar.gz: 15c9f5776135a1dcf34870ef917c28a290fa03c364b991b822f2bc9169fbd283
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eca26b0a4548406e1e533006a0d70908f284fa7b4dbac57272a4c0bf4fb4c724dc6fa6ae84f0fb60c712713469b55eef620497059359d6fec49a8bac5428f580
|
7
|
+
data.tar.gz: 6a4b09310ab5caf79e74dd9fa4af7571e89f3ef5912ea046a58570a5e4a31814fba6a50f3197dac9d1bd3adb0de8d430f7d99faa0cb2d63e6f08243c46d0afb3
|
data/Gemfile.lock
CHANGED
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
data/lib/tasks/avo_tasks.rake
CHANGED
@@ -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
|
data/tailwind.custom.js
ADDED
@@ -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.
|
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:
|