vp-themes 0.1.9 → 0.1.11

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: de1fdfae456b5b0e3165854f0b9b2df1b911f0e2c6a432909c0ab93c94a2ea49
4
- data.tar.gz: bf41adc27c453e6a623bf664e858ad578058da676bb2afbda626300d2ff373c8
3
+ metadata.gz: 616bcbb78011d2d694083432e1f9b724dbe957aff2d0a62a53523430aef1196f
4
+ data.tar.gz: e446ec28e4b5d7f1da7e8667bc36a407199ff5b88b5a9e3fbf54d12a3556228b
5
5
  SHA512:
6
- metadata.gz: 5d1a721eb0dd0ff2bc15db2850087e5ac1f84240bfb784af2535eaf9b807816d4cb13dab287e13b92906f88ecd557827c661fcec138716b30e7877c09b06192d
7
- data.tar.gz: c74e19ab6d7cde762a5bda48738d9c78060334d4f5f70dc10f56c9d7a2879427f9509aafe9509eaf1e8dbe45ee7eaf5289ada52e2791da28ebd1ed28af42a168
6
+ metadata.gz: 6977fd778c38389d9c6c6cf738f44d18781b7bd11a572906dea295047b3b27beab3d73b3e341155c29fbb8f2ab0d71844f4dfbc52c4efa2dbe038001e0054ebe
7
+ data.tar.gz: bf3d23055ab032f38174f8e119a71629af3b152451b1308ed29d31f62de46a55873bf83a77d31ee4c57e435aeaa16eb6552af13ed36cdda067fdf56c4a151f1f
@@ -20,6 +20,9 @@ color:
20
20
  stable-700: 225, 225, 225
21
21
  stable-800: 117, 117, 117
22
22
  stable-900: 79, 79, 79
23
+ status-success: var(--color-balanced)
24
+ status-danger: var(--color-assertive)
25
+ status-warning: var(--color-energized)
23
26
 
24
27
  font:
25
28
  stack: Roboto
@@ -71,12 +74,7 @@ content:
71
74
 
72
75
  wrapper:
73
76
  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)
77
+ card-transparentBackground-border: 1px solid rgba(var(--color-status-success), 0.05)
80
78
 
81
79
  table:
82
80
  tr-even-background-color: rgba(var(--color-light), 1)
@@ -20,6 +20,9 @@ color:
20
20
  stable-700: 216, 221, 226
21
21
  stable-800: 117, 117, 117
22
22
  stable-900: 122, 135, 144
23
+ status-success: var(--color-royal)
24
+ status-danger: var(--color-assertive)
25
+ status-warning: var(--color-energized)
23
26
 
24
27
  font:
25
28
  stack: Roboto
data/lib/themes/lmdp.yml CHANGED
@@ -20,6 +20,9 @@ color:
20
20
  stable-700: 216, 221, 226
21
21
  stable-800: 117, 117, 117
22
22
  stable-900: 117, 117, 117
23
+ status-success: var(--color-balanced)
24
+ status-danger: var(--color-assertive)
25
+ status-warning: var(--color-energized)
23
26
 
24
27
  font:
25
28
  stack: Roboto
@@ -20,6 +20,9 @@ color:
20
20
  stable-700: 117, 117, 117
21
21
  stable-800: 117, 117, 117
22
22
  stable-900: 122, 135, 144
23
+ status-success: 42, 209, 176
24
+ status-danger: var(--color-assertive)
25
+ status-warning: var(--color-energized)
23
26
 
24
27
  font:
25
28
  stack: Publica Sans, sans-serif
@@ -21,7 +21,7 @@ module Vp
21
21
  ].with_indifferent_access.freeze
22
22
 
23
23
  def initialize(name, on_failure: :raise)
24
- file = MAP[name.downcase]
24
+ file = MAP[name&.downcase]
25
25
  raise InvalidVpTheme.new(name) unless file.present?
26
26
 
27
27
  super(file, on_failure: on_failure)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Vp
4
4
  module Themes
5
- VERSION = "0.1.9"
5
+ VERSION = "0.1.11"
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.9
4
+ version: 0.1.11
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-09-13 00:00:00.000000000 Z
11
+ date: 2022-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pears