just-the-docs 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +33 -0
- data/_sass/base.scss +1 -1
- data/_sass/print.scss +1 -1
- data/_sass/search.scss +2 -2
- data/_sass/support/_variables.scss +20 -20
- data/_sass/support/mixins/_layout.scss +1 -1
- data/_sass/support/support.scss +0 -1
- data/_sass/tables.scss +1 -1
- metadata +2 -3
- data/_sass/support/_functions.scss +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c914f96a39d67612eb720be6798e3d98f66e6c30eb9897844857bb3eaa0c9de
|
4
|
+
data.tar.gz: e0e87b2c3bfea07a57a850fa1dcac7aeed496fbb9254618312f18ecd37152cfe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84f2f452bcbd0094849a076b9db382fac613ea4ca2584b1f754c8cfdcf449ea84aeb7264ed7b1f98ff3127500a5c038d93444294779a5119aa51cb160130e6b7
|
7
|
+
data.tar.gz: 932fdf1cd13b62dd30ebbd507bfcb4661b81d549efed16e5ef0f61a1b3b0222668a97d5c1ac3057512f764ee8836d28e48f1962026f4de97f9b33bb153de95a6
|
data/CHANGELOG.md
CHANGED
@@ -26,6 +26,39 @@ Docs changes in `main` that are *not* in the latest release:
|
|
26
26
|
|
27
27
|
- N/A
|
28
28
|
|
29
|
+
## Release v0.5.3
|
30
|
+
|
31
|
+
Hi all, this is a minor patch release that only includes one change: changing all text-based CSS properties to use `rem` instead of hard-coded `px` values. This has two effects:
|
32
|
+
|
33
|
+
1. All deprecation warnings are now fixed on build; you should now get a clean build with `jekyll build`.
|
34
|
+
2. We have **deprecated the `$root-font-size` SCSS variable**. We will remove it in an upcoming release of the theme.
|
35
|
+
|
36
|
+
If you use the stock Just the Docs theme, this release should have no impact on your final built site. If you change the `$root-font-size` SCSS variable, you might experience light layout shifts.
|
37
|
+
|
38
|
+
### Using Release `v0.5.3`
|
39
|
+
|
40
|
+
Users who have not pinned the theme version will be **automatically upgraded to `v0.5.3` the next time they build their site**.
|
41
|
+
|
42
|
+
To use this release explicitly as a remote theme:
|
43
|
+
|
44
|
+
```yml
|
45
|
+
remote_theme: just-the-docs/just-the-docs@v0.5.3
|
46
|
+
```
|
47
|
+
|
48
|
+
To use this version explicitly as a gem-based theme, pin the version in your `Gemfile` and re-run `bundle install` or `bundle update just-the-docs`:
|
49
|
+
|
50
|
+
```ruby
|
51
|
+
gem "just-the-docs", "0.5.3"
|
52
|
+
```
|
53
|
+
|
54
|
+
To use and pin a previous version of the theme, replace the `0.5.3` with the desired release tag.
|
55
|
+
|
56
|
+
### Bugfixes
|
57
|
+
|
58
|
+
- Fixed: font-size scaling for text-related CSS properties by using `rem` instead of fixed `px` values; deprecate `$root-font-size` by [@mattxwang] in [#1169]
|
59
|
+
|
60
|
+
[#1169]: https://github.com/just-the-docs/just-the-docs/pull/1169
|
61
|
+
|
29
62
|
## Release v0.5.2
|
30
63
|
|
31
64
|
Hi all, this is a minor patch release that mostly focuses on accessibility. Since we follow semantic versioning, this should be a smooth upgrade with no breaking changes.
|
data/_sass/base.scss
CHANGED
data/_sass/print.scss
CHANGED
data/_sass/search.scss
CHANGED
@@ -42,7 +42,7 @@
|
|
42
42
|
width: 100%;
|
43
43
|
height: 100%;
|
44
44
|
padding: $sp-2 $gutter-spacing-sm $sp-2 #{$gutter-spacing-sm + $sp-5};
|
45
|
-
font-size:
|
45
|
+
font-size: 1rem;
|
46
46
|
color: $body-text-color;
|
47
47
|
background-color: $search-background-color;
|
48
48
|
border-top: 0;
|
@@ -53,7 +53,7 @@
|
|
53
53
|
|
54
54
|
@include mq(md) {
|
55
55
|
padding: $sp-2 $gutter-spacing-sm $sp-2 #{$gutter-spacing + $sp-5};
|
56
|
-
font-size:
|
56
|
+
font-size: 0.875rem;
|
57
57
|
background-color: $body-background-color;
|
58
58
|
transition: padding-left linear #{$transition-duration * 0.5};
|
59
59
|
}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
$body-font-family: system-ui, -apple-system, blinkmacsystemfont, "Segoe UI",
|
4
4
|
roboto, "Helvetica Neue", arial, sans-serif !default;
|
5
5
|
$mono-font-family: "SFMono-Regular", menlo, consolas, monospace !default;
|
6
|
-
$root-font-size: 16px !default; //
|
6
|
+
$root-font-size: 16px !default; // DEPRECATED: previously base font-size for rems
|
7
7
|
$body-line-height: 1.4 !default;
|
8
8
|
$content-line-height: 1.6 !default;
|
9
9
|
$body-heading-line-height: 1.25 !default;
|
@@ -11,18 +11,18 @@ $body-heading-line-height: 1.25 !default;
|
|
11
11
|
// Font size
|
12
12
|
// `-sm` suffix is the size at the small (and above) media query
|
13
13
|
|
14
|
-
$font-size-1:
|
15
|
-
$font-size-1-sm:
|
16
|
-
$font-size-2:
|
17
|
-
$font-size-3:
|
18
|
-
$font-size-4:
|
19
|
-
$font-size-5:
|
20
|
-
$font-size-6:
|
21
|
-
$font-size-7:
|
22
|
-
$font-size-8:
|
23
|
-
$font-size-9:
|
24
|
-
$font-size-10:
|
25
|
-
$font-size-10-sm:
|
14
|
+
$font-size-1: 0.5625rem !default;
|
15
|
+
$font-size-1-sm: 0.625rem !default;
|
16
|
+
$font-size-2: 0.6875rem !default; // h4 - uppercased!, h6 not uppercased, text-small
|
17
|
+
$font-size-3: 0.75rem !default; // h5
|
18
|
+
$font-size-4: 0.875rem !default;
|
19
|
+
$font-size-5: 1rem !default; // h3
|
20
|
+
$font-size-6: 1.125rem !default; // h2
|
21
|
+
$font-size-7: 1.5rem !default;
|
22
|
+
$font-size-8: 2rem !default; // h1
|
23
|
+
$font-size-9: 2.25rem !default;
|
24
|
+
$font-size-10: 2.625rem !default;
|
25
|
+
$font-size-10-sm: 3rem !default;
|
26
26
|
|
27
27
|
// Colors
|
28
28
|
|
@@ -95,22 +95,22 @@ $border-color: $grey-lt-100 !default;
|
|
95
95
|
|
96
96
|
$gutter-spacing: $sp-6 !default;
|
97
97
|
$gutter-spacing-sm: $sp-4 !default;
|
98
|
-
$nav-width:
|
99
|
-
$nav-width-md:
|
98
|
+
$nav-width: 16.5rem !default;
|
99
|
+
$nav-width-md: 15.5rem !default;
|
100
100
|
$nav-list-item-height: $sp-6 !default;
|
101
101
|
$nav-list-item-height-sm: $sp-8 !default;
|
102
102
|
$nav-list-expander-right: true;
|
103
|
-
$content-width:
|
104
|
-
$header-height:
|
103
|
+
$content-width: 50rem !default;
|
104
|
+
$header-height: 3.75rem !default;
|
105
105
|
$search-results-width: $content-width - $nav-width !default;
|
106
106
|
$transition-duration: 400ms;
|
107
107
|
|
108
108
|
// Media queries in pixels
|
109
109
|
|
110
110
|
$media-queries: (
|
111
|
-
xs:
|
112
|
-
sm:
|
111
|
+
xs: 20rem,
|
112
|
+
sm: 31.25rem,
|
113
113
|
md: $content-width,
|
114
114
|
lg: $content-width + $nav-width,
|
115
|
-
xl:
|
115
|
+
xl: 87.5rem,
|
116
116
|
) !default;
|
data/_sass/support/support.scss
CHANGED
data/_sass/tables.scss
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: just-the-docs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrick Marsceill
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2023-06-
|
12
|
+
date: 2023-06-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -140,7 +140,6 @@ files:
|
|
140
140
|
- _sass/print.scss
|
141
141
|
- _sass/search.scss
|
142
142
|
- _sass/skiptomain.scss
|
143
|
-
- _sass/support/_functions.scss
|
144
143
|
- _sass/support/_variables.scss
|
145
144
|
- _sass/support/mixins/_buttons.scss
|
146
145
|
- _sass/support/mixins/_layout.scss
|