Giter VIP home page Giter VIP logo

vscode-modular-css's Introduction

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

vscode-modular-css's People

Contributors

andrewleedham avatar dependabot-preview[bot] avatar dependabot[bot] avatar greenkeeper[bot] avatar semantic-release-bot avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

vscode-modular-css's Issues

Parenthesis oddly colored if chained.

.dateselect_dropdown:global(.state_open) {
/*open parens after global will be colored as "global" */
}

:global(.state_focus).dateselect_dropdown {
/* open parens after global will be uncolored */
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.