Back to Plugins

TokenKebab Converter
Ensuring Consistency from Design Tokens to Implementation
Plugin Preview
About this plugin
Purpose
This Figma plugin is designed to facilitate a smoother transition between design and development stages, particularly for those utilizing the Tokens Studio and EightShapes in their design system workflow.
Key Functionality
- Typography Token Transformation:
- Converts typography tokens defined in dot notation (e.g.,
typography.Body.Bold) into an appropriate Sass mixin structure (e.g.,@include fontStyle(body-bold);). - Kebab-Case Conversion:
- Transforms tokens, including those related to spacing (e.g.,
spacing.150), into a kebab-case format, ensuring consistency and CSS-friendly naming conventions (e.g.,spacing-150). - Theme Prefixing:
- Automatically prefixes theme-related tokens with "light-", changing, for instance,
theme.input.border.defaulttolight-theme-input-border-default.
In essence, the plugin programmatically refactors design tokens, enhancing their usability and implementability in CSS/Sass codebases, and ensuring a coherent and systematic naming convention throughout the design-to-development handoff process.
Plugin Details
| Version | 2 |
|---|---|
| Created | October 10, 2023 |
| Last Updated | October 10, 2023 |
| Category | Uncategorized |
| Creator | Jony |
| Stats | 25 installs, 1 likes |
| Pricing | Free |
Technical Details
- API:1.0.0
- main:code.js
- Editor Types:figma
- Allowed Domains:
- none
More Like This
Discover other plugins in the same category.
No similar plugins found in this category.