@trebired/frontend 18.2.0 → 18.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/CHANGELOG.md +8 -0
- package/dist/styles/tokens.scss +0 -3
- package/dist/styles/utils/base.scss +0 -12
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 18.3.0
|
|
4
|
+
|
|
5
|
+
- Dropped the hairline the base stylesheet drew down the right edge of every page. `body::after` painted a fixed, full height 1px line in the border colour on every site, positioned against `--viewport-scrollbar-gap-inline-end`, which nothing ever set to anything but `0px`. It was a scrollbar gutter border for a shell that no longer asks for one, and no config could turn it off. `--viewport-scrollbar-gap-inline-end`, `--viewport-scrollbar-gap-block-end` and `--z-scrollbar-gutter-border` go with it, all three unreferenced.
|
|
6
|
+
|
|
7
|
+
## 18.2.1
|
|
8
|
+
|
|
9
|
+
- Republished. 18.2.0 was accepted by the registry but did not appear in the packument; this carries the same code.
|
|
10
|
+
|
|
3
11
|
## 18.2.0
|
|
4
12
|
|
|
5
13
|
- The scrollbar and the other native controls follow the device, not the site's theme, and they do it from the first paint. `color-scheme` is declared once on `html` in the base stylesheet as `light dark`, so the browser resolves it from the visitor's preference while the stylesheet is still render blocking. It is detached from the site theme in the same way the favicon is.
|
package/dist/styles/tokens.scss
CHANGED
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
--outline-width: 2px;
|
|
5
5
|
--icon-gap: 5px;
|
|
6
6
|
--header-height: 80px;
|
|
7
|
-
--viewport-scrollbar-gap-inline-end: 0px;
|
|
8
|
-
--viewport-scrollbar-gap-block-end: 0px;
|
|
9
7
|
--transition-1: 120ms;
|
|
10
8
|
--transition-2: 180ms;
|
|
11
9
|
--transition-3: 240ms;
|
|
@@ -31,7 +29,6 @@
|
|
|
31
29
|
--z-bottom-bar: var(--z-index-xs, 900);
|
|
32
30
|
--z-header-secondary: 910;
|
|
33
31
|
--z-header-primary: 920;
|
|
34
|
-
--z-scrollbar-gutter-border: 925;
|
|
35
32
|
--z-mobile-nav: 930;
|
|
36
33
|
--z-fullscreen: var(--z-index-sm, 1000);
|
|
37
34
|
--z-modal: var(--z-index-md, 1010);
|
|
@@ -98,18 +98,6 @@ body {
|
|
|
98
98
|
line-height: var(#{ns.css-var("body-line-height")}, var(--lh-sm, 1.4));
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
body::after {
|
|
102
|
-
content: "";
|
|
103
|
-
position: fixed;
|
|
104
|
-
top: 0;
|
|
105
|
-
right: var(--viewport-scrollbar-gap-inline-end, 0px);
|
|
106
|
-
bottom: 0;
|
|
107
|
-
width: var(#{ns.css-var("border-width")}, 1px);
|
|
108
|
-
background: var(#{ns.css-var("border")}, #000);
|
|
109
|
-
pointer-events: none;
|
|
110
|
-
z-index: var(--z-scrollbar-gutter-border, 925);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
101
|
body#{ns.data("mobile-sidebar-open", "true")},
|
|
114
102
|
|
|
115
103
|
body#{ns.data("sidebar-open", "true")} {
|