1.0.2 • Published 4 years ago

tailwind-vector-effect v1.0.2

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
4 years ago

Tailwind Vector Effect

Adds Vector Effects to tailwind for the svg path tag

Install the plugin from npm:

$ npm install tailwind-vector-effect

Then add the plugin to your tailwind.config.js file:

// tailwind.config.js
module.exports = {
  // ...
  plugins: [
    // ...
    require('tailwind-vector-effect'),
    // ...
  ],
  // ...
};

This plugin will generate following CSS:

.non-scaling-stroke {
  vector-effect: non-scaling-stroke;
}

.non-scaling-size {
  vector-effect: non-scaling-size;
}

.non-rotation {
  vector-effect: non-rotation;
}

.fixed-position {
  vector-effect: fixed-position;
}

License

Tailwind Vector Effect is licensed under the MIT License.

Credits

Created with create-tailwind-plugin.

ababacorn-jsxacornacorn-nodeacorn-walkadd-streamajvansi-colorsansi-escapesansi-regexansi-stylesanymatchaggregate-errorarr-flattenarr-diffarr-unionacorn-globalsarray-find-indexarray-ifyarray-includesarray-uniquearrifyarray.prototype.flatassert-plusasn1assign-symbolsastral-regexasynckitat-least-nodeaws-sign2atobaws4babel-jestbabel-plugin-istanbulbabel-plugin-jest-hoistbabel-preset-current-node-syntaxbabel-preset-jestbalanced-matchbasebcrypt-pbkdfargparsebrace-expansionbracesbrowser-process-hrtimebrowserslistarray-unionbuffer-frombsercache-basecall-bindcallsitescamelcasecamelcase-cssbytescaniuse-litebinary-extensionscaselesschalkchar-regexcapture-exitci-infoclass-utilschokidarcamelcase-keyscli-cursorclean-stackcli-truncatecocjs-module-lexercollection-visitcolorcolor-convertcolor-namecolor-stringcolorettecombined-streamcommandercompare-funccompare-versionscomponent-emitterconcat-mapconcat-streamconfusing-browser-globalscontains-pathconventional-changelogcliuiconventional-changelog-atomcollect-v8-coverageconventional-changelog-config-specconventional-changelog-conventionalcommitsconventional-changelog-coreconventional-changelog-codemirrorconventional-changelog-eslintconventional-changelog-angularconventional-changelog-jqueryconventional-changelog-expressconventional-changelog-preset-loaderconventional-changelog-writerconventional-commits-filterconventional-commits-parserconventional-recommended-bumpconvert-source-mapcopy-descriptorcore-util-iscosmiconfigcss-unit-convertercross-spawncssesccssstylecssomdargscurrently-unhandledconventional-changelog-jshintdata-urlsdateformatdebugdecamelizedecamelize-keysdecimal.jsdashdashdecode-uri-componentdeep-isdedentdefine-propertiesdefine-propertydefineddelayed-streamdetect-indentdetect-newlinedetectivedidyoumeandiff-sequencesconventional-changelog-emberdeepmergedoctrinedomexceptiondot-propdotgitignoreecc-jsbnemitteryelectron-to-chromiumemoji-regexdir-globend-of-streames-abstractes-to-primitiveescaladeerror-exescape-string-regexpescodegeneslint-module-utilseslint-scopeeslint-import-resolver-nodeeslint-utilseslint-visitor-keysespreeesqueryesprimaesrecurseestraverseesutilsenquirerdlvexecaexpectexpand-bracketsextendextend-shallowextsprintfextglobfast-deep-equalfast-difffast-globfast-levenshteinfast-json-stable-stringifyfastqfiguresexitfile-entry-cachefill-rangefind-upfb-watchmanfind-versionsexec-shforever-agentform-datafor-infragment-cachefs-accessflattedfs.realpathfunction-bindfunctional-red-black-treegensyncget-caller-fileget-package-typeget-intrinsicflat-cacheget-stdinget-pkg-repofs-extragetpassgit-raw-commitsget-valuegit-remote-origin-urlgit-semver-tagsgitconfiglocalglobget-streamglob-parentglobalsget-own-enumerable-property-symbolsgraceful-fsgrowlyhandlebarshar-validatorhar-schemaglob-basehasglobbyhas-flaghas-symbolshas-valuehas-valueshosted-git-infohtml-encoding-snifferhas-bigintshttp-signaturehtml-tagshtml-escapericonv-liteignoreimport-freshimport-localimurmurhashindent-stringinflightinheritsiniis-accessor-descriptorhard-rejectionis-arrayishinterpretis-bigintis-binary-pathis-bufferis-callableis-ciis-core-moduleis-data-descriptoris-date-objectis-descriptoris-dockeris-dotfilehuman-signalsis-extendableis-finiteis-fullwidth-code-pointis-generator-fnis-globis-extglobis-boolean-objectis-numberis-objis-number-objectis-plain-objectis-regexJSONStreamis-negative-zerois-stringis-potential-custom-element-nameis-symbolis-streamis-typedarrayis-plain-objis-utf8is-windowsisarrayisexeis-regexpisobjectisstreamis-text-pathis-unicode-supportedistanbul-lib-coverageistanbul-lib-source-mapsistanbul-lib-reportjest-clijest-changed-filesjest-configjest-diffjest-docblockjest-environment-jsdomjest-eachjest-get-typeis-wsljest-jasmine2jest-haste-mapistanbul-reportsjest-matcher-utilsjest-message-utiljest-mockjest-regex-utiljest-resolvejest-environment-nodejest-leak-detectorjest-runnerjest-runtimejest-serializerjest-snapshotjest-utiljest-validatejest-watcherjs-tokensjest-workerjs-yamljsbnjsdomjsescjson-schemajson-parse-better-errorsjson-parse-even-better-errorsjson-schema-traversejson-stable-stringify-without-jsonifyjson-stringify-safejson5jest-pnp-resolverjsonparsejsprimjest-resolve-dependencieskind-oflevnkleurlistr2lines-and-columnsload-json-filelocate-pathjsonfilelodash.clonedeeplodash.flattenlevenistanbul-lib-instrumentlodash.ismatchlodash.toarraylodash.topathlog-updatemake-dirmakeerrorlru-cachemap-cachemap-visitmap-objmerge-streamlog-symbolslodash.truncatemime-dbmicromatchmime-typesloud-rejectionminimatchmerge2min-indentmeowmodern-normalizemixin-deepmodify-valuesmsnanoidnanomatchnatural-comparemimic-fnminimist-optionsnice-trynode-int64minimistneo-asyncnode-releasesnormalize-package-datanode-notifiernormalize-pathnull-checknwsapiobject-assignoauth-signobject-copyobject-hashobject-inspectobject-keysnode-emojinode-modules-regexpobject-visitobject.pickoncenpm-run-pathonetimeobject.valuesoptionatorp-each-seriesobject.assignp-locatep-limitopencollective-postinstallp-tryparent-modulep-finallyparse-jsonparse5parse-github-repo-urlpascalcasepath-existspath-is-absolutepath-typeobject.entriespath-keyperformance-nowpicomatchpinkiepifypinkie-promisepiratesplease-upgrade-nodepkg-dirposix-character-classespostcss-functionspostcss-jspostcss-nestedpostcss-selector-parserpostcss-value-parserprelude-lspretty-formatprettier-linter-helperspretty-hrtimeprocess-nextick-argsprogresspath-parsepslpumppromptspurgecssqqsqueue-microtaskpunycodereact-isread-pkgquick-lrureadable-streamread-pkg-upp-maprechoirreduce-css-calcregex-notregexppremove-trailing-separatorrepeat-elementrepeat-stringreaddirprequestrequest-promise-nativerequest-promise-coreredentrequire-from-stringrequire-main-filenamerequire-directoryresolveresolve-cwdrepeatingresolve-fromrestore-cursorretrimrafreusifyrsvpresolve-urlsafe-buffersafe-regexsafer-buffersanesaxessemversemver-comparerun-parallelset-blockingshebang-regexshebang-commandset-valueshelljsrxjssignal-exitsimple-swizzleshellwordsslashsisteransisnapdragonsnapdragon-nodesource-mapsource-map-supportsource-map-resolvesnapdragon-utilsource-map-urlspdx-correctspdx-exceptionsspdx-expression-parsespdx-license-idssplit-stringsplitsplit2semver-regexsshpkstack-utilsstatic-extendstealthy-requireslice-ansistring-lengthstring-widthsprintf-jsstring-argvstring.prototype.trimendstringify-objectstringify-packagestrip-ansistrip-bomstrip-eofstring.prototype.trimstartstrip-final-newlinestrip-json-commentssupports-colorsupports-hyperlinkssymbol-treestring_decoderterminal-linkstrip-indenttext-tablethroattext-extensionsthrough2test-excludetmplto-fast-propertiesto-object-pathto-regexto-regex-rangetough-cookietr46tabletrim-off-newlinestsconfig-pathstrim-newlinestsutilstunnel-agenttweetnacltype-detecttslibthroughtype-checktypedarray-to-buffertype-festunbox-primitiveunion-valueuglify-jsunset-valueuri-jsurixtypedarrayuseutil-deprecatev8-compile-cachevalidate-npm-package-licenseuniversalifyverrorwalkerw3c-xmlserializerw3c-hr-timewebidl-conversionswhatwg-encodingwhatwg-mimetypewhichwhatwg-urlwhich-boxed-primitivewhich-modulev8-to-istanbulword-wrapuuidwordwrapwrappywrite-file-atomicwsxml-name-validatorxmlcharsxtendy18nyallistwrap-ansiyargsyargs-parseryocto-queuewhich-pm-runsyamlparse-glob
1.0.2

4 years ago

1.0.1

4 years ago