cherry-styled-components 0.1.6 → 0.1.7
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 +1 -0
- package/dist/cherry.umd.cjs +1 -0
- package/package.json +1 -1
- package/src/lib/button.tsx +1 -3
- package/src/lib/input.tsx +1 -0
package/dist/cherry.js
CHANGED
|
@@ -21972,6 +21972,7 @@ const Ga1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
21972
21972
|
`, Ka1 = W.input`
|
|
21973
21973
|
${v1};
|
|
21974
21974
|
display: inline-block;
|
|
21975
|
+
background: ${({ theme: t }) => t.colors.light};
|
|
21975
21976
|
border: solid 2px ${({ theme: t }) => t.colors.grayLight};
|
|
21976
21977
|
box-shadow: 0 0 0 0px ${({ theme: t }) => t.colors.primaryLight};
|
|
21977
21978
|
transition: all 0.3s ease;
|
package/dist/cherry.umd.cjs
CHANGED
|
@@ -873,6 +873,7 @@ To pass a single animation please supply them in simple values, e.g. animation('
|
|
|
873
873
|
`,xq=Z.input`
|
|
874
874
|
${l1};
|
|
875
875
|
display: inline-block;
|
|
876
|
+
background: ${({theme:t})=>t.colors.light};
|
|
876
877
|
border: solid 2px ${({theme:t})=>t.colors.grayLight};
|
|
877
878
|
box-shadow: 0 0 0 0px ${({theme:t})=>t.colors.primaryLight};
|
|
878
879
|
transition: all 0.3s ease;
|
package/package.json
CHANGED
package/src/lib/button.tsx
CHANGED
|
@@ -127,9 +127,7 @@ export const buttonStyles = (
|
|
|
127
127
|
box-shadow: 0 0 0 0px ${theme.colors.error};
|
|
128
128
|
|
|
129
129
|
&:hover {
|
|
130
|
-
background: ${$outline
|
|
131
|
-
? "transparent"
|
|
132
|
-
: darken(0.1, theme.colors.error)};
|
|
130
|
+
background: ${$outline ? "transparent" : darken(0.1, theme.colors.error)};
|
|
133
131
|
border-color: ${darken(0.1, theme.colors.error)};
|
|
134
132
|
${$outline && `color: ${darken(0.1, theme.colors.error)}`};
|
|
135
133
|
}
|
package/src/lib/input.tsx
CHANGED
|
@@ -230,6 +230,7 @@ const StyledIconWrapper = styled.span<InputProps>`
|
|
|
230
230
|
const StyledRadioCheckboxInput = styled.input<InputProps>`
|
|
231
231
|
${resetButton};
|
|
232
232
|
display: inline-block;
|
|
233
|
+
background: ${({ theme }) => theme.colors.light};
|
|
233
234
|
border: solid 2px ${({ theme }) => theme.colors.grayLight};
|
|
234
235
|
box-shadow: 0 0 0 0px ${({ theme }) => theme.colors.primaryLight};
|
|
235
236
|
transition: all 0.3s ease;
|