mirror of
https://github.com/trezor/trezor-wallet
synced 2025-05-08 09:58:47 +00:00
Adjusted configs
This commit is contained in:
parent
04ab2bce83
commit
b0b4f08aba
20
.stylelintrc
20
.stylelintrc
@ -8,6 +8,24 @@
|
|||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"indentation": 4,
|
"indentation": 4,
|
||||||
"block-no-empty": null
|
"declaration-empty-line-before": null,
|
||||||
|
"custom-property-empty-line-before": null,
|
||||||
|
"max-empty-lines": 1,
|
||||||
|
"block-no-empty": null,
|
||||||
|
"property-no-unknown": [
|
||||||
|
true, {
|
||||||
|
"ignoreProperties": ["composes", "font-smoothing", "font-smooth"]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"at-rule-empty-line-before": [
|
||||||
|
"always", {
|
||||||
|
"ignoreAtRules": [
|
||||||
|
"import"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"at-rule-no-unknown": [ true, {
|
||||||
|
ignoreAtRules: ["each"]
|
||||||
|
}]
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -2,7 +2,6 @@ module.exports = {
|
|||||||
rootDir: './src',
|
rootDir: './src',
|
||||||
collectCoverage: true,
|
collectCoverage: true,
|
||||||
testURL: 'http://localhost',
|
testURL: 'http://localhost',
|
||||||
|
|
||||||
modulePathIgnorePatterns: [
|
modulePathIgnorePatterns: [
|
||||||
'node_modules',
|
'node_modules',
|
||||||
],
|
],
|
||||||
|
@ -1,12 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "trezor-connect-react-boilerplate",
|
"name": "trezor-wallet",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"author": "TREZOR <info@trezor.io>",
|
"author": "TREZOR <info@trezor.io>",
|
||||||
"description": "",
|
"description": "",
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/szymonlesisz/trezor-connect-react-boilerplate.git"
|
|
||||||
},
|
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/szymonlesisz/trezor-connect-react-boilerplate/issues"
|
"url": "https://github.com/szymonlesisz/trezor-connect-react-boilerplate/issues"
|
||||||
},
|
},
|
||||||
|
@ -29,12 +29,14 @@ const StyledInput = styled.input`
|
|||||||
box-shadow: 0 1px 4px 0 rgba(1, 183, 87, 0.25);
|
box-shadow: 0 1px 4px 0 rgba(1, 183, 87, 0.25);
|
||||||
}
|
}
|
||||||
`}
|
`}
|
||||||
|
|
||||||
${props => props.isWarning && css`
|
${props => props.isWarning && css`
|
||||||
border-color: ${colors.WARNING_PRIMARY};
|
border-color: ${colors.WARNING_PRIMARY};
|
||||||
&:focus {
|
&:focus {
|
||||||
box-shadow: 0 1px 4px 0 rgba(235, 138, 0, 0.25);
|
box-shadow: 0 1px 4px 0 rgba(235, 138, 0, 0.25);
|
||||||
}
|
}
|
||||||
`}
|
`}
|
||||||
|
|
||||||
${props => props.isError && css`
|
${props => props.isError && css`
|
||||||
border-color: ${colors.ERROR_PRIMARY};
|
border-color: ${colors.ERROR_PRIMARY};
|
||||||
&:focus {
|
&:focus {
|
||||||
|
Loading…
Reference in New Issue
Block a user