Skip to content

Releases: BButner/VSCode-Heroicons-Preview

1.0.0 Release

24 Aug 18:11
Compare
Choose a tag to compare

Initial Release 🥳 🎉

This will basically match what's currently in the README, but marking as an official 1.0.0 release.

🎨 Initial Features

  • Inline Icon Previews
  • Configure which files should render icons
  • Solid/Outline detection, with default fallback
    • For instance, if you have import { ChevronUpIcon } from '@heroicons/react/solid' it will render the Solid variant, else it will render whatever the fallback style is. (Default: Outline)
  • React and Vue library support
  • Configuration options for per-project node_modules location in the event HIP cannot detect the node_modules directory location
  • Configure Icon color
  • Configure Icon size

⚙ Settings

  • hip.iconColor: Color to render your Icons. Accepts anything that a "fill" attribute would accept in HTML.
  • hip.iconSize: Size of the inline icon. Default is 1em.
  • hip.nodeModulesPath: Specify a per-workspace node_modules path, relative to the top level directory. ex: /project/frontend/node_modules
  • hip.fileDecorationExtensions: Array of file extensions to search for Icons to decorate. Example: [".tsx", ".jsx"]
  • hip.iconStyleFallback: If HIP cannot detect a style from an import, it will fall back to this style. (Options are solid and outline)