Git Product home page Git Product logo

Comments (4)

codequistador avatar codequistador commented on May 9, 2024

It would be sweet to be able to render this on a single docs page as well. Any thoughts on that?

from storybook-design-token.

Sqrrl avatar Sqrrl commented on May 9, 2024

Hey.

I am wondering if you could add a config option to disable or customize the hard coded values section. An option to disable this altogether would be fine to start, but it might be useful to include a path or two to ignore when compiling this list.

Should be an easy improvement. I'll add it to the list.

Finally, wondering if RGB support could be added? Is the plugin just reading hex values? Could it convert hex to rgb?

Color functions like rgb(a) and hsl(a) should already work. What are the issues you are experiencing?

It would be sweet to be able to render this on a single docs page as well. Any thoughts on that?

Not planned right now. But have a look at this workaround for now: #13 (comment)

from storybook-design-token.

Sqrrl avatar Sqrrl commented on May 9, 2024

Added a new option to disable the hard coded value list. Available with v0.8.0
https://github.com/UX-and-I/storybook-design-token#configure-for-storybook-53-and-later

from storybook-design-token.

codequistador avatar codequistador commented on May 9, 2024

Hey.

Thank you for the quick release! That's awesome.

As for the rgb(a) there are no issues, but I am more talking about the a programatic conversion from hex to rgba so that both can be shown. No worries if that's not a priority or even a good idea haha.

Thanks again!

Justin

from storybook-design-token.

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.