Skip to content
This repository has been archived by the owner on Mar 15, 2020. It is now read-only.

An extension that adds modular-css syntax highlighting to VSCode.

License

Notifications You must be signed in to change notification settings

AndrewLeedham/vscode-modular-css

Repository files navigation

vscode-modular-css

An extension to add Modular CSS syntax highlighting to VSCode.

Travis CI Status Visual Studio Marketplace Installs Downloads semantic-release commit style angular license MIT Languages CSS, SCSS, SASS Dependabot Status

VSCode Window showing the plugin in action

Features

Adds the following Modular-CSS specific rule and attribute syntax highlighting on top of regular CSS.

  • @value variable decleration: regular, namespaced and wildcard imports.
  • composes: attribute: local and imports.
  • :external pseudo class: local and imports.
  • :global pseudo class.

Known Issues

Currently this extension only supports syntax highlighting. So errors may be thrown if you are using somesort of linter. A suggested work-around is to add the following settings to your workspace:

{
    "css.lint.validProperties": [
        "composes"
    ],
    "css.lint.unknownAtRules": "ignore",
    "scss.lint.validProperties": [
        "composes"
    ],
    "scss.lint.unknownAtRules": "ignore"
}

CHANGELOG | LICENSE

About

An extension that adds modular-css syntax highlighting to VSCode.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published