jekyll-theme-recipe 0.5.3 → 0.5.5

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: b76a80b4a533c33c7e97b20114e9682381475fee44a7a465f92ed7c02de6d8c1
4
- data.tar.gz: f890d093a451c1b21bf2d3caaf757b7bb4722b72ac7dd41994e5868500f12660
3
+ metadata.gz: 06d1a1df89151c60177231e95f0f90bb00220c7f282ad0ebd30e6d3e2c934e80
4
+ data.tar.gz: 1e21d2c6098b53abd989b99ba2f2589b9c217c5f7a92e689251f1e52efa91869
5
5
  SHA512:
6
- metadata.gz: b5a0c7ed57a6e0d7e9778acbed0b54aa9aebae94e6cc331cd7935058d0f06a0f48270592592533997957b71c17faa482fd69e96d478286c71129b63e38ddc119
7
- data.tar.gz: fcb101e0542e953f8a60726e34fdc67889132cd70e8fcd4ea8df2de9db2bed40bbb5ecf092fe7cd4e8eded57ee03d8ef00b32f71977a4bad0e8ee53bc2bfab15
6
+ metadata.gz: 766c98324b7066a5f655640f609359af74cbc79708b38e270a6ae725b748daf67469f714fba6ccb9234174cd820a2c40df0d896876b8365de73cb36caa0a099d
7
+ data.tar.gz: 307352165ce22352b77c00fd48e171d47cc09bbad3fbe5737ec89e3f23adfbdf85c368a295fa83a41d50d0ed628dbe9944bde46a3157a0fb4fcb6b85a1c3a1e3
data/_sass/recipes.scss CHANGED
@@ -14,7 +14,7 @@
14
14
  height: 100%;
15
15
  display: block;
16
16
  background: rgba(0, 0, 0, .2);
17
- color: var(--light-common);
17
+ color: #{$light-common};
18
18
  text-decoration: none;
19
19
  text-align: center;
20
20
  //vertical-align: text-bottom;
@@ -28,7 +28,7 @@
28
28
  bottom: 5px;
29
29
  width: 100%;
30
30
  left: 0;
31
- text-shadow: 1px 1px 1px var(--light-primary-highlight);
31
+ text-shadow: 1px 1px 1px #{$light-primary-highlight};
32
32
  }
33
33
 
34
34
  &:hover {
data/_sass/variables.scss CHANGED
@@ -3,39 +3,40 @@ $tablet: "(min-width: 450px)";
3
3
  $mid-point: "(min-width: 620px)";
4
4
  $desktop: "(min-width: 900px)";
5
5
 
6
-
7
6
  // dark mode
7
+ $light-primary-highlight: black;
8
+ $light-secondary-highlight: #999;
9
+ $light-common: white;
8
10
 
9
- :root{
10
- --primary-highlight: black;
11
- --secondary-highlight: #999;
12
- --common: white;
11
+ $dark-primary-highlight: white;
12
+ $dark-secondary-highlight: #868686;
13
+ $dark-common: rgb(16, 20, 34);
13
14
 
14
- // for theme independent styling
15
- --light-primary-highlight: black;
16
- --light-secondary-highlight: #999;
17
- --light-common: white;
15
+ :root{
16
+ --primary-highlight: #{$light-primary-highlight};
17
+ --secondary-highlight: #{$light-secondary-highlight};
18
+ --common: #{$light-common};
18
19
  }
19
20
 
20
21
  @media (prefers-color-scheme: dark) {
21
22
  :root{
22
- --primary-highlight: white;
23
- --secondary-highlight: #868686;
24
- --common: rgb(16, 20, 34);
23
+ --primary-highlight: #{$dark-primary-highlight};
24
+ --secondary-highlight: #{$dark-secondary-highlight};
25
+ --common: #{$dark-common};
25
26
  }
26
27
  }
27
28
 
28
29
  #color-mode:checked ~ * {
29
- --primary-highlight: white;
30
- --secondary-highlight: #868686;
31
- --common: rgb(16, 20, 34);
30
+ --primary-highlight: #{$dark-primary-highlight};
31
+ --secondary-highlight: #{$dark-secondary-highlight};
32
+ --common: #{$dark-common};
32
33
  }
33
34
 
34
35
  @media (prefers-color-scheme: dark) {
35
36
  #color-mode:checked ~ * {
36
- --primary-highlight: black;
37
- --secondary-highlight: #999;
38
- --common: white;
37
+ --primary-highlight: #{$light-primary-highlight};
38
+ --secondary-highlight: #{$light-secondary-highlight};
39
+ --common: #{$light-common};
39
40
  }
40
41
  }
41
42
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-recipe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hanno Witzleb