GithubHelp home page GithubHelp logo

Comments (13)

jpbackman avatar jpbackman commented on August 17, 2024

Hi @wvankuipers

You're right, they should be allowed. This is an open issue in gonzales-pe which we use to parse the style source and pick up the variable declarations and values, but it's been open for quite a while now.

As a workaround I can only suggest either removing the hyphen or underscore or adding something before the digit, e.g. $fontsize-v1. It might also be beneficial to think of renaming the variable to something more specific and descriptive such as $fontsize-li for clarity, readability and maintainability.

from sc5-styleguide.

wvankuipers avatar wvankuipers commented on August 17, 2024

@jpbackman Ok, should be fixed in gonzales-pe dev now. Guess it will be in stable soon.

from sc5-styleguide.

tdogg137 avatar tdogg137 commented on August 17, 2024

I'm running into the same issue with variable name $color-gray-light-20 and I'm using gulp for sc5 styleguide. Does anybody know if this is fixed?

from sc5-styleguide.

kvendrik avatar kvendrik commented on August 17, 2024

+1 also having this issue

from sc5-styleguide.

techsoldaten avatar techsoldaten commented on August 17, 2024

+1 also having the issue

from sc5-styleguide.

hitautodestruct avatar hitautodestruct commented on August 17, 2024

+1

from sc5-styleguide.

iegik avatar iegik commented on August 17, 2024

+1

Generating style guide to output dir: styleguide
Parsing error: Please check validity of the block starting from line #55

53 |             $num: index($types, $type);
54 |             .-pd-#{nth($types_class, $num)}-#{$name} {
55*|                 padding-#{$type}: $padding;
56 |             }
57 |         }

Syntax: scss
Gonzales PE version: 3.0.0-31

from sc5-styleguide.

Darrenbydesign avatar Darrenbydesign commented on August 17, 2024

+1
anyone know if this issue is fixed yet?

from sc5-styleguide.

wvankuipers avatar wvankuipers commented on August 17, 2024

Yes, this was fixed in gonzales-pe v2.0.2 and the styleguide generator is now on 3.0.0-31.

from sc5-styleguide.

kwiss avatar kwiss commented on August 17, 2024

Parsing error: Please check validity of the block starting from line #255
Syntax: less
Gonzales PE version: 3.0.0-31

@wvankuipers not really ?

from sc5-styleguide.

wvankuipers avatar wvankuipers commented on August 17, 2024

@kwiss It's fixed nu thuis commit I believe tonyganch/gonzales-pe@c9f7f8d

What code are you rating to parse?

from sc5-styleguide.

jaynnasc avatar jaynnasc commented on August 17, 2024

I just installed the style guide and am still seeing this issue. Here is my error:

`Parsing error: Please check validity of the block starting from line #7

5 | @else
6 | .no-padding-#{$side}
7*| padding-#{$side}: 0 !important
9 | =vertical-align

Syntax: sass
Gonzales PE version: 3.0.0-31`

from sc5-styleguide.

wvankuipers avatar wvankuipers commented on August 17, 2024

Nope, you are missing a dot on line 7. It shoud read '.padding-#{$side}: 0 !important' 😉

from sc5-styleguide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.