@nationalarchives/frontend 0.2.17 → 0.3.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.
- package/README.md +1 -1
- package/nationalarchives/all.css +1 -1
- package/nationalarchives/all.css.map +1 -1
- package/nationalarchives/components/breadcrumbs/template.njk +1 -1
- package/nationalarchives/components/button/fixtures.json +1 -1
- package/nationalarchives/components/button/template.njk +1 -1
- package/nationalarchives/components/card/card.css.map +1 -1
- package/nationalarchives/components/card/card.scss +1 -1
- package/nationalarchives/components/card/fixtures.json +1 -1
- package/nationalarchives/components/card/template.njk +1 -1
- package/nationalarchives/components/files-list/fixtures.json +4 -4
- package/nationalarchives/components/files-list/template.njk +1 -1
- package/nationalarchives/components/footer/fixtures.json +2 -2
- package/nationalarchives/components/footer/footer.css +1 -1
- package/nationalarchives/components/footer/footer.css.map +1 -1
- package/nationalarchives/components/footer/footer.scss +0 -1
- package/nationalarchives/components/footer/template.njk +9 -6
- package/nationalarchives/components/gallery/fixtures.json +2 -2
- package/nationalarchives/components/gallery/template.njk +3 -3
- package/nationalarchives/components/global-header/global-header.css +1 -1
- package/nationalarchives/components/global-header/global-header.css.map +1 -1
- package/nationalarchives/components/global-header/global-header.scss +7 -5
- package/nationalarchives/components/global-header/template.njk +3 -3
- package/nationalarchives/components/header/header.css +1 -1
- package/nationalarchives/components/header/header.css.map +1 -1
- package/nationalarchives/components/header/header.scss +1 -5
- package/nationalarchives/components/header/template.njk +2 -2
- package/nationalarchives/components/hero/fixtures.json +1 -1
- package/nationalarchives/components/hero/macro-options.json +6 -0
- package/nationalarchives/components/pagination/fixtures.json +8 -11
- package/nationalarchives/components/pagination/macro-options.json +0 -6
- package/nationalarchives/components/pagination/template.njk +4 -6
- package/nationalarchives/components/quick-filters/quick-filters.css +1 -1
- package/nationalarchives/components/quick-filters/quick-filters.css.map +1 -1
- package/nationalarchives/components/quick-filters/quick-filters.scss +2 -0
- package/nationalarchives/components/quick-filters/template.njk +1 -1
- package/nationalarchives/prototype-kit.css +1 -1
- package/nationalarchives/prototype-kit.css.map +1 -1
- package/nationalarchives/utilities/_imports.scss +4 -4
- package/nationalarchives/utilities/_reset.scss +15 -0
- package/package.json +1 -1
@@ -53,8 +53,8 @@
|
|
53
53
|
" ",
|
54
54
|
"+"
|
55
55
|
);
|
56
|
-
@warn "Remember to import the Google Fonts CSS into your application";
|
57
|
-
@debug '<link rel="preconnect" href="https://fonts.googleapis.com">';
|
58
|
-
@debug '<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>';
|
59
|
-
@debug '<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=#{$main-font-family-name}:wght@#{typography.$main-font-weight}..#{typography.$main-font-weight-bold}&family=#{$detail-font-family-name}:wght@#{typography.$detail-font-weight}..#{typography.$detail-font-weight-bold}&display=swap">'; /* stylelint-disable-line */
|
56
|
+
// @warn "Remember to import the Google Fonts CSS into your application";
|
57
|
+
// @debug '<link rel="preconnect" href="https://fonts.googleapis.com">';
|
58
|
+
// @debug '<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>';
|
59
|
+
// @debug '<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=#{$main-font-family-name}:wght@#{typography.$main-font-weight}..#{typography.$main-font-weight-bold}&family=#{$detail-font-family-name}:wght@#{typography.$detail-font-weight}..#{typography.$detail-font-weight-bold}&display=swap">'; /* stylelint-disable-line */
|
60
60
|
}
|
@@ -14,6 +14,21 @@
|
|
14
14
|
}
|
15
15
|
}
|
16
16
|
|
17
|
+
/*
|
18
|
+
* ------------------------------------------
|
19
|
+
* If the browser supports -apple-system-body
|
20
|
+
* which at the moment is just iOS then using
|
21
|
+
* the system body font we can respond to the
|
22
|
+
* Dynamic Type setting in iOS
|
23
|
+
* ------------------------------------------
|
24
|
+
*/
|
25
|
+
@supports (font: -apple-system-body) {
|
26
|
+
html {
|
27
|
+
/* stylelint-disable-next-line font-family-no-missing-generic-family-keyword */
|
28
|
+
font: -apple-system-body;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
17
32
|
img,
|
18
33
|
svg,
|
19
34
|
picture,
|