baseline-foundry 0.2.0 → 0.2.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/README.md CHANGED
@@ -115,7 +115,7 @@ The verified GitHub release artifact remains available as a fallback for
115
115
  environments that cannot reach the npm registry:
116
116
 
117
117
  ```bash
118
- npm install https://github.com/lyubomir-popov/baseline-foundry/releases/download/v0.2.0/baseline-foundry-0.2.0.tgz
118
+ npm install https://github.com/lyubomir-popov/baseline-foundry/releases/download/v0.2.1/baseline-foundry-0.2.1.tgz
119
119
  ```
120
120
 
121
121
  Use the attached `.tgz`, not the GitHub source archive: generated `dist/`
@@ -117,11 +117,11 @@ export function sitesEditorialPortsCss() {
117
117
  }
118
118
  }
119
119
 
120
- /* A hero can keep its entry rule while placing its content directly against
121
- that boundary. Scope this exception to the hero instead of publishing a
122
- global padding utility. */
120
+ /* A compact ruled hero keeps the same half-rem clearance as the native rule
121
+ primitive. The border occupies one pixel of that clearance, just as the
122
+ rule's compensated trailing margin does. */
123
123
  :where(.bf-theme) :where(.bf-hero.is-top-flush) {
124
- padding-block-start: 0;
124
+ padding-block-start: calc(0.5rem - var(--bf-border-width));
125
125
  }
126
126
 
127
127
  @container bf-hero (width >= 45rem) {
@@ -3654,11 +3654,11 @@ html.u-baseline-grid::after {
3654
3654
  }
3655
3655
  }
3656
3656
 
3657
- /* A hero can keep its entry rule while placing its content directly against
3658
- that boundary. Scope this exception to the hero instead of publishing a
3659
- global padding utility. */
3657
+ /* A compact ruled hero keeps the same half-rem clearance as the native rule
3658
+ primitive. The border occupies one pixel of that clearance, just as the
3659
+ rule's compensated trailing margin does. */
3660
3660
  :where(.bf-theme) :where(.bf-hero.is-top-flush) {
3661
- padding-block-start: 0;
3661
+ padding-block-start: calc(0.5rem - var(--bf-border-width));
3662
3662
  }
3663
3663
 
3664
3664
  @container bf-hero (width >= 45rem) {
@@ -4105,11 +4105,11 @@ html.u-baseline-grid::after {
4105
4105
  }
4106
4106
  }
4107
4107
 
4108
- /* A hero can keep its entry rule while placing its content directly against
4109
- that boundary. Scope this exception to the hero instead of publishing a
4110
- global padding utility. */
4108
+ /* A compact ruled hero keeps the same half-rem clearance as the native rule
4109
+ primitive. The border occupies one pixel of that clearance, just as the
4110
+ rule's compensated trailing margin does. */
4111
4111
  :where(.bf-theme) :where(.bf-hero.is-top-flush) {
4112
- padding-block-start: 0;
4112
+ padding-block-start: calc(0.5rem - var(--bf-border-width));
4113
4113
  }
4114
4114
 
4115
4115
  @container bf-hero (width >= 45rem) {
@@ -4105,11 +4105,11 @@ html.u-baseline-grid::after {
4105
4105
  }
4106
4106
  }
4107
4107
 
4108
- /* A hero can keep its entry rule while placing its content directly against
4109
- that boundary. Scope this exception to the hero instead of publishing a
4110
- global padding utility. */
4108
+ /* A compact ruled hero keeps the same half-rem clearance as the native rule
4109
+ primitive. The border occupies one pixel of that clearance, just as the
4110
+ rule's compensated trailing margin does. */
4111
4111
  :where(.bf-theme) :where(.bf-hero.is-top-flush) {
4112
- padding-block-start: 0;
4112
+ padding-block-start: calc(0.5rem - var(--bf-border-width));
4113
4113
  }
4114
4114
 
4115
4115
  @container bf-hero (width >= 45rem) {
package/dist/styles.css CHANGED
@@ -4105,11 +4105,11 @@ html.u-baseline-grid::after {
4105
4105
  }
4106
4106
  }
4107
4107
 
4108
- /* A hero can keep its entry rule while placing its content directly against
4109
- that boundary. Scope this exception to the hero instead of publishing a
4110
- global padding utility. */
4108
+ /* A compact ruled hero keeps the same half-rem clearance as the native rule
4109
+ primitive. The border occupies one pixel of that clearance, just as the
4110
+ rule's compensated trailing margin does. */
4111
4111
  :where(.bf-theme) :where(.bf-hero.is-top-flush) {
4112
- padding-block-start: 0;
4112
+ padding-block-start: calc(0.5rem - var(--bf-border-width));
4113
4113
  }
