Token Auditor
Detect Hardcoded Values in a Single Click
Plugin Preview
About this plugin
Token Auditor is a lightweight yet powerful plugin designed for teams building multi-theme, token-driven design systems. It scans any selected component or frame and reveals layers that still rely on manual, hardcoded values instead of Figma variables/design tokens.
Token Auditor helps you:
✅ Maintain system-level consistency
✅ Improve handoff quality
✅ Support multi-brand and multi-theme architecture
✅ Speed up design system audits
✅ Reduce errors during component creation and updates
🌟 Key Features
Comprehensive Token Detection
✅ Colors - Fills and strokes not using color styles or variables
✅ Typography - Text without text styles, custom fonts, line-height, letter-spacing
✅ Spacing - Padding and gaps without spacing tokens
✅ Dimensions - Fixed widths, heights, and constraints
✅ Border Radius - Corner radius values without variables
✅ Stroke Weight - Border widths not tokenized
✅ Effects - Shadows and blurs without effect styles
✅ Opacity - Custom opacity values without tokens
Smart Analysis
🔍 Recursively scans all nested layers
🎯 Distinguishes between hardcoded values and design tokens
🚫 Skips component instances (scans main components only)
📊 Provides detailed breakdown by property type
🎨 Recognizes approved design system fonts
Developer-Friendly
📍 "Locate" button to jump directly to problematic layers
📄 Export results as JSON for reporting
🔢 Real-time issue counting
📈 Summary statistics dashboard
🚀 How to Use
- Select a component, frame, or artboard you want to audit
- Run the Token Auditor plugin
- Click "Scan Selection"
- Review the issues detected
- Click "Locate" to navigate to any flagged layer
- Fix by applying appropriate styles or variables
- Export JSON for team reporting (optional)
💡 Use Cases
For Designers
- Audit components before handing off to developers
- Ensure new designs follow design system guidelines
- Catch inconsistencies during design reviews
- Maintain token adoption across large design files
For Design System Teams
- Monitor design system compliance
- Identify areas needing better tokenization
- Generate reports on token adoption rates
- Enforce design standards across teams
For Developers
- Verify designs use proper tokens before implementation
- Reduce CSS/code inconsistencies
- Ensure design-to-code accuracy
- Catch hardcoded values early
🎓 What Gets Flagged
❌ Hardcoded Values (Flagged)
- Colors: #FF0000 instead of color style/variable
- Typography: Manual "16px Inter" instead of text style
- Spacing: 16px padding without spacing token
- Dimensions: Fixed 320px width without variable
- Radius: 8px corner radius without token
- Strokes: 2px border without variable
- Shadows: Custom drop shadow without effect style
- Opacity: 80% without opacity variable
✅ Tokenized Values (Not Flagged)
- Colors using styles (e.g., "Primary/500")
- Colors bound to variables
- Text using text styles (e.g., "Heading/H1")
- Spacing using spacing variables
- Dimensions bound to size variables
- Corner radius using radius tokens
- Strokes using stroke styles or variables
- Effects using effect styles
🔧 Configuration
The plugin includes a customizable approved fonts list for your design system:
javascript/Default approved fonts
- Inter
- Roboto
- SF Pro Display
- SF Pro Text
- Helvetica Neue
- Arial
- System
Font families in this list won't be flagged (even without text styles), allowing flexibility for system fonts while catching random font usage.
⚡ Performance
- Fast Scanning - Optimized for large files
- Efficient Detection - Smart checks avoid false positives
- No Build Required - Pure JavaScript implementation
- Lightweight - Minimal impact on Figma performance
🆘 Support & Feedback
Found a bug or have a feature request? Please report issues or suggestions!
🏆 Benefits
⏱️ Save Time - Catch issues early, avoid rework
🎨 Consistency - Ensure design system compliance
🤝 Better Handoffs - Developers receive properly tokenized designs
📈 Quality Metrics - Track token adoption over time
🛡️ Prevent Drift - Maintain design standards automatically
📝 Version History
v1.0.0 - Initial Release
Comprehensive token detection for all design properties
Smart variable and style recognition
JSON export functionality
Real-time issue breakdown
Locate feature for quick navigation
🎨 Perfect For
- Design Systems Teams
- UI/UX Designers
- Product Designers
- Frontend Developers
- Design Ops Teams
- Anyone maintaining design consistency
🔐 Privacy & Security
- No data is sent to external servers
- All processing happens locally in Figma
- No tracking or analytics
- Export is optional and stays on your device
📄 License
Free to use
🙏 Credits
Built for the design community to improve design system adoption and consistency.
Ready to audit your designs? Install Token Auditor today and ensure your design system is properly implemented! 🚀
Plugin Details
| Version | 1 |
|---|---|
| Created | November 27, 2025 |
| Last Updated | November 27, 2025 |
| Category | Import & export plugins |
| Creator | Venkateswaralu |
| Stats | 1 installs, 1 likes |
| Pricing | Free |
Technical Details
- API:1.0.0
- UI:ui.html
- main:code.js
- Document Access:dynamic-page
- Editor Types:figma
- Allowed Domains:
- none
More Like This
Discover other plugins in the Import & export plugins category.
html.to.design — by ‹div›RIOTS — Import websites to Figma designs (web,html,css)
Convert any website into fully editable Figma designs
Anima - Figma to Code React, HTML, CSS, Tailwind, MUI (DevMode Inspect React / HTML / Vue / CSS)
Anima - AI Powered Design to code
Figma to HTML
Convert Figma design to HTML