pandorga 2.1.0 → 2.1.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: 3dd3df9d18ed1ac1a99e07aecfe17e5776ccf46e35ca30cb4c87dc8e9ec6a00f
4
- data.tar.gz: c87fa62d1dcdd8ddc1b1f00671b83558e0114b4d28a2de376eb653251740a7a4
3
+ metadata.gz: 41e9aae873bb7fe7ca6c4f16291342d17df63b1e67c4c9f21ee0a84a144241fa
4
+ data.tar.gz: 5c3d5f17a85c83dce67ad2e63561b7db672dee2539dfd116895f8a3c62735ead
5
5
  SHA512:
6
- metadata.gz: f75cd5a291e0678b90997a207a73bdd3401e76e3de3d4bcbd732323f46e87f11b4aa0075a46a61e35378a49d79ae7acb97d521793ca04a5705e5fe4a5d6d7381
7
- data.tar.gz: 279e4ed500471c6b7a74129bb9a18648c4c21054aa9b02af7f2794f9eada23afe7249c23b2de2f6555301d3d520b4caba60c7c30e3620eae8aaf8409905900d2
6
+ metadata.gz: 2c50582c8abb7a871df968d8dfe687803375e37d63381e91e058c24aa80f257e12e8aed779213c742893e5b5eaa904e067fa3494316416290cbb94e0aee46b43
7
+ data.tar.gz: 7b22b9148844a77f8d89a8957d5b65840899e1a29c6a947a5c7cbc2873b91e8873888dc9a6fc29f284631c3c1be48be47da4e3b6261b95c38af9341f98ac6e7a
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [2.1.1] — 2026-10-28
6
+
7
+ ### Fixed
8
+
9
+ - Mobile body weight (`body_weight_mobile` / `--weight-body-mobile`) now wins on viewports under 768px. The rebind lives in `theme-vars.html` after the theme token block so it is not overridden by the desktop `--weight-body` declaration (PLT-AC-57).
10
+
5
11
  ## [2.1.0] — 2026-10-28
6
12
 
7
13
  ### Added
@@ -13,4 +13,13 @@
13
13
  --motion-duration-slow: 0s;
14
14
  }
15
15
  }
16
+
17
+ /* After theme-vars-block sets --weight-body (desktop), rebind on small
18
+ viewports. Must live in this style tag: an earlier base.css media
19
+ query loses to the block's later --weight-body declaration (PLT-AC-57). */
20
+ @media (max-width: 767px) {
21
+ :root, [data-theme] {
22
+ --weight-body: var(--weight-body-mobile, 350);
23
+ }
24
+ }
16
25
  </style>
@@ -24,7 +24,7 @@ module Pandorga
24
24
 
25
25
  gem "pandorga", "~> 2.0"
26
26
  # Local checkout: gem "pandorga", path: "../pandorga"
27
- # GitHub tag: gem "pandorga", github: "alexandrelheinen/pandorga", tag: "v2.1.0"
27
+ # GitHub tag: gem "pandorga", github: "alexandrelheinen/pandorga", tag: "v2.1.1"
28
28
  gem "csv"
29
29
  gem "base64"
30
30
  RUBY
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pandorga
4
- VERSION = "2.1.0"
4
+ VERSION = "2.1.1"
5
5
  end
@@ -104,3 +104,7 @@ fail!("spec is missing PLT-AC-30") unless spec.include?("PLT-AC-30")
104
104
  fail!("configuration reference omits pandorga.fonts") unless ROOT.join("docs/configuration.md").read.include?("pandorga.fonts")
105
105
 
106
106
  puts "PASS test-fonts"
107
+
108
+ theme_vars = File.read(File.expand_path("../../_includes/theme/theme-vars.html", __dir__))
109
+ fail!("theme-vars.html missing mobile --weight-body rebind (PLT-AC-57 cascade)") unless theme_vars.match?(/@media\s*\(max-width:\s*767px\)[\s\S]*--weight-body:\s*var\(--weight-body-mobile/)
110
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pandorga
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Pandorga contributors