icons icon indicating copy to clipboard operation
icons copied to clipboard

Add ability to deprecate icons

Open korki43 opened this issue 3 years ago • 2 comments

Icons can be deprecated by giving them the deprecated tag. They won't show up in search results and have a deprecation notice on their page. This is inspired by #843.

When the first icon is deprecated someone would need to recompile bootstrap.min.css because this adds an alert-danger component.

korki43 avatar Dec 18 '21 23:12 korki43

This is just a proposed solution and will definitely need some discussion.

korki43 avatar Dec 18 '21 23:12 korki43

I'd probably suggest a deprecated: true key instead of using a tag. Thoughts?

mdo avatar Jul 13 '22 19:07 mdo

Changed it to a deprecated: true tag. I also added an example to preview the deprecation notice alert:

https://deploy-preview-1150--bootstrap-icons.netlify.app/icons/~deprecated/

korki43 avatar Mar 26 '23 13:03 korki43