@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@latte-macchiat-io/latte-vanilla-components",
3
- "version": "0.0.270",
3
+ "version": "0.0.272",
4
4
  "description": "Beautiful components for amazing projects, with a touch of Vanilla 🥤",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -12,7 +12,7 @@ export const rowRecipe = recipe(
12
12
 
13
13
  '@media': {
14
14
  ...generateResponsiveMedia({
15
- gap: themeContract.formRow.gap,
15
+ gap: themeContract.form.row.gap,
16
16
  }),
17
17
  },
18
18
  },
@@ -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
- // '::placeholder': {
27
- // color: themeContract.colors.textSecondary,
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',