jekyll-dash 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_includes/theme-toggle.html +4 -6
- data/_sass/dash.scss +1 -0
- data/_sass/dash/_icons.scss +6 -7
- data/_sass/dash/_layout.scss +7 -21
- data/_sass/dash/_mixins.scss +0 -2
- data/_sass/dash/_themes.scss +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fe0c9ee6c1f6cf2368e75ba699101277cdbcb538e594232b12ed43ec3446e980
|
4
|
+
data.tar.gz: 21d1306b0105ca7e0258752375f4ccec485d216e811ab6caa3a7e10c74e43445
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbaf6beaf2e106af7128a81e0a935d33b1ddea0f7abf7a50d82cd54561b80761f56e92a08ceab8dfc119df69ca8d0e9d471380ed8bdb467e3d8aff68980c0939
|
7
|
+
data.tar.gz: eac1c1b0ee03eefa1010e7f41d87cae0482812b7d9d878f659828936da6c61ec6a57a648dbfbe5e0316492697e3655f1c648c7c5fb83ce7b8b635d3b923420b9
|
data/_includes/theme-toggle.html
CHANGED
@@ -16,13 +16,11 @@
|
|
16
16
|
</div>
|
17
17
|
<script type="text/javascript">
|
18
18
|
const theme = localStorage.getItem('theme');
|
19
|
-
|
20
|
-
|
21
|
-
}
|
22
|
-
if (theme === "dark") {
|
23
|
-
document.documentElement.setAttribute('data-theme', 'dark');
|
24
|
-
} else {
|
19
|
+
|
20
|
+
if (theme === "light") {
|
25
21
|
document.documentElement.setAttribute('data-theme', 'light');
|
22
|
+
} else {
|
23
|
+
document.documentElement.setAttribute('data-theme', 'dark');
|
26
24
|
}
|
27
25
|
const userPrefers = getComputedStyle(document.documentElement).getPropertyValue('content');
|
28
26
|
|
data/_sass/dash.scss
CHANGED
data/_sass/dash/_icons.scss
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
// Font Awesome Icons
|
2
2
|
|
3
|
-
$icon-quote-right:
|
4
|
-
$icon-chevron-right:
|
5
|
-
$icon-check:
|
6
|
-
$icon-minus:
|
7
|
-
$icon-flask:
|
8
|
-
$icon-tag:
|
9
|
-
$icon-lightbulb: "\f02b";
|
3
|
+
$icon-quote-right: fa-content($fa-var-quote-right);
|
4
|
+
$icon-chevron-right: fa-content($fa-var-chevron-right);
|
5
|
+
$icon-check: fa-content($fa-var-check);
|
6
|
+
$icon-minus: fa-content($fa-var-minus);
|
7
|
+
$icon-flask: fa-content($fa-var-flask);
|
8
|
+
$icon-tag: fa-content($fa-var-tag);
|
data/_sass/dash/_layout.scss
CHANGED
@@ -13,17 +13,12 @@
|
|
13
13
|
.command_prompt {
|
14
14
|
color: $color-blue;
|
15
15
|
font-size: $base-font-size;
|
16
|
-
|
17
|
-
svg {
|
18
|
-
width: 20px;
|
19
|
-
height: 20px;
|
20
|
-
margin-bottom: -1px;
|
21
|
-
margin-left: 1px;
|
22
|
-
}
|
16
|
+
margin-left: 0.1em;
|
23
17
|
|
24
18
|
&:before {
|
25
19
|
content: $icon-chevron-right;
|
26
20
|
@include font-awesome-icon;
|
21
|
+
margin-right: 0.2em;
|
27
22
|
}
|
28
23
|
}
|
29
24
|
}
|
@@ -98,12 +93,7 @@
|
|
98
93
|
width: 100%;
|
99
94
|
animation: type 2s steps(60, end);
|
100
95
|
margin-bottom: 1em;
|
101
|
-
|
102
|
-
& > svg {
|
103
|
-
color: $color-blue;
|
104
|
-
margin-right: 0.6em;
|
105
|
-
margin-bottom: -1px;
|
106
|
-
}
|
96
|
+
margin-left: 0.5em;
|
107
97
|
|
108
98
|
&:after {
|
109
99
|
content: "_";
|
@@ -114,6 +104,8 @@
|
|
114
104
|
&:before {
|
115
105
|
content: $icon-chevron-right;
|
116
106
|
@include font-awesome-icon;
|
107
|
+
margin-right: 0.5em;
|
108
|
+
color: $color-blue;
|
117
109
|
}
|
118
110
|
}
|
119
111
|
|
@@ -267,6 +259,7 @@
|
|
267
259
|
&:before {
|
268
260
|
content: $icon-tag;
|
269
261
|
@include font-awesome-icon;
|
262
|
+
margin-right: 0.5em;
|
270
263
|
}
|
271
264
|
}
|
272
265
|
|
@@ -365,17 +358,10 @@ ul.related-posts {
|
|
365
358
|
margin: 0;
|
366
359
|
}
|
367
360
|
|
368
|
-
& > svg.svg-inline--fa {
|
369
|
-
color: $color-green;
|
370
|
-
margin-right: 0.3em;
|
371
|
-
width: 22px;
|
372
|
-
height: 22px;
|
373
|
-
margin-bottom: -2px;
|
374
|
-
}
|
375
|
-
|
376
361
|
&:before {
|
377
362
|
content: $icon-flask;
|
378
363
|
@include font-awesome-icon;
|
364
|
+
color: $color-green;
|
379
365
|
}
|
380
366
|
}
|
381
367
|
}
|
data/_sass/dash/_mixins.scss
CHANGED
data/_sass/dash/_themes.scss
CHANGED
@@ -3,7 +3,7 @@ $themes: (
|
|
3
3
|
background-color: $color-background-dark,
|
4
4
|
background-color-alt: $color-background-darker,
|
5
5
|
foreground-color: $color-foreground,
|
6
|
-
foreground-color-alt: $color-foreground-dark,
|
6
|
+
foreground-color-alt: lighten($color-foreground-dark, 10%),
|
7
7
|
foreground-color-contrast: white,
|
8
8
|
quote-primary: lighten($color-yellow, 20%),
|
9
9
|
quote-secondary: $color-yellow,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-dash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Gonzalez Sanchez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|