Giter Club home page Giter Club logo

Comments (8)

jonathantneal avatar jonathantneal commented on June 29, 2024 1

I remember the exact moment I stepped away from this project (it is a the main dependency of PreCSS), and thanks to Twitter advanced search, I can tell you that it was July 10, 2015, which is roughly the same day it was released. My original intention was to progressively re-implement Sass with PostCSS. After allowing myself to stray from that direction, I tried to "walk away" and find other maintainers.

I have offered to let others take over the direction of this project through contributions. Ultimately, no one did take me up on the offer, and the project continued to gain users because (apparently) people like it and shared it. If there is a suitable competitor with stronger support, I will deprecate this package and redirect users to that project.

I find myself at a constant impasse. I continue to update the project when I see that my work is hurting users, but sometimes I fail to notice those calls in the noise of GitHub notifications — and for that I am genuinely sorry.

As it relates to this issue, would someone be willing to spin up a repo that demonstrates the break? This is described in CONTRIBUTING.md, but if you ask I would be happy to try to guide anyone through that process more individually.

from postcss-advanced-variables.

ayou-ok avatar ayou-ok commented on June 29, 2024 1

try this if you want to append a unit

.width-#{$i} {
    width: calc(#{$i}0em);
}

or

.width-#{$i} {
    width: $(i)0em;
}

from postcss-advanced-variables.

maubut avatar maubut commented on June 29, 2024

Did you find a way?

from postcss-advanced-variables.

ej52 avatar ej52 commented on June 29, 2024

any updates on this? having the same issue

from postcss-advanced-variables.

gael-boyenval avatar gael-boyenval commented on June 29, 2024

is this project still alive ?

from postcss-advanced-variables.

gael-boyenval avatar gael-boyenval commented on June 29, 2024

@jonathantneal : I could try to make a few PRs to solve some issues, if you provide me some guidance and the learning curve is not too steep. Cannot say that I will take over, but give you some help with the maintenance.

What about making a PR with failing tests as a starting point ?

from postcss-advanced-variables.

gael-boyenval avatar gael-boyenval commented on June 29, 2024

@Arman19941113 :

If you have a unknown word error (which I presume you do), your problem is more likely related to postcss syntax itself, and the way it parse CSS.

for me, using the postcss-scss syntax solve the problem and allow me to use the through keyword.

Alternatively, it seems that using to instead of through in your for loop, may also solve the issue, without the need for you to use the postcss-scss syntax.

Looking at the code, it seems that no matter the keyword you use here, it will work fine, because the plugins split the params of your loop based on their position, and not the keywords themself.

so :

@for $i from 6 tutatattoto 1 by 2 {
	.for-$(i)-from-6-to-1-by-2 {
		content: "$i";
	}
}

should work as well 😅

from postcss-advanced-variables.

chrisvidal avatar chrisvidal commented on June 29, 2024

facing the same issue, not resolving

from postcss-advanced-variables.

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.