vp-themes 0.1.1 → 0.1.4

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: 493f36d25bb724bfd7101039e74957eb274606b37d71434b03d85e857c74507c
4
- data.tar.gz: 045b65c4be126be2ba68fec6d60aaaacb783cdc424ab3da6facf608c1034a83b
3
+ metadata.gz: 0b7bbcc6155de9ccdbd2f4057fbecac3251a826e54d9cbc81f19f191e881e601
4
+ data.tar.gz: e9c4bf463ecb78339f07c2d6dd9a11119597434e51dc95bc95d09636ce71316b
5
5
  SHA512:
6
- metadata.gz: fa6fa2dc54993b3256ced659c9255963ab3b506a69bd882dc4f719de7088f1af6cc3d859554791bc51e871debe27a5ad417ea48ebd98d9b1c88ff5b6e738166e
7
- data.tar.gz: ee00ada145f3bd855238e93498c6e672e8b3b7692300a7c2500be8aa4d922eb834bf28f399fae4cc81a6712d3458923fd24d2f165182d2cf06cc9a8990b15514
6
+ metadata.gz: 4d4438adf30551e8da07a3b95e41e6f4d7bb25d8b75dd25c3cafab29ec1443726429d365c5a32ba3eb6e03357c4ee7db8645316d1ce30f0ab8df4269eb29e481
7
+ data.tar.gz: 04fb923694948480fe0d636f8426936a2c077359c48aa0eac7458d7ae9a80d74000af94cc044e7f162d878f4b4eab8deaaf035458d4039053e7fb2e12ff4d6c0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vp-themes (0.1.0)
4
+ vp-themes (0.1.3)
5
5
  pears (>= 0.2.0)
6
6
 
7
7
  GEM
@@ -12,7 +12,6 @@ GEM
12
12
  i18n (>= 1.6, < 2)
13
13
  minitest (>= 5.1)
14
14
  tzinfo (~> 2.0)
15
- byebug (11.1.3)
16
15
  concurrent-ruby (1.1.10)
17
16
  diff-lcs (1.5.0)
18
17
  dry-configurable (0.15.0)
@@ -22,13 +21,13 @@ GEM
22
21
  concurrent-ruby (~> 1.0)
23
22
  i18n (1.10.0)
24
23
  concurrent-ruby (~> 1.0)
25
- minitest (5.16.1)
24
+ minitest (5.16.2)
26
25
  pears (0.2.0)
27
26
  activesupport
28
27
  dry-configurable (>= 0.13.0)
29
28
  redis
30
29
  rake (13.0.6)
31
- redis (4.7.0)
30
+ redis (4.7.1)
32
31
  rspec (3.11.0)
33
32
  rspec-core (~> 3.11.0)
34
33
  rspec-expectations (~> 3.11.0)
@@ -49,7 +48,6 @@ PLATFORMS
49
48
  arm64-darwin-20
50
49
 
51
50
  DEPENDENCIES
52
- byebug
53
51
  rake (~> 13.0)
54
52
  rspec (~> 3.0)
55
53
  vp-themes!
data/README.md CHANGED
@@ -28,6 +28,10 @@ Check ./lib/themes of this repository for a full list of available themes.
28
28
 
29
29
  As the code is pretty simple I'll just ask you to keep it simple.
30
30
 
31
+ ## Contributing
32
+
33
+ Let's try to keep the branch alive for all versions of the gem.
34
+
31
35
  ## License
32
36
 
33
37
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -10,7 +10,7 @@ color:
10
10
  dark: 27, 27, 27
11
11
  light: 255, 255, 255
12
12
  assertive: 227, 5, 19
13
- balanced: 178, 202, 84
13
+ balanced: 87, 177, 74
14
14
  energized: 245, 166, 35
15
15
  positive: 64, 64, 64
16
16
  royal: 227, 5, 19
@@ -71,6 +71,12 @@ content:
71
71
 
72
72
  wrapper:
73
73
  card-border: 1px solid rgba(var(--color-stable-500), 1)
74
+ transparentBackground-positive: rgba(var(--color-balanced), 0.15)
75
+ transparentBackground-positive-color: rgba(var(--color-balanced), 1)
76
+
77
+ card:
78
+ shape-wrapper-transparentBackground-positive-after: rgba(var(--color-balanced), 0.03)
79
+ shape-wrapper-transparentBackground-positive-before: rgba(var(--color-balanced), 0.03)
74
80
 
75
81
  table:
76
82
  tr-even-background-color: rgba(var(--color-light), 1)
@@ -40,7 +40,6 @@ image:
40
40
 
41
41
  button:
42
42
  s-rounded-padding: 8px
43
- spacing-m: var(--spacing-m) var(--spacing-xl)
44
43
  background-color: rgba(var(--color-assertive), 1)
45
44
  border: none
46
45
  border-radius: 36px
@@ -3,6 +3,8 @@ module Vp
3
3
  module Pears
4
4
  class VpTheme < ::Pears::Provider::LocalFile
5
5
  class InvalidVpTheme < StandardError; end;
6
+
7
+ # Get all
6
8
  THEMES = Dir[
7
9
  "#{__FILE__}".split('/')
8
10
  .slice(0..-4)
@@ -23,6 +25,12 @@ module Vp
23
25
  raise InvalidVpTheme.new(name) unless file.present?
24
26
 
25
27
  super(file, on_failure: on_failure)
28
+ rescue InvalidVpTheme => e
29
+ if on_failure == :null
30
+ @data = {}
31
+ else
32
+ raise e
33
+ end
26
34
  end
27
35
  end
28
36
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Vp
4
4
  module Themes
5
- VERSION = "0.1.1"
5
+ VERSION = "0.1.4"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vp-themes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Kemp
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-01 00:00:00.000000000 Z
11
+ date: 2022-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pears
@@ -24,20 +24,6 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.2.0
27
- - !ruby/object:Gem::Dependency
28
- name: byebug
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
27
  description:
42
28
  email:
43
29
  - steven.kemp@remarkgroup.com
@@ -82,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
68
  - !ruby/object:Gem::Version
83
69
  version: '0'
84
70
  requirements: []
85
- rubygems_version: 3.2.22
71
+ rubygems_version: 3.2.3
86
72
  signing_key:
87
73
  specification_version: 4
88
74
  summary: Bundle themes for the VP project