swedbank-pay-design-guide-jekyll-theme 2.2.1 → 2.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/code-example.html +18 -0
- data/_sass/code-view.scss +49 -1
- data/assets/css/pygments-autumn.css +1 -1
- data/lib/gem_version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe62136a504cd460e0e0dd88e09e0a9ba82fbab9f548080ed824314330659000
|
4
|
+
data.tar.gz: 921841fe70dee3bf66aae1b4f8ca51e06ee6f6f4f89af124f88366b76ac07758
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 12511e24595d839de209ee7cee1f98c9c8d5135cb158a05fe42927e2b8d88c0667922ff77da7ec2d0d9e45c6424f09740011c054d9bd11fb62ce010604c9d7a0
|
7
|
+
data.tar.gz: cd1c5deb08e2f7e2bb70ff325404b1e1cf197953b68a4a2fb3264d1050e99d21d6feb936a88d7c78fbad3a10df3a198435385b64fe3d687b9503b2a608bc5e1d
|
@@ -0,0 +1,18 @@
|
|
1
|
+
{%- comment -%}
|
2
|
+
**Parameters
|
3
|
+
title: Title
|
4
|
+
header: header content
|
5
|
+
json: json content
|
6
|
+
{%- endcomment -%}
|
7
|
+
|
8
|
+
<p class="code-view-header">
|
9
|
+
{{ include.title}}
|
10
|
+
<button aria-describedby="tooltipCopy" class="code-view-copy tooltip" aria-label="Copy json to clipboard" value='{{include.json}}' onclick='javascript:navigator.clipboard.writeText(this.value)'><i class="at-clipboard small" aria-hidden="true"></i><div role="tooltip">Copy json to clipboard</div></button>
|
11
|
+
</p>
|
12
|
+
````http
|
13
|
+
{{include.header}}
|
14
|
+
````
|
15
|
+
|
16
|
+
````jsonc
|
17
|
+
{{include.json}}
|
18
|
+
````
|
data/_sass/code-view.scss
CHANGED
@@ -1,9 +1,25 @@
|
|
1
1
|
@import 'colors.scss';
|
2
|
+
.code-view-copy {
|
3
|
+
display: flex;
|
4
|
+
font-family: Akkurat Mono,monospace;
|
5
|
+
font-size: .875rem;
|
6
|
+
font-weight: 400;
|
7
|
+
line-height: 1.25rem;
|
8
|
+
margin: 0;
|
9
|
+
padding: 0;
|
10
|
+
border:none;
|
11
|
+
background-color: #493c3b;
|
12
|
+
color: #FFFFFF;
|
13
|
+
text-decoration: underline;
|
14
|
+
}
|
15
|
+
|
16
|
+
.code-view-copy:hover {
|
17
|
+
text-decoration: none;
|
18
|
+
}
|
2
19
|
|
3
20
|
.code-view {
|
4
21
|
.code-view-table {
|
5
22
|
.code-view-code {
|
6
|
-
|
7
23
|
.nc,
|
8
24
|
.nf {
|
9
25
|
color: $code-green;
|
@@ -11,3 +27,35 @@
|
|
11
27
|
}
|
12
28
|
}
|
13
29
|
}
|
30
|
+
|
31
|
+
.language-http {
|
32
|
+
.code-view {
|
33
|
+
.code-view-table {
|
34
|
+
.code-view-numbers {
|
35
|
+
display: none;
|
36
|
+
}
|
37
|
+
|
38
|
+
.code-view-code {
|
39
|
+
padding-left: 1rem;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
.language-http:has(+ .language-js)
|
46
|
+
.language-http:has(+ .language-json),
|
47
|
+
.language-http:has(+ .language-jsonc) {
|
48
|
+
margin-bottom: 0 !important;
|
49
|
+
|
50
|
+
.code-view {
|
51
|
+
margin-bottom: 0;
|
52
|
+
|
53
|
+
.code-view-table {
|
54
|
+
border-radius: 0px;
|
55
|
+
|
56
|
+
pre {
|
57
|
+
margin-bottom: 0;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
.highlight .hll { background-color: #ffffcc }
|
2
2
|
.highlight { background: #ffffff; }
|
3
3
|
.highlight .c { color: #aaaaaa; font-style: italic } /* Comment */
|
4
|
-
.highlight .err { color: #
|
4
|
+
.highlight .err { color: #FF0000; background-color: #FFAAAA } /* Error */
|
5
5
|
.highlight .k { color: #0000aa } /* Keyword */
|
6
6
|
.highlight .ch { color: #aaaaaa; font-style: italic } /* Comment.Hashbang */
|
7
7
|
.highlight .cm { color: #aaaaaa; font-style: italic } /* Comment.Multiline */
|
data/lib/gem_version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: swedbank-pay-design-guide-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Swedbank Pay
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -403,6 +403,7 @@ files:
|
|
403
403
|
- _includes/card-overview.html
|
404
404
|
- _includes/card-table.html
|
405
405
|
- _includes/card.html
|
406
|
+
- _includes/code-example.html
|
406
407
|
- _includes/doc-container.html
|
407
408
|
- _includes/github.html
|
408
409
|
- _includes/google_analytics.html
|