jekyll-theme-amethyst 2.1.2 → 2.2.0

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: c2bc41162348c604192440a6f7e96afd3231e9e158a374ae26c65ff83f4fcdb3
4
- data.tar.gz: 3398bca4f352a1ca31b9180d0e01f67599df71606b4598f03429ca02cf082f89
3
+ metadata.gz: dc3fd2adefa0eeb751401ace1836492107178b19304aef58d79ddaa5d32591e2
4
+ data.tar.gz: bd5904b38fa960397e3466f152efb4a7fa8050555b5693ec19672d05bc3cc96b
5
5
  SHA512:
6
- metadata.gz: ee6802b925e45b555f289dfafcd353d1e4478d39fc444b1e797a75cbc2e12a790898b3353d549770d27107348b6e5b5124b46f09318dec170de7f7c74608baf9
7
- data.tar.gz: 78b9b7af316322576564f094eb837c7fed34fb050ad1920162c685776b08cb5a845dce6c91fbb50ab3b558951be26f40cc5e4464a88000c9d68c40589c08c427
6
+ metadata.gz: 27d3a17d7196b17aae583f6587e9e5a6df77e9c24b00563acd19b725f26cdf76a417c0292e0d7b36887633ad4e4651acccbcbb7424396537402a4ff793b17ca9
7
+ data.tar.gz: 99b68811ea4cec3067e088d241f0b2ea4c31a97500462cec0892c2756284076bcb827d2ec337ba82ae141ee2a283bc64c5530df78533d957177a6b2e90f2e66d
data/_sass/amethyst.scss CHANGED
@@ -2,10 +2,29 @@
2
2
 
3
3
  // Amethyst theme for Jekyll
4
4
 
5
- @use "amethyst-variables-all" as *;
6
5
  @use "sass:color";
7
6
  @use "sass:string";
8
7
 
8
+ $size-sm: 0.8rem;
9
+ $size-1: 1rem;
10
+ $size-2: 1.333rem;
11
+ $size-3: 1.777rem;
12
+ $size-4: 2.369rem;
13
+ $size-5: 3.157rem;
14
+ $size-spacing: $size-2;
15
+ $box-spacing: $size-1;
16
+
17
+ $color-white: #fff;
18
+ $color-light: #f4f4f4;
19
+ $color-off-white: #cdcdcd;
20
+ $color-darkgrey: #63676d; // based on 2015 api.jquery.com design
21
+ $color-black: #333;
22
+
23
+ $screen-s: 480px;
24
+ $screen-m: 768px;
25
+ $screen-l: 992px;
26
+ $screen-xl: 1200px;
27
+
9
28
  * {
10
29
  box-sizing: border-box;
11
30
  }
@@ -449,13 +468,13 @@ table {
449
468
  /* Search */
450
469
 
451
470
  typesense-minibar {
452
- --tsmb-color-base-background: #{color.adjust($color-accent, $lightness: 12%)};
471
+ --tsmb-color-base-background: #{lighten($color-accent, 12%)};
453
472
  --tsmb-color-primary30: #{$color-accent};
454
473
  --tsmb-color-primary50: #{$color-vibrant};
455
474
  --tsmb-color-primary90: #{$color-bright};
456
475
  --tsmb-color-base30: var(--tsmb-color-primary90);
457
- --tsmb-color-base50: #{color.change($color-bright, $alpha: 0.6)}; // #a98dc1
458
- --tsmb-color-base90: #{color.change($color-bright, $alpha: 0.6)};
476
+ --tsmb-color-base50: #{change-color($color-bright, $alpha: 0.6)}; // #a98dc1
477
+ --tsmb-color-base90: #{change-color($color-bright, $alpha: 0.6)};
459
478
 
460
479
  flex: 1;
461
480
  align-self: center;
@@ -464,7 +483,7 @@ typesense-minibar form {
464
483
  width: auto;
465
484
  }
466
485
  typesense-minibar form:not(:focus-within)::before {
467
- filter: string.unquote("invert()");
486
+ filter: unquote("invert()");
468
487
  }
469
488
  typesense-minibar input[type="search"] {
470
489
  border: none;
@@ -591,8 +610,8 @@ typesense-minibar input[type="search"] {
591
610
 
592
611
  .hero {
593
612
  margin-bottom: $size-spacing;
594
- background-color: color.adjust($color-vibrant, $lightness: -12%);
595
- background-image: linear-gradient(135deg, color.adjust($color-vibrant, $lightness: -12%), $color-vibrant );
613
+ background-color: darken($color-vibrant, 12%);
614
+ background-image: linear-gradient(135deg, darken($color-vibrant, 12%), $color-vibrant );
596
615
  padding: ($size-4 * 2) 0;
597
616
  text-align: center;
598
617
  }
data/assets/styles.scss CHANGED
@@ -3,6 +3,7 @@
3
3
 
4
4
  @use "typesense-minibar.css";
5
5
 
6
- @use "amethyst";
7
- @use "highlight";
8
- @use "custom";
6
+ @import "amethyst-variables";
7
+ @import "amethyst";
8
+ @import "highlight";
9
+ @import "custom";
@@ -58,7 +58,7 @@ module AmethystPlugin
58
58
  safe true
59
59
 
60
60
  def generate(site)
61
- site.data["authors"].each do |slug, name|
61
+ site.data["authors"]&.each do |slug, name|
62
62
  site.pages << AuthorPageWithoutAFile.new(site, site.source, 'author', "#{slug}.html").tap do |page|
63
63
  page.data.merge!(
64
64
  "layout" => "posts-author",
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-amethyst
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timo Tijhof
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2025-01-15 00:00:00.000000000 Z
12
+ date: 2025-01-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -124,7 +124,6 @@ files:
124
124
  - _layouts/posts-year.html
125
125
  - _layouts/posts.html
126
126
  - _layouts/wrapper.html
127
- - _sass/amethyst-variables-all.scss
128
127
  - _sass/amethyst-variables.scss
129
128
  - _sass/amethyst.scss
130
129
  - _sass/custom.scss
@@ -1,21 +0,0 @@
1
- @forward "amethyst-variables";
2
-
3
- $size-sm: 0.8rem;
4
- $size-1: 1rem;
5
- $size-2: 1.333rem;
6
- $size-3: 1.777rem;
7
- $size-4: 2.369rem;
8
- $size-5: 3.157rem;
9
- $size-spacing: $size-2;
10
- $box-spacing: $size-1;
11
-
12
- $color-white: #fff;
13
- $color-light: #f4f4f4;
14
- $color-off-white: #cdcdcd;
15
- $color-darkgrey: #63676d; // based on 2015 api.jquery.com design
16
- $color-black: #333;
17
-
18
- $screen-s: 480px;
19
- $screen-m: 768px;
20
- $screen-l: 992px;
21
- $screen-xl: 1200px;