ember-export-sass-variables

1.0.0 • Public • Published

ember-export-sass-variables

Build Status

Export your SASS variables and access them through a utility. This addon supports any format and uses the built in node-sass functionality to parse the variables.

Methods

export (utilName: String, contents: any)

The export method is used in your SASS file to tell the compiler what name the utility file is, and what variables to export inside.

Usage

Two parts: Define a sass export and import the utility that matches the name of the export.

$export: export('red', (
  colors: $colors,
  themes: $themes
));
import styles from 'ember-export-sass-variables/utils/colors';

Installation

ember install ember-export-sass-variables

Credits

Thanks to these projects, I would not have been able to create this:

/ember-export-sass-variables/

    Package Sidebar

    Install

    npm i ember-export-sass-variables

    Weekly Downloads

    2

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    238 kB

    Total Files

    11

    Last publish

    Collaborators

    • munstrocity