vp-themes 0.1.0 → 0.1.3

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: cef6730f8950e99dc3deb57746f6457eefcf3b00e380e662efb60dd9899eaf05
4
- data.tar.gz: a2d49bd80e4d619b206577a71a8d08f7882ca68966247fcb2f09e55109997389
3
+ metadata.gz: aa1917ea616fd0099656429b3cf7a445bf2faac0553e16fc1cce24e23a6296b6
4
+ data.tar.gz: 7a7083e7647f2bc8044d25018d6efdca67387404f2a048c2239bac1a415a1536
5
5
  SHA512:
6
- metadata.gz: 705768babec2bcdb53bf84191b69ce40e9428c1e83856d81b8dbb14675722569725df945f9df0f95ddeeef81b1048c715669aa88f8bf7aa60383abd735b671e6
7
- data.tar.gz: 5637ab848cf488ad34710363aabde1980eab9517525d4097909a5e1a0dc52d1a1722cb328edaa45cf8f1d46b79cb0f62688f0ff1791df494ee3ad4597673b544
6
+ metadata.gz: 04feb606aaeaded10ce5fe2840c3533202f22063c18964a9e63e5fbdd5b8cc69e5c4eb373dbac1594ede6a0204eafa60fe137563d536164b35ff0883eb7b6658
7
+ data.tar.gz: 4b8c21529c75763d1b8d53b4efaee066185cf0c12d6804e516da504872b3cf72102fe38af505765b3a422fe992ec21273d5b226c02e5070e4a92a7fc43245a8b
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!
@@ -10,13 +10,10 @@ color:
10
10
  dark: 27, 27, 27
11
11
  light: 255, 255, 255
12
12
  assertive: 227, 5, 19
13
- assertive-500: 227, 5, 19
14
- balanced: 178, 202, 84
15
- balanced-500: 64, 64, 64
13
+ balanced: 87, 177, 74
16
14
  energized: 245, 166, 35
17
15
  positive: 64, 64, 64
18
- royal: 42, 209, 176
19
- happy-700: 249, 189, 0
16
+ royal: 227, 5, 19
20
17
  stable-100: 250, 250, 250
21
18
  stable-300: 245, 245, 245
22
19
  stable-500: 237, 237, 237
@@ -72,11 +69,14 @@ content:
72
69
  color: rgba(var(--color-stable-900), 1)
73
70
  intro-font-weight: 400
74
71
 
75
- list:
76
- color-marker: rgba(var(--color-assertive), 1)
77
-
78
72
  wrapper:
79
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)
80
80
 
81
81
  table:
82
82
  tr-even-background-color: rgba(var(--color-light), 1)
@@ -101,4 +101,3 @@ pdf:
101
101
 
102
102
  vp-widget:
103
103
  bullet-bg-color-default: var(--color-stable-300)
104
- bullet-color: var(--color-assertive)
@@ -14,7 +14,6 @@ color:
14
14
  energized: 255, 126, 0
15
15
  positive: 19, 62, 94
16
16
  royal: 42, 209, 176
17
- happy-700: 249, 189, 0
18
17
  stable-100: 246, 248, 249
19
18
  stable-300: 241, 242, 244
20
19
  stable-500: 230, 234, 236
data/lib/themes/lmdp.yml CHANGED
@@ -14,7 +14,6 @@ color:
14
14
  energized: 255, 126, 0
15
15
  positive: 4, 114, 187
16
16
  royal: 108, 192, 35
17
- happy-700: 249, 189, 0
18
17
  stable-100: 246, 248, 249
19
18
  stable-300: 241, 242, 244
20
19
  stable-500: 230, 234, 236
@@ -12,12 +12,8 @@ color:
12
12
  assertive: 255, 75, 51
13
13
  positive: 0, 99, 116
14
14
  balanced: 96, 219, 0
15
- balanced-500: 255, 75, 51
16
15
  energized: 90, 213, 217
17
- energized-500: 90, 213, 217
18
16
  royal-500: 109, 76, 167
19
- royal-700: 75, 33, 142
20
- happy-700: 249, 189, 0
21
17
  stable-100: 246, 248, 249
22
18
  stable-300: 246, 246, 246
23
19
  stable-500: 225, 225, 225
@@ -44,7 +40,6 @@ image:
44
40
 
45
41
  button:
46
42
  s-rounded-padding: 8px
47
- spacing-m: var(--spacing-m) var(--spacing-xl)
48
43
  background-color: rgba(var(--color-assertive), 1)
49
44
  border: none
50
45
  border-radius: 36px
@@ -57,7 +52,7 @@ simple:
57
52
  border-left: none
58
53
 
59
54
  banner:
60
- background-color: rgba(var(--color-energized-500), 1)
55
+ background-color: rgba(var(--color-energized), 1)
61
56
 
62
57
  header:
63
58
  userButton-color: rgba(var(--color-assertive), 1)
@@ -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.0"
5
+ VERSION = "0.1.3"
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.0
4
+ version: 0.1.3
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-06-30 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
@@ -56,7 +42,6 @@ files:
56
42
  - lib/.DS_Store
57
43
  - lib/themes/apicil.yml
58
44
  - lib/themes/claire.yml
59
- - lib/themes/es.yml
60
45
  - lib/themes/lmdp.yml
61
46
  - lib/themes/malakoff.yml
62
47
  - lib/vp/pears/vp_theme.rb
data/lib/themes/es.yml DELETED
@@ -1,116 +0,0 @@
1
- assets:
2
- scope: claire
3
- color: '#133E5E'
4
-
5
- animation:
6
- smooth-ease: cubic-bezier(0.7, 0, 0.3, 1)
7
-
8
- color:
9
- transparent: 255, 255, 255
10
- dark: 33, 33, 33
11
- light: 255, 255, 255
12
- assertive: 243, 70, 41
13
- balanced: 96, 219, 0
14
- energized: 255, 126, 0
15
- positive: 19, 62, 94
16
- royal: 42, 209, 176
17
- happy-700: 249, 189, 0
18
- stable-100: 246, 248, 249
19
- stable-300: 241, 242, 244
20
- stable-500: 230, 234, 236
21
- stable-700: 216, 221, 226
22
- stable-800: 117, 117, 117
23
- stable-900: 122, 135, 144
24
-
25
- font:
26
- stack: Roboto
27
- stack-alt: Montserrat
28
- stack-handwriting: cursive
29
- size-xxxl: 42px
30
- size-xxl: 27px
31
- size-xl: 22px
32
- size-l: 20px
33
- size-m: 18px
34
- size-s: 16px
35
- size-xs: 15px
36
- size-xxs: 14px
37
- size-xxxs: 12px
38
-
39
- radius:
40
- xs: 3px
41
- s: 5px
42
- m: 10px
43
- l: 60px
44
- xl: 75px
45
-
46
- spacing:
47
- xxxs: 2px
48
- xxs: 5px
49
- xs: 10px
50
- s: 12px
51
- m: 15px
52
- l: 20px
53
- xl: 30px
54
- xxl: 40px
55
- xxxl: 50px
56
-
57
- shadow:
58
- s: 0px 1px 0px rgba(0, 0, 0, 0.05)
59
- m: 0px 1px 3px rgba(0, 0, 0, 0.05)
60
- l: 0px 3px 6px rgba(0, 0, 0, 0.05)
61
-
62
- grid:
63
- max-width: 1140px
64
-
65
- button:
66
- title-font-weight: 500
67
-
68
- steps:
69
- link-border: 2px solid rgba(216, 221, 226, 1)
70
- padding: var(--spacing-m) 0
71
-
72
- content:
73
- intro-font-weight: 400
74
- button-font-weight: 500
75
-
76
- heading:
77
- h6-font-weight-medium: 600
78
-
79
- list:
80
- color-marker: rgba(var(--color-royal), 1)
81
-
82
- wrapper:
83
- card-border: 1px solid rgba(var(--color-stable-500), 1)
84
-
85
- table:
86
- tr-even-background-color: rgba(var(--color-light), 1)
87
- td-padding-medium: var(--spacing-s) var(--spacing-s) var(--spacing-s) var(--spacing-xl)
88
- border-th-padding-medium: var(--spacing-s) var(--spacing-xl)
89
-
90
- modal:
91
- heading-border-bottom: 1px solid rgba(var(--color-stable-500), 1)
92
-
93
- textarea:
94
- border-right: 1px solid rgba(var(--color-stable-500), 1)
95
- border-bottom: 1px solid rgba(var(--color-stable-500), 1)
96
- border-left: 1px solid rgba(var(--color-stable-500), 1)
97
- border-top: 1px solid rgba(var(--color-stable-500), 1)
98
-
99
- option:
100
- background-color: rgba(var(--color-light),1)
101
-
102
- content-strong:
103
- font-weight: 500
104
-
105
- message:
106
- background: currentColor
107
-
108
- download:
109
- padding: var(--spacing-m) var(--spacing-l);
110
-
111
- header:
112
- sidelogo-display: none
113
-
114
- pdf:
115
- footer-divider: '#e50000'
116
- title-color: '#e50000'