@pressy-pub/typography 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/prose.css +5 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pressy-pub/typography",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Typography CSS preset for Pressy",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/prose.css CHANGED
@@ -5,7 +5,7 @@
5
5
  max-width: 65ch;
6
6
  margin-inline: auto;
7
7
  padding-inline: var(--prose-padding, 1.5rem);
8
- font-family: var(--font-prose, Georgia, 'Times New Roman', serif);
8
+ font-family: var(--font-prose, Georgia, "Times New Roman", serif);
9
9
  font-size: var(--font-size-base);
10
10
  line-height: var(--line-height-prose, 1.6);
11
11
  color: var(--color-text);
@@ -26,7 +26,7 @@
26
26
  font-family: var(--font-heading, system-ui, -apple-system, sans-serif);
27
27
  font-weight: 600;
28
28
  line-height: 1.25;
29
- margin-top: 2em;
29
+ margin-top: 0.5em;
30
30
  margin-bottom: 0.5em;
31
31
  color: var(--color-heading);
32
32
  }
@@ -133,7 +133,7 @@
133
133
 
134
134
  /* Code */
135
135
  .pressy-prose code {
136
- font-family: var(--font-mono, 'SF Mono', Menlo, monospace);
136
+ font-family: var(--font-mono, "SF Mono", Menlo, monospace);
137
137
  font-size: 0.875em;
138
138
  background: var(--color-code-bg);
139
139
  padding: 0.2em 0.4em;
@@ -141,7 +141,7 @@
141
141
  }
142
142
 
143
143
  .pressy-prose pre {
144
- font-family: var(--font-mono, 'SF Mono', Menlo, monospace);
144
+ font-family: var(--font-mono, "SF Mono", Menlo, monospace);
145
145
  font-size: 0.875em;
146
146
  background: var(--color-code-bg);
147
147
  padding: 1em 1.5em;
@@ -169,7 +169,7 @@
169
169
  }
170
170
 
171
171
  .pressy-prose hr.scene-break::before {
172
- content: '* * *';
172
+ content: "* * *";
173
173
  color: var(--color-text-muted);
174
174
  }
175
175