vite-plugin-capsize-radix 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.
package/dist/index.js CHANGED
@@ -177,14 +177,14 @@ async function generate(options) {
177
177
  ].map(({ fontSize, lineHeight }, i) => {
178
178
  const lineGap = lineHeight - fontSize;
179
179
  const style = (0, import_core.createStyleString)(`rt-Code.rt-r-size-${i + 1}`, {
180
- capHeight: fontSize,
180
+ capHeight: fontSize * 0.95,
181
181
  lineGap,
182
182
  fontMetrics: options.codingFontStack[0]
183
183
  });
184
184
  return {
185
185
  style,
186
186
  ...(0, import_core.createStyleObject)({
187
- capHeight: fontSize,
187
+ capHeight: fontSize * 0.95,
188
188
  lineGap,
189
189
  fontMetrics: options.codingFontStack[0]
190
190
  }),
package/dist/index.mjs CHANGED
@@ -147,14 +147,14 @@ async function generate(options) {
147
147
  ].map(({ fontSize, lineHeight }, i) => {
148
148
  const lineGap = lineHeight - fontSize;
149
149
  const style = createStyleString(`rt-Code.rt-r-size-${i + 1}`, {
150
- capHeight: fontSize,
150
+ capHeight: fontSize * 0.95,
151
151
  lineGap,
152
152
  fontMetrics: options.codingFontStack[0]
153
153
  });
154
154
  return {
155
155
  style,
156
156
  ...createStyleObject({
157
- capHeight: fontSize,
157
+ capHeight: fontSize * 0.95,
158
158
  lineGap,
159
159
  fontMetrics: options.codingFontStack[0]
160
160
  }),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vite-plugin-capsize-radix",
3
3
  "description": "Great Typography with Radix & Capsize",
4
- "version": "0.1.0",
4
+ "version": "0.1.1",
5
5
  "author": "Kyle Mathews <mathews.kyle@gmail.com>",
6
6
  "dependencies": {
7
7
  "@capsizecss/core": "^4.1.0",