Skip to content

Instantly share code, notes, and snippets.

@Arelav
Created January 28, 2021 19:02
Show Gist options
  • Select an option

  • Save Arelav/afa7f325635309699d977e1ae2ea6ef5 to your computer and use it in GitHub Desktop.

Select an option

Save Arelav/afa7f325635309699d977e1ae2ea6ef5 to your computer and use it in GitHub Desktop.

Revisions

  1. Arelav revised this gist Jan 28, 2021. No changes.
  2. Arelav created this gist Jan 28, 2021.
    11 changes: 11 additions & 0 deletions input.scss
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    @mixin theme {
    --navWidgetBgColor: white;
    --navWidgetPopperBgColor: red;
    }


    .theme {
    @include theme;

    --navWidgetPopperBgColor: green;
    }
    5 changes: 5 additions & 0 deletions output.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    .theme {
    --navWidgetBgColor: white;
    --navWidgetPopperBgColor: red;
    --navWidgetPopperBgColor: green;
    }
    9 changes: 9 additions & 0 deletions settings.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    {
    "sass": {
    "compiler": "dart-sass/1.26.11",
    "extensions": {},
    "syntax": "SCSS",
    "outputStyle": "expanded"
    },
    "autoprefixer": false
    }