parsers
style-dictionary
parsers | style-dictionary | |
---|---|---|
10 | 5 | |
111 | 3,650 | |
7.2% | 1.4% | |
6.8 | 6.3 | |
5 months ago | 6 days ago | |
TypeScript | JavaScript | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
parsers
- Show HN: Specify 2.0 – Your design token engine
-
How do you make the devs life easier ?
Specify if also a good all-in-one tool I just found yesterday https://specifyapp.com/
- How can one create this type of animation? Especially with react js
-
kickstartDS is Open Source now. Let’s start to democratize Design Systems today
Today quite some companies are already tackling similar problems. Talking of Knapsack.cloud, Backlight.dev, Specify, Supernova and many more, here. They all deliver value to simplify workflows for setup, integration, documentation and management of Design Systems. This is all super helpful in spreading the love about Design Systems to teams out there, and is a huge benefit to the process side of things. But you usually still need to create or import all of your components, which means that you still have some hard work before to you yourself, before finally benefitting from these tools. There’s also a lot (knowledge and work) going into the setup of a Design System (semantic tokens, hardened components, etc) that’s not solved by those tools, yet.
-
Specify VS Style Dictionary
By default Specify returns design data in JSON but thanks its open source parsers you can transform your design data in any formats. I repeat, in any formats.
-
El nuevo paradigma: de código a diseño
https://story.to.design/ https://specifyapp.com/
-
Experimenting with Shape Up
At Specify, We started experimenting with the Shape Up methodology a few weeks ago to define focused projects, address unknowns, and increase collaboration and engagement within the team. So, I started to learn more about how other teams implemented it, too.
- Specify
-
Translating Figma designs to Tailwind
here's a list of their parsers: https://github.com/Specifyapp/parsers/tree/master/parsers
-
From Figma to React Native using Specify
For each rule we can use a different filter, such that the rule only applies to certain types of design tokens. Next to filters, we can also use parsers, which will manipulate the raw design tokens (which are in JSON format) and output a format that suits the programming language and platform more. Parsers behave like a pipeline, where each parser receives the input of the previous one. There are a lot of parsers to choose from, some perform very low level transformations such as round-number and camelcasify, but also full-blown parsers to a single technology such as to-tailwind and to-react-native.
style-dictionary
-
Syncing Figma Variables and StyleDictionary with GitHub Actions
function getStyleDictionaryConfig(brand) { return { source: [`tokens/brands/${brand}/*.json`, 'tokens/globals/**/*.json'], platforms: { /** * Available platforms: https://amzn.github.io/style-dictionary/#/config?id=platform */ web: { transformGroup: 'web', buildPath: `build/web/${brand}/`, files: [ { destination: 'tokens.scss', format: 'scss/variables', }, ], }, }, } } /** * Build the tokens for each brand. * {@see - Example based on https://github.com/amzn/style-dictionary/tree/main/examples/advanced/multi-brand-multi-platform} */ ['microsoft', 'xbox'].map(function (brand) { ['web'].map(function (platform) { const StyleDictionary = StyleDictionaryPackage.extend( getStyleDictionaryConfig(brand), ) StyleDictionary.buildPlatform(platform) }) })
-
Specify VS Style Dictionary
Check out the official examples projects provided by Style Dictionary. In our case, we just used the basic example 👍
-
Any wait to generate a full JSON of tailwind?
Did you know about Style Dictionary https://github.com/amzn/style-dictionary Its a tool that creates Design Tokens for different platforms using a JSON file. Sounds similar to what you are trying to achieve.
- This is my favorite Github issue 🦎
-
Introduction to Variabless
Cool. Can you compare this to https://github.com/amzn/style-dictionary?
What are some alternatives?
design-tokens - 🎨 Figma plugin to export design tokens to json in an amazon style dictionary compatible format.
theo - Theo is a an abstraction for transforming and formatting Design Tokens
design-tokens - Design token generator written in Deno + TS
Awesome-Design-Tokens - A list of resources on all things to do with Design Tokens
theme-ui - Build consistent, themeable React apps based on constraint-based design principles
a11y-color-tokens - Generate accessible UI colors from your base color tokens.
motion-canvas - Visualize Your Ideas With Code
community-group - This is the official DTCG repository for the design tokens specification.
megaparsec - Industrial-strength monadic parser combinator library
Awesome-Design-Tools - The best design tools and plugins for everything 👉
parsec-free
variabless - JS & CSS - A Match Made in Heaven 💎