@trebired/frontend 13.35.0 → 13.36.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 +4 -0
- package/dist/language/styles/index.scss +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 13.36.0
|
|
4
|
+
|
|
5
|
+
- The locale switcher's code chip follows the colour it sits in. It was `color: var(--text-color-muted)` with a `--border-surface-1` border, both fixed to the page's own palette, so a switcher placed on an inverted surface such as a dark site header rendered the code in mid grey against a dark background and the chip was close to unreadable. Both are now mixed from `currentColor`, which keeps the muted look relative to the trigger and works on any background.
|
|
6
|
+
|
|
3
7
|
## 13.35.0
|
|
4
8
|
|
|
5
9
|
- `Button` renders an anchor when given an `href`, with `softRedirect`, `target` and `rel` (which defaults to `noopener noreferrer` for `_blank`). A link that looks like a button previously had to be a `TextLink` carrying the button classes, which put two components on one element: `TextLink` is a navigation primitive but it also applies link styling, and that styling won the cascade and cancelled the button's own transition. There was no way to get one without the other.
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
min-width: 28px;
|
|
25
25
|
height: 20px;
|
|
26
26
|
padding: 0 5px;
|
|
27
|
-
border: var(--border-width, 1px) solid
|
|
27
|
+
border: var(--border-width, 1px) solid color-mix(in srgb, currentColor 22%, transparent);
|
|
28
28
|
border-radius: var(--radius-sm, 3px);
|
|
29
|
-
color:
|
|
29
|
+
color: color-mix(in srgb, currentColor 78%, transparent);
|
|
30
30
|
font-size: 11px;
|
|
31
31
|
font-weight: 700;
|
|
32
32
|
line-height: 1;
|
package/package.json
CHANGED