Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transform JS object to SCSS/Stylus/LESS variables #17

Open
manniL opened this issue Nov 29, 2018 · 1 comment
Open

Transform JS object to SCSS/Stylus/LESS variables #17

manniL opened this issue Nov 29, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@manniL
Copy link
Collaborator

manniL commented Nov 29, 2018

Pass in a "variables" object, eg.

export default {
  primary: 'green';
  secondary: 'red';
}

and map it to

$primary: green;
$secondary: red;

(for SASS/LESS/Stylus)

@manniL manniL added the enhancement New feature or request label Nov 29, 2018
@cvharris
Copy link

cvharris commented May 4, 2019

This is applicable to your colors defined in, say, tailwind.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants