Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sprites styles generation update #48

Open
Applelo opened this issue Feb 7, 2024 · 0 comments
Open

Fix sprites styles generation update #48

Applelo opened this issue Feb 7, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Applelo
Copy link
Contributor

Applelo commented Feb 7, 2024

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
	)
```
@Applelo Applelo added the bug Something isn't working label Feb 7, 2024
@Applelo Applelo self-assigned this Feb 7, 2024
@Applelo Applelo changed the title Fix spritemap generation update Fix sprites styles generation update Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant