cherry-styled-components 0.1.0-36 → 0.1.0-37
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/cherry.js +2 -1
- package/dist/cherry.umd.cjs +2 -1
- package/package.json +3 -3
- package/src/lib/button.tsx +2 -1
package/dist/cherry.js
CHANGED
|
@@ -3004,7 +3004,7 @@ const as = K(ia), aa = (e, t, r, n, i, a) => k`
|
|
|
3004
3004
|
${de};
|
|
3005
3005
|
font-family: inherit;
|
|
3006
3006
|
display: inline-flex;
|
|
3007
|
-
padding:
|
|
3007
|
+
padding: 15px 30px;
|
|
3008
3008
|
border-radius: 100px;
|
|
3009
3009
|
font-weight: 600;
|
|
3010
3010
|
white-space: nowrap;
|
|
@@ -3096,6 +3096,7 @@ const as = K(ia), aa = (e, t, r, n, i, a) => k`
|
|
|
3096
3096
|
|
|
3097
3097
|
${r === "big" ? `font-size: ${e.fontSizes.buttonBig.lg};
|
|
3098
3098
|
line-height: ${e.lineHeights.buttonBig.lg};
|
|
3099
|
+
padding: 18px 30px;
|
|
3099
3100
|
` : `font-size: ${e.fontSizes.button.lg};
|
|
3100
3101
|
line-height: ${e.lineHeights.button.lg};`}
|
|
3101
3102
|
|
package/dist/cherry.umd.cjs
CHANGED
|
@@ -385,7 +385,7 @@ hr {
|
|
|
385
385
|
${se};
|
|
386
386
|
font-family: inherit;
|
|
387
387
|
display: inline-flex;
|
|
388
|
-
padding:
|
|
388
|
+
padding: 15px 30px;
|
|
389
389
|
border-radius: 100px;
|
|
390
390
|
font-weight: 600;
|
|
391
391
|
white-space: nowrap;
|
|
@@ -477,6 +477,7 @@ hr {
|
|
|
477
477
|
|
|
478
478
|
${r==="big"?`font-size: ${e.fontSizes.buttonBig.lg};
|
|
479
479
|
line-height: ${e.lineHeights.buttonBig.lg};
|
|
480
|
+
padding: 18px 30px;
|
|
480
481
|
`:`font-size: ${e.fontSizes.button.lg};
|
|
481
482
|
line-height: ${e.lineHeights.button.lg};`}
|
|
482
483
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cherry-styled-components",
|
|
3
|
-
"version": "0.1.0-
|
|
3
|
+
"version": "0.1.0-37",
|
|
4
4
|
"description": "Cherry is a design system for the modern web. Designed in Figma, built in React using Typescript.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"prettier": "^3.3.3",
|
|
45
45
|
"styled-components": "^6.1.12",
|
|
46
46
|
"typescript": "^5",
|
|
47
|
-
"vite": "^5.
|
|
48
|
-
"vite-plugin-dts": "^4.0.
|
|
47
|
+
"vite": "^5.4.0",
|
|
48
|
+
"vite-plugin-dts": "^4.0.2"
|
|
49
49
|
}
|
|
50
50
|
}
|
package/src/lib/button.tsx
CHANGED
|
@@ -25,7 +25,7 @@ export const buttonStyles = (
|
|
|
25
25
|
${resetButton};
|
|
26
26
|
font-family: inherit;
|
|
27
27
|
display: inline-flex;
|
|
28
|
-
padding:
|
|
28
|
+
padding: 15px 30px;
|
|
29
29
|
border-radius: 100px;
|
|
30
30
|
font-weight: 600;
|
|
31
31
|
white-space: nowrap;
|
|
@@ -124,6 +124,7 @@ export const buttonStyles = (
|
|
|
124
124
|
${$size === "big"
|
|
125
125
|
? `font-size: ${theme.fontSizes.buttonBig.lg};
|
|
126
126
|
line-height: ${theme.lineHeights.buttonBig.lg};
|
|
127
|
+
padding: 18px 30px;
|
|
127
128
|
`
|
|
128
129
|
: `font-size: ${theme.fontSizes.button.lg};
|
|
129
130
|
line-height: ${theme.lineHeights.button.lg};`}
|