@madie/madie-design-system 1.0.35 → 1.0.36

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.
@@ -119,6 +119,16 @@ const AutoComplete = ({
119
119
  inputProps["aria-labelledby"] = `${id}-label`;
120
120
  return (
121
121
  <TextField
122
+ sx={{
123
+ "& .MuiInputBase-input": {
124
+ opacity: 1,
125
+ color: "#333",
126
+ "&::placeholder": {
127
+ opacity: 1,
128
+ color: "#717171"
129
+ },
130
+ },
131
+ }}
122
132
  {...params}
123
133
  placeholder={placeholder}
124
134
  inputProps={inputProps}
@@ -23,12 +23,13 @@ const selectStyles = {
23
23
  },
24
24
  // input base selector
25
25
  "& .MuiInputBase-input": {
26
+ color: "#333",
26
27
  fontFamily: "Rubik",
27
28
  fontSize: 14,
28
29
  borderRadius: "3px",
29
30
  padding: "9px 14px",
30
31
  "&::placeholder": {
31
- opacity: 0.6,
32
+ color: "#717171"
32
33
  },
33
34
  },
34
35
  "& .MuiSelect-icon": {
@@ -60,7 +61,7 @@ const Select = ({
60
61
  ...rest
61
62
  }) => {
62
63
  const placehold = (
63
- <span style={{ opacity: 0.6 }}>
64
+ <span style={{ color: "#717171" }}>
64
65
  {placeHolder?.name || "placeholder"}
65
66
  </span>
66
67
  );
@@ -46,12 +46,13 @@ const TextField = ({
46
46
  },
47
47
  // input base selector
48
48
  "& .MuiInputBase-input": {
49
+ color: "#333",
49
50
  fontFamily: "Rubik",
50
51
  fontSize: 14,
51
52
  borderRadius: "3px",
52
53
  padding: "9px 14px",
53
54
  "&::placeholder": {
54
- opacity: 0.6,
55
+ color: "#717171"
55
56
  },
56
57
  },
57
58
  }}