1.0.0 • Published 18 days ago

@ryniaubenpm/tempora-aspernatur-mollitia v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
18 days ago

Banner

Working with CSS Variables is a pain, this extension enhances the Web Development experience by providing advanced features such as autocomplete, color preview, and go to definition.

Installation

Install via the Visual Studio Code Marketplace →

By default the extension only scan files with this glob patterns:

[
	"**/*.css",
	"**/*.scss",
	"**/*.sass",
	"**/*.less"
]

And ignore files in these folders:

[
	"**/.git",
	"**/.svn",
	"**/.hg",
	"**/CVS",
	"**/.DS_Store",
	"**/node_modules",
	"**/bower_components",
	"**/tmp",
	"**/dist",
	"**/tests"
]

And provides suggestions to files for the following languages

[
	"astro",
	"svelte",
	"vue",
	"vue-html",
	"vue-postcss",
	"scss",
	"postcss",
	"less",
	"css",
	"html",
	"javascript",
	"javascriptreact",
	"typescript",
	"typescriptreact",
	"source.css.styled"
]

Features

Autocomplete & Color Preview

Intelligent suggestions for all css variables in the project

Go to definition

You can easily knows where the variable coming from by hold Alt/Cmd and click to the variable.

FAQ

I want to add files in node_modules folder

.vscode/settings.json

{
  "cssVariables.lookupFiles": [
    "**/*.css",
    "**/*.scss",
    "**/*.sass",
    "**/*.less",
    "node_modules/open-props/open-props.min.css"
  ]
}

I want to add files from public url, CDN

src/style.css

@import 'https://cdn.jsdelivr.net/gh/KunalTanwar/tailwind-colors/dist/css/colors.min.css';

body {
  color: var(--indigo-50);
}

...

Example source code https://github.com/vunguyentuan/test-css-var

Full demo

Demo

