active_frontend 14.0.94 → 14.0.95
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/active_frontend_helper.rb +3 -4
- data/lib/active_frontend/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28cd5b5c23fed51b066d7340d14162364e084bc8
|
4
|
+
data.tar.gz: 52a7f789af8ec6bdba5df81966fc34b3ff6ba2f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee7c22de19ae75068cfaeb680434c5acc9e9c3eec6c02b59c8c1f9612c4dd8cb805da883bc7f1449ac2c4be68fe0b17a298f78c5ee573ea89efdff8d2ab3cb29
|
7
|
+
data.tar.gz: d22f98e38a7093ad2d4c7d6048d7ef64473d2e16b60796c38777446065a34be4c98b68d8650201de4b0db0272d8a9052697037a6aa2a5bd33ca62a071fe0e050
|
@@ -36,7 +36,7 @@ module ActiveFrontendHelper
|
|
36
36
|
# rubocop:enable Metrics/MethodLength
|
37
37
|
|
38
38
|
def colors_global(opacity = 1)
|
39
|
-
available_colors =
|
39
|
+
available_colors = colors_brand(opacity)
|
40
40
|
|
41
41
|
{
|
42
42
|
primary: available_colors[:blue],
|
@@ -47,9 +47,8 @@ module ActiveFrontendHelper
|
|
47
47
|
end
|
48
48
|
|
49
49
|
def colors(opacity = 1)
|
50
|
-
colors_global(opacity)
|
51
|
-
|
52
|
-
.merge(colors_grayscale(opacity))
|
50
|
+
colors_global(opacity).merge(colors_brand(opacity))
|
51
|
+
.merge(colors_grayscale(opacity))
|
53
52
|
end
|
54
53
|
|
55
54
|
end
|