4114
4114
 
4115
4115
  @container bf-hero (width >= 45rem) {
@@ -4105,11 +4105,11 @@ html.u-baseline-grid::after {
4105
4105
  }
4106
4106
  }
4107
4107
 
4108
- /* A hero can keep its entry rule while placing its content directly against
4109
- that boundary. Scope this exception to the hero instead of publishing a
4110
- global padding utility. */
4108
+ /* A compact ruled hero keeps the same half-rem clearance as the native rule
4109
+ primitive. The border occupies one pixel of that clearance, just as the
4110
+ rule's compensated trailing margin does. */
4111
4111
  :where(.bf-theme) :where(.bf-hero.is-top-flush) {
4112
- padding-block-start: 0;
4112
+ padding-block-start: calc(0.5rem - var(--bf-border-width));
4113
4113
  }
4114
4114
 
4115
4115
  @container bf-hero (width >= 45rem) {
@@ -4105,11 +4105,11 @@ html.u-baseline-grid::after {
4105
4105
  }
4106
4106
  }
4107
4107
 
4108
- /* A hero can keep its entry rule while placing its content directly against
4109
- that boundary. Scope this exception to the hero instead of publishing a
4110
- global padding utility. */
4108
+ /* A compact ruled hero keeps the same half-rem clearance as the native rule
4109
+ primitive. The border occupies one pixel of that clearance, just as the
4110
+ rule's compensated trailing margin does. */
4111
4111
  :where(.bf-theme) :where(.bf-hero.is-top-flush) {
4112
- padding-block-start: 0;
4112
+ padding-block-start: calc(0.5rem - var(--bf-border-width));
4113
4113
  }
4114
4114
 
4115
4115
  @container bf-hero (width >= 45rem) {
@@ -4105,11 +4105,11 @@ html.u-baseline-grid::after {
4105
4105
  }
4106
4106
  }
4107
4107
 
4108
- /* A hero can keep its entry rule while placing its content directly against
4109
- that boundary. Scope this exception to the hero instead of publishing a
4110
- global padding utility. */
4108
+ /* A compact ruled hero keeps the same half-rem clearance as the native rule
4109
+ primitive. The border occupies one pixel of that clearance, just as the
4110
+ rule's compensated trailing margin does. */
4111
4111
  :where(.bf-theme) :where(.bf-hero.is-top-flush) {
4112
- padding-block-start: 0;
4112
+ padding-block-start: calc(0.5rem - var(--bf-border-width));
4113
4113
  }
4114
4114
 
4115
4115
  @container bf-hero (width >= 45rem) {
@@ -4105,11 +4105,11 @@ html.u-baseline-grid::after {
4105
4105
  }
4106
4106
  }
4107
4107
 
4108
- /* A hero can keep its entry rule while placing its content directly against
4109
- that boundary. Scope this exception to the hero instead of publishing a
4110
- global padding utility. */
4108
+ /* A compact ruled hero keeps the same half-rem clearance as the native rule
4109
+ primitive. The border occupies one pixel of that clearance, just as the
4110
+ rule's compensated trailing margin does. */
4111
4111
  :where(.bf-theme) :where(.bf-hero.is-top-flush) {
4112
- padding-block-start: 0;
4112
+ padding-block-start: calc(0.5rem - var(--bf-border-width));
4113
4113
  }
4114
4114
 
4115
4115
  @container bf-hero (width >= 45rem) {
@@ -21,7 +21,7 @@ npm install baseline-foundry
21
21
  The attached GitHub release tarball is the fallback:
22
22
 
23
23
  ```bash
24
- npm install https://github.com/lyubomir-popov/baseline-foundry/releases/download/v0.2.0/baseline-foundry-0.2.0.tgz
24
+ npm install https://github.com/lyubomir-popov/baseline-foundry/releases/download/v0.2.1/baseline-foundry-0.2.1.tgz
25
25
  ```
26
26
 
27
27
  Do not install the Git tag or GitHub source archive. `dist/` is generated and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "baseline-foundry",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Lean baseline-aligned design system focused on typography, editorial flow, spacing, and grid primitives.",
5
5
  "author": "Lyubomir Popov",
6
6
  "type": "module",