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 +4 -4
- data/CHANGELOG.md +6 -0
- data/_includes/theme/theme-vars.html +9 -0
- data/lib/pandorga/commands/new.rb +1 -1
- data/lib/pandorga/version.rb +1 -1
- data/scripts/test/test-fonts.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 41e9aae873bb7fe7ca6c4f16291342d17df63b1e67c4c9f21ee0a84a144241fa
|
|
4
|
+
data.tar.gz: 5c3d5f17a85c83dce67ad2e63561b7db672dee2539dfd116895f8a3c62735ead
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
27
|
+
# GitHub tag: gem "pandorga", github: "alexandrelheinen/pandorga", tag: "v2.1.1"
|
|
28
28
|
gem "csv"
|
|
29
29
|
gem "base64"
|
|
30
30
|
RUBY
|
data/lib/pandorga/version.rb
CHANGED
data/scripts/test/test-fonts.rb
CHANGED
|
@@ -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
|
+
|