jekyll-theme-amethyst 1.2.1 → 2.0.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: dd713f104c3f11d0bbf936b256059ac16abed6d63e3bfe4d3641cf1d7bd0cf9d
4
- data.tar.gz: 9eb9b32ecd778b4a10ffa708c3ef3176bc574b4a540dd90682a404aec69aaa9f
3
+ metadata.gz: 6f24ddb3ef8eea41aefe27157c649ee526fb88508a0500b40a4ae6be5ee2829e
4
+ data.tar.gz: ffede56a7da05fce5c4681135f4e4c11b1e322d8b1fde377849262b0339d71b7
5
5
  SHA512:
6
- metadata.gz: 88ea9945ef9a71a0f3bdb14cfdf932c90a5a6c7209e687fcd19377be5b3099eb74fcea5d066cf23b20964bdee42b683a3e06ba332cd92f9b9523aa1a064b7241
7
- data.tar.gz: ca19314005d3446128363a3c5b24475a1cbf1f8443f6c98dd5928ebc10d25b54a584dce38e4e2fa8318b76438057a945e0f9f94fa68bfdabcf7e46116da49ad7
6
+ metadata.gz: 9a8681d0da13282f8ac0de2c56cfab79900c90360195f656b244f370145c0bb7c6934839294a7ba363155b60fed34bf60535e6c2e46716ec290e866d3056c2ab
7
+ data.tar.gz: 8eb5fc49da1f95afa1f717ebc65f9c0bf168f9bbded302377ea2ece1ba53b0aba7008a5420cbb68f5922be13427bfc757ce82cff8fc0c4535dd630101cbb2477
@@ -0,0 +1,21 @@
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;
@@ -1,4 +1,5 @@
1
1
  // Amethyst theme variables
2
+ // Override by creating a local `_sass/amethyst-variables.scss` file in your project.
2
3
 
3
4
  // Primary color
4
5
  //
data/_sass/amethyst.scss CHANGED
@@ -2,25 +2,9 @@
2
2
 
3
3
  // Amethyst theme for Jekyll
4
4
 
5
- $size-sm: 0.8rem;
6
- $size-1: 1rem;
7
- $size-2: 1.333rem;
8
- $size-3: 1.777rem;
9
- $size-4: 2.369rem;
10
- $size-5: 3.157rem;
11
- $size-spacing: $size-2;
12
- $box-spacing: $size-1;
13
-
14
- $color-white: #fff;
15
- $color-light: #f4f4f4;
16
- $color-off-white: #cdcdcd;
17
- $color-darkgrey: #63676d; // based on 2015 api.jquery.com design
18
- $color-black: #333;
19
-
20
- $screen-s: 480px;
21
- $screen-m: 768px;
22
- $screen-l: 992px;
23
- $screen-xl: 1200px;
5
+ @use "amethyst-variables-all" as *;
6
+ @use "sass:color";
7
+ @use "sass:string";
24
8
 
25
9
  * {
26
10
  box-sizing: border-box;
@@ -465,13 +449,13 @@ table {
465
449
  /* Search */
466
450
 
467
451
  typesense-minibar {
468
- --tsmb-color-base-background: #{lighten($color-accent, 12%)};
452
+ --tsmb-color-base-background: #{color.adjust($color-accent, $lightness: 12%)};
469
453
  --tsmb-color-primary30: #{$color-accent};
470
454
  --tsmb-color-primary50: #{$color-vibrant};
471
455
  --tsmb-color-primary90: #{$color-bright};
472
456
  --tsmb-color-base30: var(--tsmb-color-primary90);
473
- --tsmb-color-base50: #{change-color($color-bright, $alpha: 0.6)}; // #a98dc1
474
- --tsmb-color-base90: #{change-color($color-bright, $alpha: 0.6)};
457
+ --tsmb-color-base50: #{color.change($color-bright, $alpha: 0.6)}; // #a98dc1
458
+ --tsmb-color-base90: #{color.change($color-bright, $alpha: 0.6)};
475
459
 
476
460
  flex: 1;
477
461
  align-self: center;
@@ -480,7 +464,7 @@ typesense-minibar form {
480
464
  width: auto;
481
465
  }
482
466
  typesense-minibar form:not(:focus-within)::before {
483
- filter: unquote("invert()");
467
+ filter: string.unquote("invert()");
484
468
  }
485
469
  typesense-minibar input[type="search"] {
486
470
  border: none;
@@ -607,8 +591,8 @@ typesense-minibar input[type="search"] {
607
591
 
608
592
  .hero {
609
593
  margin-bottom: $size-spacing;
610
- background-color: darken($color-vibrant, 12%);
611
- background-image: linear-gradient(135deg, darken($color-vibrant, 12%), $color-vibrant );
594
+ background-color: color.adjust($color-vibrant, $lightness: -12%);
595
+ background-image: linear-gradient(135deg, color.adjust($color-vibrant, $lightness: -12%), $color-vibrant );
612
596
  padding: ($size-4 * 2) 0;
613
597
  text-align: center;
614
598
  }
data/_sass/custom.scss CHANGED
@@ -1,2 +1,8 @@
1
1
  // Add custom styles via a local `_sass/custom.scss` file
2
2
  // in your website.
3
+ //
4
+ // To import the same variables as used in amethyst.scss,
5
+ // start your file with this line:
6
+ //
7
+ // @use "amethyst-variables-all" as *;
8
+ //
data/assets/styles.scss CHANGED
@@ -3,7 +3,6 @@
3
3
 
4
4
  @use "typesense-minibar.css";
5
5
 
6
- @import "amethyst-variables";
7
- @import "amethyst";
8
- @import "highlight";
9
- @import "custom";
6
+ @use "amethyst";
7
+ @use "highlight";
8
+ @use "custom";
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-amethyst
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timo Tijhof
8
8
  - Trent Willis
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-08-01 00:00:00.000000000 Z
12
+ date: 2025-01-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -101,8 +101,8 @@ dependencies:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
103
  version: 2.2.1
104
- description:
105
- email:
104
+ description:
105
+ email:
106
106
  executables: []
107
107
  extensions: []
108
108
  extra_rdoc_files: []
@@ -124,6 +124,7 @@ files:
124
124
  - _layouts/posts-year.html
125
125
  - _layouts/posts.html
126
126
  - _layouts/wrapper.html
127
+ - _sass/amethyst-variables-all.scss
127
128
  - _sass/amethyst-variables.scss
128
129
  - _sass/amethyst.scss
129
130
  - _sass/custom.scss
@@ -137,7 +138,7 @@ licenses:
137
138
  - MIT
138
139
  metadata:
139
140
  plugin_type: theme
140
- post_install_message:
141
+ post_install_message:
141
142
  rdoc_options: []
142
143
  require_paths:
143
144
  - lib
@@ -152,8 +153,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
152
153
  - !ruby/object:Gem::Version
153
154
  version: '0'
154
155
  requirements: []
155
- rubygems_version: 3.3.5
156
- signing_key:
156
+ rubygems_version: 3.4.20
157
+ signing_key:
157
158
  specification_version: 4
158
159
  summary: https://github.com/qunitjs/jekyll-theme-amethyst
159
160
  test_files: []