@trebired/frontend 21.0.0 → 21.0.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 21.0.1
4
+
5
+ - The brand button really has no padding now. It is a button, and the padding every button gets is written later in the stylesheet, so at equal weight it won and the logo still started 19px further in than the edge of the bar. The brand's own box now outranks it, as its colour already does.
6
+
3
7
  ## 21.0.0
4
8
 
5
9
  Breaking for configuration: `shell.header.px` and `shell.header.brand.button.padding` are gone.
@@ -314,28 +314,27 @@ $motion: token("motion-duration", 500ms) token("motion-easing", cubic-bezier(0.2
314
314
  box-shadow: none;
315
315
  }
316
316
 
317
- #{ns.class("site-header-brand-button")} {
317
+ #{ns.class("site-header-brand-button")},
318
+
319
+ #{ns.class("button")}#{ns.class("site-header-brand-button")} {
318
320
  display: inline-flex;
319
321
  flex-shrink: 0;
320
322
  align-items: center;
321
323
  gap: var(#{ns.css-var("shell-header-brand-button-gap")}, 8px);
322
324
  min-width: 0;
325
+ min-height: 0;
326
+ height: auto;
323
327
  border: 0;
324
328
  border-radius: var(#{ns.css-var("shell-header-brand-button-radius")}, var(#{ns.css-var("radius-sm")}, 0));
325
329
  padding-block: 4px;
326
330
  padding-inline: 0;
327
331
  background: transparent;
328
- cursor: pointer;
329
- transition: color 0.22s ease;
330
- }
331
-
332
- #{ns.class("site-header-brand-button")},
333
-
334
- #{ns.class("button")}#{ns.class("site-header-brand-button")} {
335
332
  color: var(
336
333
  #{ns.css-var("shell-header-brand-button-color")},
337
334
  color-mix(in srgb, var(#{ns.css-var("text")}, currentColor) 74%, transparent)
338
335
  );
336
+ cursor: pointer;
337
+ transition: color 0.22s ease;
339
338
  }
340
339
 
341
340
  #{ns.class("site-header-brand-button")}:hover,
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  }
9
9
  },
10
10
  "name": "@trebired/frontend",
11
- "version": "21.0.0",
11
+ "version": "21.0.1",
12
12
  "description": "Generic browser runtime systems for Trebired frontend packages and applications.",
13
13
  "type": "module",
14
14
  "private": false,