jekyll-social-share 0.2.0 → 0.2.1

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: 4dd7d8f4b2375db98ab2afd0bf5478cee76822d6d1734ff56807bae129e0d904
4
- data.tar.gz: e1af2045b2e84aba0575f13ae147a9da60ebecbeac2c48fdda696bb7558dae80
3
+ metadata.gz: cae7a797f7e712e755823503851227882c5b9b9242c6564864bb788ab969184a
4
+ data.tar.gz: fdb155741b8fd6bfb43d395dc1e49288d148228026aaf1c6ae69fe17c850825e
5
5
  SHA512:
6
- metadata.gz: ee3ea27c1f38b2eb8c53c755c316ee7a001d35e1281fa2f5386b90b7d83f75dbff6e725d9cca36d9807ec9e017338693f50036dc94a363e5f66b86d33163cfcf
7
- data.tar.gz: 87ee28621649db2186501828fb04281f7d32c3c15d0159a17b855b2fec386be580f24c691a063404947eec983354ef21eeecefe0ec5c30abf2c44abcef6ccc7f
6
+ metadata.gz: 3b04f780d394f9e69394b8c3f6f027b98620f3c05f820090acc548a0633da1a20177b49e2539d5f7584ca462ae51ba322ff69a1da1272c733137ea646a1af7a7
7
+ data.tar.gz: 5e64667bafa6a4d208cb397296a6f4169be562de3864bbec8ab4b32c2e46364c4f0ed0a5f94e30c4aabef70c234f4ddc8ff776fa36a702f48b419533f39a7961
data/README.md CHANGED
@@ -168,6 +168,21 @@ The `jasonchance.com` site includes a complete SCSS stylesheet for all 18 servic
168
168
  // ... (repeat for all 18 services)
169
169
  ```
170
170
 
171
+ ### Dark Mode
172
+
173
+ X and Threads use near-black brand colors (`#000`/`#111`) that are invisible in dark mode. Add a `prefers-color-scheme: dark` block to lighten them and any other low-contrast services:
174
+
175
+ ```scss
176
+ @media (prefers-color-scheme: dark) {
177
+ .social-share__item--x .social-share__link { color: #e1e8ed; &:hover, &:focus-visible { background: #e1e8ed; color: #111 !important; } }
178
+ .social-share__item--threads .social-share__link { color: #d0d0d0; &:hover, &:focus-visible { background: #d0d0d0; color: #111 !important; } }
179
+ .social-share__item--email .social-share__link { color: #ccc; &:hover, &:focus-visible { background: #ccc; color: #111 !important; } }
180
+ .social-share__item--copy .social-share__link { color: #999; &:hover, &:focus-visible { background: #999; color: #111 !important; } }
181
+ .social-share__item--tumblr .social-share__link { color: #8899aa; &:hover, &:focus-visible { background: #8899aa; color: #fff !important; } }
182
+ .social-share__item--print .social-share__link { color: #999; &:hover, &:focus-visible { background: #999; color: #111 !important; } }
183
+ }
184
+ ```
185
+
171
186
  ### Custom Styling
172
187
 
173
188
  To customize colors, override the CSS per-service:
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module SocialShare
5
- VERSION = "0.2.0"
5
+ VERSION = "0.2.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-social-share
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Chance
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2026-08-21 00:00:00.000000000 Z
10
+ date: 2026-08-22 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: jekyll