mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 17:02:38 +00:00
Refactored Image component design tokens
This commit is contained in:
parent
4870d66609
commit
24b647d48a
5 changed files with 58 additions and 90 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue