@tryghost/shade 0.1.0-alpha.40 → 0.1.0-alpha.41

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tryghost/shade",
3
- "version": "0.1.0-alpha.40",
3
+ "version": "0.1.0-alpha.41",
4
4
  "description": "Ghost design system for React apps",
5
5
  "license": "MIT",
6
6
  "author": "Ghost Foundation",
package/preflight.css CHANGED
@@ -67,16 +67,6 @@
67
67
  sans-serif; /* 4 */
68
68
  }
69
69
 
70
- /*
71
- 1. Remove the margin in all browsers.
72
- 2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
73
- */
74
-
75
- body {
76
- margin: 0; /* 1 */
77
- line-height: inherit; /* 2 */
78
- }
79
-
80
70
  /*
81
71
  1. Add the correct height in Firefox.
82
72
  2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
package/styles.css CHANGED
@@ -23,7 +23,12 @@
23
23
  * {
24
24
  @apply border-border;
25
25
  }
26
+
27
+ /* The body's reset sits here, not in preflight.css: preflight is scoped to
28
+ .shade, which is inside body. In this layer, an app's unlayered body styles,
29
+ or a later base-layer rule, win over it. */
26
30
  body {
31
+ margin: 0;
27
32
  @apply font-sans antialiased bg-background text-foreground;
28
33
  }
29
34
  }