jekyll-theme-recipe 0.5.3 → 0.5.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b76a80b4a533c33c7e97b20114e9682381475fee44a7a465f92ed7c02de6d8c1
4
- data.tar.gz: f890d093a451c1b21bf2d3caaf757b7bb4722b72ac7dd41994e5868500f12660
3
+ metadata.gz: 97bd4c6ad9f7d79ac6d5f061c9ee3a7b3163aacc3f0280c9e92a88d8416aad6c
4
+ data.tar.gz: 65baf392e1423f9ddb5ea6f2381a27b33de54f35b7146bb28fb6eba0b20c064f
5
5
  SHA512:
6
- metadata.gz: b5a0c7ed57a6e0d7e9778acbed0b54aa9aebae94e6cc331cd7935058d0f06a0f48270592592533997957b71c17faa482fd69e96d478286c71129b63e38ddc119
7
- data.tar.gz: fcb101e0542e953f8a60726e34fdc67889132cd70e8fcd4ea8df2de9db2bed40bbb5ecf092fe7cd4e8eded57ee03d8ef00b32f71977a4bad0e8ee53bc2bfab15
6
+ metadata.gz: 5e2549d6049db4e61c54dc7ed0e5cbc9d41f1ac2b95ac48dd21cb885484bb5c6ad9390cd8666abdddb641215e5da8157b9d8048744baaeb249754fb8b194675c
7
+ data.tar.gz: 1118c387842681540667af731556493072bb072d4168501fb1aaddf788dc1a4924f6d6024c146c007de6ba8b20602a6ac0010a5de228e4afdc70a54f30d704a5
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.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hanno Witzleb