Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Adding a single comment (//) to (the top of) a scss file results in wrong output #10

Closed
escapedcat opened this issue May 28, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@escapedcat
Copy link
Contributor

escapedcat commented May 28, 2018

https://github.com/sumcumo/nuxt-styleguide/blob/master/demo/design-tokens/Colors.scss
Add one more comment like this:

/**
 * ### These are the best colors!
 *
 * @render color
 */

/**
 * This color must be used for all backgrounds
 */

// comment
$main-color-with-farily-long-name: whitesmoke;
$contrast: blue;

In the generated output the variable-name for Whitesmoke is missing:
image

Not a big deal. Just mentioning this.

@Xiphe Xiphe added the bug Something isn't working label May 29, 2018
@Xiphe Xiphe closed this as completed in b66b968 May 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants