Skip to content

jmatsu/vector-drawable-previewer

Repository files navigation

VectorDrawable Previewer

icon

This is a Chrome extension for previewing vector drawable. You can check vector drawable files on GitHub or your local.

Please note that this extension requires the background script since v1.2.0

How this works

  • Show a SVG element which is based on a vector drawable text
  • background script watches URL changes and content script renders the SVG element.

Development

yarn install
yarn watch

And then, load dist/ from chrome://extensions.

NOTE: src/js is the source directory.

Specifications

Limitation

VectorDrawable Previewer doesn't support following

  • animated vector drawable
  • android resource references

Appendix

License

Under MIT.