@surflane/css 0.10.0 → 0.11.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.
@@ -119,6 +119,11 @@
119
119
  color: var(--surf-ink);
120
120
  margin-block: var(--surf-space-8) var(--surf-space-3);
121
121
  }
122
+ /* A heading's top margin separates it from the text above; the first child has none.
123
+ (0,2,0) beats the heading rule's (0,1,1). */
124
+ .surf-prose > :first-child {
125
+ margin-top: 0;
126
+ }
122
127
  .surf-prose h2 {
123
128
  font-size: var(--surf-type-page-size);
124
129
  line-height: var(--surf-type-page-leading);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@surflane/css",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "Surflane's CSS-only layer: control, layout composition, document typography and presentation classes that work without React, on top of @surflane/design-tokens.",
5
5
  "keywords": [
6
6
  "design-system",
@@ -37,7 +37,7 @@
37
37
  "./package.json": "./package.json"
38
38
  },
39
39
  "peerDependencies": {
40
- "@surflane/design-tokens": "^0.10.0"
40
+ "@surflane/design-tokens": "^0.11.0"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"