Files
metabuilder/packages/json_script_example/styles/tokens.json
johndoe6345789 8c8f8cce8a feat: Add JSON Script Example and Lua Test Framework
- Created a new package for JSON Script Example with comprehensive examples demonstrating the full JSON script specification.
- Added permissions for viewing, executing, and modifying examples in the JSON Script Example package.
- Implemented functions for various expressions, statements, operators, and control flow in the JSON Script Example.
- Developed a Storybook configuration for showcasing JSON Script Examples with interactive components.
- Established a styles token file for consistent styling across the JSON Script Example package.
- Introduced a new Lua Test Framework package with components for running and displaying test results.
- Defined permissions for executing and viewing Lua test results, along with configuration and debugging capabilities.
- Implemented a comprehensive set of functions for the Lua testing framework, including assertions and mocks.
- Created Storybook stories for the Lua Test Framework to demonstrate the test runner and results display.
- Added a styles token file for the Lua Test Framework to ensure a cohesive design.
2026-01-02 16:42:39 +00:00

49 lines
1.1 KiB
JSON

{
"$schema": "https://metabuilder.dev/schemas/package-styles.schema.json",
"schemaVersion": "2.0.0",
"colors": {
"primary": "#2196F3",
"secondary": "#FFC107",
"success": "#4CAF50",
"error": "#F44336",
"warning": "#FF9800",
"info": "#00BCD4",
"background": "#FAFAFA",
"text": "#212121",
"expressionHighlight": "#E3F2FD",
"operatorHighlight": "#FFF3E0",
"resultPositive": "#C8E6C9",
"resultNegative": "#FFCDD2"
},
"spacing": {
"xs": "4px",
"sm": "8px",
"md": "16px",
"lg": "24px",
"xl": "32px",
"demoCard": "20px",
"resultGrid": "12px"
},
"shadows": {
"demoCard": "0 2px 8px rgba(33, 150, 243, 0.15)",
"resultCard": "0 1px 4px rgba(0, 0, 0, 0.08)",
"operatorTable": "0 1px 3px rgba(0, 0, 0, 0.12)"
},
"typography": {
"fontFamily": "Roboto, sans-serif",
"fontSize": {
"small": "12px",
"medium": "14px",
"large": "16px",
"xlarge": "20px"
},
"codeFont": "JetBrains Mono, monospace"
},
"borderRadius": {
"small": "2px",
"medium": "4px",
"large": "8px",
"card": "8px"
}
}