crayon-css 0.2.1 → 0.2.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/_reset.scss +13 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "crayon-css",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "A Sass utility CSS toolkit.",
5
5
  "sass": "src/crayon.scss",
6
6
  "files": [
package/src/_reset.scss CHANGED
@@ -30,8 +30,8 @@ dd {
30
30
  }
31
31
 
32
32
  /* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
33
- ul[role='list'],
34
- ol[role='list'] {
33
+ ul[role="list"],
34
+ ol[role="list"] {
35
35
  list-style: none;
36
36
  }
37
37
 
@@ -44,6 +44,11 @@ body {
44
44
  font-weight: typography.font-weight("normal");
45
45
  }
46
46
 
47
+ /* Table */
48
+ table {
49
+ border-collapse: collapse;
50
+ }
51
+
47
52
  /* Set shorter line heights on headings and interactive elements */
48
53
  h1,
49
54
  h2,
@@ -63,6 +68,10 @@ h4 {
63
68
  text-wrap: balance;
64
69
  }
65
70
 
71
+ p {
72
+ margin: 0;
73
+ }
74
+
66
75
  /*
67
76
  Text-level semantics
68
77
  ====================
@@ -87,12 +96,7 @@ kbd,
87
96
  samp,
88
97
  pre {
89
98
  font-family:
90
- ui-monospace,
91
- SFMono-Regular,
92
- Consolas,
93
- 'Liberation Mono',
94
- Menlo,
95
- monospace;
99
+ ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
96
100
  /* 1 */
97
101
  font-size: 1em;
98
102
  /* 2 */
@@ -156,4 +160,4 @@ textarea:not([rows]) {
156
160
  /* Anything that has been anchored to should have extra scroll margin */
157
161
  :target {
158
162
  scroll-margin-block: 5ex;
159
- }
163
+ }