Giter Club home page Giter Club logo

Comments (5)

sotayamashita avatar sotayamashita commented on July 25, 2024

@koddsson I'm sorry. I cannot understand so please tell me a example when you use extraCSS and then how style will be change?

Thanks in advance.

from postcss-style-guide.

koddsson avatar koddsson commented on July 25, 2024

Hey @sotayamashita! Sorry I'm probably bad at explaining my problem. I've made a simple gist that I think illustrates my problem better that I can do in words.

Because of the order of the postCSS plugins in my sample project, postcss-style-guide will generate a guide from the CSS before it's transpiled from CSS4 to CSS3 using cssnext. This is what I want to do but it also means that postcss-style-guide will inject the CSS4 code into a style tag on the guide page and since my browser cannot parse it yet will result in my examples not having the styles that they should.

By adding a feature that will allow me to inject arbitrary CSS into the guide I can generate it from the original source and still applied the styles once they have gone through all the postcss plugin.

Does that make sense?

from postcss-style-guide.

sotayamashita avatar sotayamashita commented on July 25, 2024

@koddsson Thank you for giving me more details 👍 It make sense.

from postcss-style-guide.

matype avatar matype commented on July 25, 2024

@koddsson
Thanks for your proposal :D
I'm sorry, I had to include processd CSS by PostCSS. I will fix this in the next version.

from postcss-style-guide.

sotayamashita avatar sotayamashita commented on July 25, 2024

@morishitter It should have a bug as labels

from postcss-style-guide.

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.