@draftbase/renderer 0.1.2 → 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.
Files changed (2) hide show
  1. package/dist/styles.css +9 -9
  2. package/package.json +1 -1
package/dist/styles.css CHANGED
@@ -34,7 +34,7 @@
34
34
  }
35
35
 
36
36
  .db-content h1 {
37
- font-size: 2em;
37
+ font-size: 2.25em;
38
38
  font-weight: 700;
39
39
  line-height: 1.2;
40
40
  letter-spacing: -0.025em;
@@ -42,41 +42,41 @@
42
42
  }
43
43
 
44
44
  .db-content h2 {
45
- font-size: 1.625em;
45
+ font-size: 1.5em;
46
46
  line-height: 1.25;
47
47
  letter-spacing: -0.02em;
48
48
  margin-top: 1.75em;
49
49
  }
50
50
 
51
51
  .db-content h3 {
52
- font-size: 1.375em;
52
+ font-size: 1.25em;
53
53
  line-height: 1.3;
54
54
  }
55
55
 
56
56
  .db-content h4 {
57
- font-size: 1.25em;
57
+ font-size: 1.125em;
58
58
  line-height: 1.35;
59
59
  }
60
60
 
61
61
  .db-content h5 {
62
- font-size: 1.125em;
62
+ font-size: 1em;
63
63
  line-height: 1.4;
64
64
  }
65
65
 
66
66
  .db-content h6 {
67
- font-size: 1em;
67
+ font-size: 0.875em;
68
68
  line-height: 1.4;
69
69
  }
70
70
 
71
71
  @media (max-width: 640px) {
72
72
  .db-content h1 {
73
- font-size: 1.75em;
73
+ font-size: 1.875em;
74
74
  }
75
75
  .db-content h2 {
76
- font-size: 1.4em;
76
+ font-size: 1.25em;
77
77
  }
78
78
  .db-content h3 {
79
- font-size: 1.2em;
79
+ font-size: 1.125em;
80
80
  }
81
81
  }
82
82
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@draftbase/renderer",
3
- "version": "0.1.2",
3
+ "version": "0.2.1",
4
4
  "description": "Framework-agnostic MDX renderer for Draftbase content (React, Next.js RSC, React Native, Astro, Vite, Vue)",
5
5
  "keywords": [
6
6
  "draftbase",