Overview
Retrieves all local styles defined in the current Figma document, including color styles, text styles, effect styles, and grid styles.Parameters
This tool takes no parameters.Response
Returns a JSON object containing all styles in the document:Array of style objects from the Figma document
Usage Example
Common Use Cases
Style Audit
List all styles in a document to audit consistency and organization
Style Documentation
Generate documentation of available design tokens and styles
Design System Analysis
Analyze style usage patterns across your design system
Migration Planning
Identify styles that need to be migrated or updated
Notes
- This tool only returns local styles defined in the current document
- Remote/library styles from other files are not included
- The response includes all style types: fill, text, effect, and grid styles
Related Tools
- get_local_components - Get local components from the document
- get_node_info - Get detailed information about a specific node