prev-cli 0.3.2 → 0.3.4

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": "prev-cli",
3
- "version": "0.3.2",
3
+ "version": "0.3.4",
4
4
  "description": "Transform MDX directories into beautiful documentation websites",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -87,6 +87,10 @@
87
87
  line-height: 1.75;
88
88
  color: var(--fd-foreground);
89
89
  font-size: 1rem;
90
+ padding-left: 2.5rem !important;
91
+ padding-right: 1.5rem !important;
92
+ padding-top: 0.5rem !important;
93
+ padding-bottom: 3rem !important;
90
94
  }
91
95
 
92
96
  /* Heading styles with better spacing */
@@ -103,19 +107,19 @@
103
107
  .prev-content h2 {
104
108
  font-size: 1.5rem;
105
109
  font-weight: 600;
106
- margin-top: 3rem;
110
+ margin-top: 2.5rem;
107
111
  margin-bottom: 1.25rem;
108
- padding-bottom: 0.625rem;
112
+ padding-bottom: 0.25rem;
109
113
  border-bottom: 1px solid var(--fd-border);
110
- line-height: 1.3;
114
+ line-height: 1.25;
111
115
  color: var(--fd-foreground);
112
116
  }
113
117
 
114
118
  .prev-content h3 {
115
119
  font-size: 1.25rem;
116
120
  font-weight: 600;
117
- margin-top: 2.25rem;
118
- margin-bottom: 0.875rem;
121
+ margin-top: 2rem;
122
+ margin-bottom: 1rem;
119
123
  line-height: 1.4;
120
124
  color: var(--fd-foreground);
121
125
  }
@@ -123,29 +127,29 @@
123
127
  .prev-content h4 {
124
128
  font-size: 1.125rem;
125
129
  font-weight: 600;
126
- margin-top: 1.75rem;
127
- margin-bottom: 0.625rem;
130
+ margin-top: 1.5rem;
131
+ margin-bottom: 0.75rem;
128
132
  color: var(--fd-foreground);
129
133
  }
130
134
 
131
135
  /* Paragraph spacing */
132
136
  .prev-content p {
133
137
  margin-top: 0;
134
- margin-bottom: 1.5rem;
138
+ margin-bottom: 1.25rem;
135
139
  }
136
140
 
137
141
  /* List styling */
138
142
  .prev-content ul,
139
143
  .prev-content ol {
140
- margin-top: 1.25rem;
141
- margin-bottom: 1.75rem;
142
- padding-left: 1.75rem;
144
+ margin-top: 1rem;
145
+ margin-bottom: 1.5rem;
146
+ padding-left: 1.5rem;
143
147
  }
144
148
 
145
149
  .prev-content li {
146
- margin-top: 0.625rem;
147
- margin-bottom: 0.625rem;
148
- padding-left: 0.5rem;
150
+ margin-top: 0.5rem;
151
+ margin-bottom: 0.5rem;
152
+ padding-left: 0.375rem;
149
153
  }
150
154
 
151
155
  .prev-content li::marker {
@@ -187,8 +191,8 @@
187
191
 
188
192
  /* Code block styling */
189
193
  .prev-content pre {
190
- margin: 1.75rem 0;
191
- padding: 1.25rem 1.5rem;
194
+ margin: 1.25rem 0 1.5rem 0;
195
+ padding: 1rem 1.25rem;
192
196
  background: var(--fd-muted);
193
197
  border-radius: 0.5rem;
194
198
  overflow-x: auto;