jekyll-link-decorator 1.7.0 → 1.8.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: ff4ff4aab91fea08f0f9d818a35287da8ad337181e028a2a2da62245866b3420
4
- data.tar.gz: 81737c19fc41c5134c6741b0b6ebfb28746ca376f591c46a95a16631d56cfebf
3
+ metadata.gz: 0a4872962803af2990a40727305d6c2addb9ea7d3df92d614d00371a0aaf77ad
4
+ data.tar.gz: 47250445c0c9163963082deb6ee986022dc44e4db2ecd79d2b8367c1ecc3000b
5
5
  SHA512:
6
- metadata.gz: e912b0fbdc82c9640912f96b5a4f436d378e79fd4f9099eaba218759d7dc6ca688285b6785aa34163d89c749e153b9e5de37623277e66c16f892abe23fe3be02
7
- data.tar.gz: 0ba21a73e60ad550d74415a22f06b2ada6bf83d8bef37521e778fcb546ca39bdb0695bdeefe1fb53c6fe65003608c2725f8446f3943f69664e105c4f0d704880
6
+ metadata.gz: b8328e80c3b9ba63802c5aef9133054731c19112e078ced348ff5f30fa8da47c6c02531d4bb140bd016ae7e9c376921a00561df16eaa2695a3f9cb000496d5b5
7
+ data.tar.gz: ef76d4e238557f5ad72114c1701519f1323af626149f8730bc873f9d6213f3a8c5624afd29357dc021aa5c507db29a80d7f56e3d0b93e29f114b8431accd9b0a
@@ -6,6 +6,6 @@ module Jekyll
6
6
  # Regenerated alongside the gemspec on every `make gemspec` run (locally
7
7
  # or in CI), so it always matches spec.version in the built gem. Any
8
8
  # hand edit is overwritten on the next run.
9
- VERSION = '1.7.0'
9
+ VERSION = '1.8.0'
10
10
  end
11
11
  end
@@ -39,7 +39,7 @@ module Jekyll
39
39
  # box) via Nokogiri CSS selectors, excluding buttons. Also adds
40
40
  # external-link icons for cross-domain links.
41
41
  class LinkDecorator < Jekyll::Converters::Markdown
42
- DEFAULT_LINK_CLASSES = 'link link-offset-3 link-offset-3-hover link-underline-primary ' \
42
+ DEFAULT_LINK_CLASSES = 'link link-offset-2 link-offset-2-hover link-underline ' \
43
43
  'link-underline-opacity-0 link-underline-opacity-100-hover focus-ring'
44
44
  DEFAULT_ALERT_LINK_CLASSES = 'alert-link focus-ring'
45
45
 
@@ -62,8 +62,9 @@ module Jekyll
62
62
  # excludes link-underline-*, link-offset-*, and link-opacity-* families)
63
63
  pattern: /\Alink-(?!underline\b|offset-|opacity-)\S+\z/
64
64
  },
65
- { # link-underline-{color}, e.g. link-underline-success (excludes -opacity-*)
66
- pattern: /\Alink-underline-(?!opacity)\S+\z/
65
+ { # link-underline and link-underline-{color}, e.g. link-underline-success
66
+ # (excludes -opacity-*); the bare class takes the link's own text color
67
+ pattern: /\Alink-underline(?:-(?!opacity)\S+)?\z/
67
68
  },
68
69
  { # link-offset-{1,2,3}, each with an optional -hover variant
69
70
  pattern: /\Alink-offset-[123](-hover)?\z/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-link-decorator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alain Reguera Delgado