Comments (4)
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.
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.
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.
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)
- Provide ability to disable or increase page size in TokenCards component HOT 4
- Missing glob and @storybook/addon-docs as dependencies HOT 1
- Render font-sizes with custom font-family HOT 3
- White icons are not visible HOT 5
- Storybook 7 Support? HOT 31
- Selectable / Editable Values not working HOT 2
- Animation Presenter Not Working HOT 2
- issue with enabled feature buildStoriesJson HOT 1
- Allow Control Types Config (ArgTypes) HOT 1
- Issue starting storybook-design-token HOT 6
- Storybook webpack autobuild no longer works with storybook-design-token options HOT 7
- Is there a way to disable scrolling container in table view? HOT 1
- Dependencies on Vite should be optional
- Getting warnings during startup and usage of addon in v3 beta HOT 2
- Monorepo import Css injection not working
- Disabling addon panel does not work HOT 8
- ? HOT 1
- Hide search in doc pages?
- Missing "./dist/doc-blocks" specifier in "storybook-design-token" package? HOT 1
- Is there a way to only show the utilized Design Tokens in a given Story? HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from storybook-design-token.