@eturnity/eturnity_reusable_components 1.2.26-EPDM-3412.4 → 1.2.26-EPDM-3412.5

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": "@eturnity/eturnity_reusable_components",
3
- "version": "1.2.26-EPDM-3412.4",
3
+ "version": "1.2.26-EPDM-3412.5",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
@@ -18,8 +18,10 @@ const theme = {
18
18
  grey3: '#b2b9c5',
19
19
  grey4: '#dee2eb',
20
20
  grey5: '#fafafa',
21
+ grey6: '#555d61',
21
22
  green: '#99db0c',
22
- disabled: '#dfe1e1'
23
+ disabled: '#dfe1e1',
24
+ eturnityGrey: '#263238'
23
25
  },
24
26
  screen: {
25
27
  mobileSmall: '345px',
@@ -133,7 +133,9 @@ const InputContainer = styled('input', inputProps)`
133
133
  font-size: ${(props) => (props.fontSize ? props.fontSize : '13px')};
134
134
  color: ${(props) =>
135
135
  props.isError
136
- ? props.theme.colors.red
136
+ ? props.theme.colors.grey6
137
+ : props.isDisabled
138
+ ? props.theme.colors.grey2
137
139
  : props.fontColor
138
140
  ? props.fontColor + ' !important'
139
141
  : props.theme.colors.black};
@@ -217,8 +219,9 @@ const LabelWrapper = styled.div`
217
219
  `
218
220
 
219
221
  const LabelText = styled.div`
220
- font-weight: bold;
221
222
  font-size: 13px;
223
+ color: ${(props) => props.theme.colors.eturnityGrey};
224
+ font-weight: 700;
222
225
  `
223
226
 
224
227
  export default {
@@ -62,8 +62,9 @@ const Container = styled.div`
62
62
 
63
63
  const labelAttrs = { fontSize: String }
64
64
  const InputLabel = styled('div', labelAttrs)`
65
- font-weight: bold;
65
+ color: ${(props) => props.theme.colors.eturnityGrey};
66
66
  font-size: ${(props) => (props.fontSize ? props.fontSize : '13px')};
67
+ font-weight: 700;
67
68
  `
68
69
 
69
70
  const LabelWrapper = styled.div`
@@ -110,7 +111,7 @@ const InputContainer = styled('input', inputProps)`
110
111
  font-size: ${(props) => (props.fontSize ? props.fontSize : '16px')};
111
112
  color: ${(props) =>
112
113
  props.isError
113
- ? props.theme.colors.red
114
+ ? props.theme.colors.grey6
114
115
  : props.isDisabled
115
116
  ? props.theme.colors.grey2
116
117
  : props.theme.colors.black};