@latte-macchiat-io/latte-vanilla-components 0.0.270 → 0.0.272
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
@@ -19,13 +19,15 @@ const inputBase = style({
|
|
19
19
|
'@media': {
|
20
20
|
...generateResponsiveMedia({
|
21
21
|
paddingTop: themeContract.form.textField.paddingTop,
|
22
|
+
paddingLeft: themeContract.form.textField.paddingLeft,
|
23
|
+
paddingRight: themeContract.form.textField.paddingRight,
|
22
24
|
paddingBottom: themeContract.form.textField.paddingBottom,
|
23
25
|
}),
|
24
26
|
},
|
25
27
|
|
26
|
-
|
27
|
-
|
28
|
-
|
28
|
+
'::placeholder': {
|
29
|
+
color: themeContract.form.textField.placeholderColor,
|
30
|
+
},
|
29
31
|
|
30
32
|
// ':hover': {
|
31
33
|
// borderColor: themeContract.colors.primary,
|
@@ -42,6 +42,7 @@ export const themeFormTextFieldLight = {
|
|
42
42
|
...themeFormTextFieldBase.textField,
|
43
43
|
color: '#000000',
|
44
44
|
backgroundColor: '#000000',
|
45
|
+
placeholderColor: '#000000',
|
45
46
|
},
|
46
47
|
};
|
47
48
|
|
@@ -50,5 +51,6 @@ export const themeFormTextFieldDark = {
|
|
50
51
|
...themeFormTextFieldBase.textField,
|
51
52
|
color: '#000000',
|
52
53
|
backgroundColor: '#000000',
|
54
|
+
placeholderColor: '#000000',
|
53
55
|
},
|
54
56
|
};
|
@@ -923,6 +923,7 @@ export const themeContract = createGlobalThemeContract({
|
|
923
923
|
border: 'latte-textField-border',
|
924
924
|
borderRadius: 'latte-textField-borderRadius',
|
925
925
|
backgroundColor: 'latte-textField-backgroundColor',
|
926
|
+
placeholderColor: 'latte-textField-placeholderColor',
|
926
927
|
paddingTop: {
|
927
928
|
mobile: 'latte-textField-input-paddingTop-mobile',
|
928
929
|
sm: 'latte-textField-input-paddingTop-sm',
|