Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>stylus2scss-experimentalNew to Visual Studio Code? Get it now.
stylus2scss-experimental

stylus2scss-experimental

manse

|
1,131 installs
| (0) | Free
Experimental transform Stylus to SCSS
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

stylus2scss-experimental

Experimental transform Stylus to SCSS. Select the code written in Stylus and run Transform Stylus to SCSS on command palette, then you get SCSS snippet.

Features

Example Input

.base
    font-size $font-size-small
    border 1px solid $color-status-error
    border-radius $radius-default
    margin gutter(1) 0

    &-title
        font-weight bold
        color $color-status-error-default
        border-radius $radius-default $radius-default 0 0
        background-color $color-background-note
        @media(max-width: $screen-xs-max) and (min-width: $screen-xs-max)
            padding gutter(1) gutter(2) gutter(1) gutter(1.5)

Example Output

.base {
  font-size: $font-size-small;
  border: 1px solid $color-status-error;
  border-radius: $radius-default;
  margin: gutter(1) 0;
  &-title {
    font-weight: bold;
    color: $color-status-error-default;
    border-radius: $radius-default $radius-default 0 0;
    background-color: $color-background-note;
    @media (max-width: $screen-xs-max) (min-width: $screen-xs-max) {
      padding: gutter(1) gutter(2) gutter(1) gutter(1.5);
    }
  }
}

Known Issues

  • Syntactic analysis may not work well.

Release Notes

1.0.0

Initial release

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft