Skip to content

Commit

Permalink
Extract from 520188d064affc8d0a743e1e82cf8c251b0da8cd
Browse files Browse the repository at this point in the history
  • Loading branch information
akeneo committed Apr 17, 2024
1 parent 0741e88 commit e2d0a3a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/components/Input/BooleanInput/BooleanInput.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/components/Input/BooleanInput/BooleanInput.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "akeneo-design-system",
"version": "0.1.233",
"version": "0.1.234",
"description": "Akeneo design system",
"main": "lib/index.js",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions src/components/Input/BooleanInput/BooleanInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,17 @@ const YesButton = styled(BooleanButton)`
${({value, readOnly, invalid}) =>
value === true &&
css`
background: ${getColor('green', readOnly ? 60 : 100)};
background: ${getColor('blue', readOnly ? 60 : 100)};
border-color: ${invalid ? getColor('red', 100) : getColor('grey', readOnly ? 60 : 100)};
color: ${getColor('white')};
&:hover {
background: ${getColor('green', readOnly ? 60 : 120)};
background: ${getColor('blue', readOnly ? 60 : 120)};
color: ${getColor('white')};
}
&:active {
background: ${getColor('green', readOnly ? 60 : 140)};
background: ${getColor('blue', readOnly ? 60 : 140)};
}
`}
`;
Expand Down

0 comments on commit e2d0a3a

Please sign in to comment.