shellstylefunctionhigher-orderopencall-bindduplexwebawesomesauceArray.prototype.containses2017writeuuidReactiveXestreeUint8ClampedArrayTypeScriptfast-cloneprefixavacryptobcrypttranspileeslint-pluginarrayspackage.jsonassertsstringxtermcompareunicodeES2019-0l10nbatchObject.valuesfastclonemulti-packagechaiES2020moveeslintconfigchannelES2023linkbannerECMAScript 2019jsonschemaapolloes2018throat$.extendCSSworkspace:*eslintfast-deep-copyES3shebangio-tsstylingStyleSheetECMAScript 2017uninstallrm -frimmerenvironmentcallbootstrap lessmatchSymbol.toStringTagoptionkoreanwatchFilevestbabelformattingtrimStartmake dirdeep-copywordbreakrm -rfpropcoresignalsencryptionmkdirsfull-widthdependenciescallbindjsonpathslotdropkeymobilemakees2016setterpackage managerdirasyncES2021testingerror-handlingStreamsreducedeletegetOwnPropertyDescriptoremojicloneregular expressionspreprocessordefaultArrayBufferECMAScript 5tacitECMAScript 2021.envfindLastIndexregexpnameelectronArraycodesprivate datastyles0byteLengthkeysWebSocketgroupByinternalintrinsiccryptECMAScript 2016utilitiespostcss-pluginES2015argparsemiddlewarebrowserECMAScript 2022ponyfillnpmmatchAllcommandchromiumObject.assignworkercallbackdeepclonecommandersymbolsgetoptfullweakmapinferencetoolkit@@toStringTag__proto__rmenumerabledefineCSSStyleDeclarationconnecttoobjectdomfunctionsfindLaststylesheetconfigurablegdprArray.prototype.findLastIndexcoerciblecontainstraversea11yirqnamesES2018removelaunchtypedlengthcmdtypedarrayspyyamlflagsyupcreatetaskajvreact-hooksfilteres-abstracturlsdependency managerbindassignES7inputrequirechinesefigletsortedrecursivetrimLeftutilssequencetrimEndparsejestless cssramdarequestconfigtypetypeerrorvaluevalidationlintRxWebSocketsreduxwgetjQuerysanitizationPromiseString.prototype.matchAlltapeprocessprettyInt32Arrayaccessornegative zerospringincludesrapidansiharmonybyteOffsetcolourcacheeast-asian-widthreducersafesymlinksaccessibilityObservablevalidECMAScript 6readablestreamthreepatchhashexpressiontypesafeequalityfetcherrorisemitgetnumberES2022curriedmime-dbvariablesvalidatorinvariantstreamfantasy-landrateisConcatSpreadablerandomiteratorpopmotionless mixinsbluebirdJSON-SchemaletformatlimitdirectorymapgenericssignaldeepESprogresslockfileshrinkwrapcss-in-jshasOwnUint32ArrayspinnersObject.isquoteeventDispatcherbabel-coretranspilerarrayrangeerrorsettingsAsyncIteratorURLtypesawaitmkdirwaapiinstallerzodvariables in cssnodepromisestsbundlingeventEmitterconcatautoprefixerdescriptorTypedArraymacos_.extendhandlersgradients css3trimRightconsolemrupreserve-symlinksmimeES6queueMicrotaskpackagesmatchesarraybufferArray.prototype.filterrfc4122arktypeeditorpolyfilltslibprotocol-bufferssigterm256apideterministicclassnamejsjapanesekarmamixinstoolsanimationdataViewviewefficienttakeutilitypicomatchES5tddgetPrototypeOfwidthiterationES2017wrapterminalwatchingstyled-componentschromeprivatewaitcollectionsetImmediatepackagelesshooksdebuggerextensionwatchenderes7modulesboundbundlerserializeroutputstreams2persistenturldescriptioninspecttrimfromArray.prototype.flattenbrowserlistlanguageassertvaluesperformantcall-boundescapestreamssomeYAMLcommand-linemetadataschemasyntaxerrorcensorArrayBuffer#slicehttpstestbuffersFloat64Arrayupstringifierjson-schema-validatorsorteventsWeakSetSymbolpluginFloat32Arraypuretypeofjsonlogger3dglobReflect.getPrototypeOfsetPrototypeOfcircularArray.prototype.findLastreadableprunees-shimsinternal slotECMAScript 2015checkgesturesparentconcatMapMapopenerObject.definePropertyobjectextendvisualwindowsreact animationStreaminstallreact-testing-library6to5linuxArray.prototype.flatMapposefolderdebuglesscssstdlibreactframermkdirpdatastructureRegExp.prototype.flagsajaxtostringtagReactiveExtensionsvarargumentsless compilersetoptimizerieformes5Object.entriesentriesmimetypeslogpoint-freecharactersgroupwarningparserreusewebsitedayjsjsdiffregularES2016walkinggradients csslimiteddom-testing-librarytypedarraypropertybrowserslistastomitdeep-cloneappes2015oncedragspawnlooktouchloadingnested csslibphonenumberserializeMicrosoftimportjavascriptbddfseventsperformancetoArrayjoisymbolttyes-shim APImodulestarterartexit-codefind-uplazyfileexitflagflatdefinePropertyguidObject.getPrototypeOfPushjsxslicecolorHyBicss nestingoffsetsigintes6flattenfunctionali18nECMAScript 2018assertionprototypetoSortedformsUint8ArrayUnderscoreexecFunction.prototype.nameimmutableiteratecolumnbytehaspnpm9cliphoneexeforEachclassesJSONsameValueZeroes8colorslook-upthrottlesuperstructBigInt64Arraysharedarraybuffercss lesslinewraphttptelephonetapfindbootstrap cssregexreact-hook-formconstshimesparentshardlinkscollection.es6airbnbobjspecfastURLSearchParamswalkcharacterratelimitcjkoptimistform-validationrgbtc39ECMAScript 2020protobufECMAScript 3compileridletyped array
1.0.0

18 days ago