Fix sprites styles generation update
Opened this issue · 0 comments
Applelo commented
When an icon is updated/renamed, the old value is still present. A new build or reload of the plugin remove the duplicated.
Below change the name of the file 2 times let the previous name inside the sprites.scss file.
'mobile-next': (
uri: "data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.13729 5.63729C8.32035 5.45424 8.61715 5.45424 8.80021 5.63729L13.3002 10.1373C13.4833 10.3204 13.4833 10.6171 13.3002 10.8002L8.80021 15.3002C8.61715 15.4833 8.32035 15.4833 8.13729 15.3002C7.95424 15.1171 7.95424 14.8204 8.13729 14.6373L12.3058 10.4688L8.13729 6.30021C7.95424 6.11715 7.95424 5.82035 8.13729 5.63729Z' fill='%23181717'/%3e %3c/svg%3e",
width: 20px,
height: 20px
),
'mobile-chevront-right': (
uri: "data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.13729 5.63729C8.32035 5.45424 8.61715 5.45424 8.80021 5.63729L13.3002 10.1373C13.4833 10.3204 13.4833 10.6171 13.3002 10.8002L8.80021 15.3002C8.61715 15.4833 8.32035 15.4833 8.13729 15.3002C7.95424 15.1171 7.95424 14.8204 8.13729 14.6373L12.3058 10.4688L8.13729 6.30021C7.95424 6.11715 7.95424 5.82035 8.13729 5.63729Z' fill='%23181717'/%3e %3c/svg%3e",
width: 20px,
height: 20px
),
'mobile-chevron-right': (
uri: "data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e %3cpath fill-rule='evenodd' clip-rule='evenodd' d='M8.13729 5.63729C8.32035 5.45424 8.61715 5.45424 8.80021 5.63729L13.3002 10.1373C13.4833 10.3204 13.4833 10.6171 13.3002 10.8002L8.80021 15.3002C8.61715 15.4833 8.32035 15.4833 8.13729 15.3002C7.95424 15.1171 7.95424 14.8204 8.13729 14.6373L12.3058 10.4688L8.13729 6.30021C7.95424 6.11715 7.95424 5.82035 8.13729 5.63729Z' fill='%23181717'/%3e %3c/svg%3e",
width: 20px,
height: 20px
)
```