Refactored Image component design tokens

This commit is contained in:
Cagatay Civici 2024-05-04 22:36:38 +03:00
parent 4870d66609
commit 24b647d48a
5 changed files with 58 additions and 90 deletions

View file

@ -29,14 +29,14 @@ const theme = ({ dt }) => `
padding: 0;
cursor: pointer;
background: transparent;
color: ${dt('image.preview.indicator.color')};
color: ${dt('image.preview.mask.color')};
transition: background-color ${dt('transition.duration')};
}
.p-image-preview:hover > .p-image-preview-mask {
opacity: 1;
cursor: pointer;
background: ${dt('image.preview.indicator.background')};
background: ${dt('image.preview.mask.background')};
}
.p-image-preview-icon {