* feat: configure eslint rules by replicating those in the twenty-front package and introduce scripts for linting, formatting code and removing build output * fix: ensure each file of the extension package satisfies linting rules and disable some rules where necessary * fix: update relative imports to absolute imports throughout extension code with the defined tilde and at symbols * fix: import the updated ui module from the front package to the chrome extension package to prevent eslint rules from breaking subject to the recent merged changes into main * fix: commit the case change for files that were missed by Git in the earlier commits due to default configuration
This commit is contained in:
@ -29,7 +29,7 @@ const StyledLabel = styled.span`
|
||||
const StyledInputContainer = styled.div`
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border: 1px solid #ccc;
|
||||
border: 1px solid ${({ theme }) => theme.color.gray30};
|
||||
border-radius: 4px;
|
||||
padding: 8px;
|
||||
`;
|
||||
@ -46,12 +46,12 @@ const StyledInput = styled.input`
|
||||
font-size: 14px;
|
||||
|
||||
&::placeholder {
|
||||
color: #aaa;
|
||||
color: ${({ theme }) => theme.font.color.light};
|
||||
}
|
||||
`;
|
||||
|
||||
const StyledErrorHelper = styled.div`
|
||||
color: #ff0000;
|
||||
color: ${({ theme }) => theme.color.red};
|
||||
font-size: 12px;
|
||||
padding: 5px 0;
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user