Files
metabuilder/packages/forum_forge/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

71 lines
1.7 KiB
JSON

{
"$schema": "https://metabuilder.dev/schemas/package-styles.schema.json",
"schemaVersion": "2.0.0",
"package": "forum_forge",
"description": "Design tokens for Forum Forge components",
"colors": {
"categoryPrimary": "#3b82f6",
"categorySecondary": "#8b5cf6",
"threadActive": "#22c55e",
"threadPinned": "#f59e0b",
"flagWarning": "#ef4444",
"flagPending": "#f97316",
"moderatorBadge": "#6366f1",
"replyHighlight": "#dbeafe",
"statPositive": "#28a745",
"statNegative": "#dc3545",
"statNeutral": "#6c757d"
},
"spacing": {
"cardPadding": "16px",
"sectionGap": "24px",
"listItemGap": "12px",
"statsGrid": "16px",
"heroSection": "24px"
},
"shadows": {
"card": "0 2px 8px rgba(0, 0, 0, 0.1)",
"cardHover": "0 4px 16px rgba(0, 0, 0, 0.15)",
"statCard": "0 1px 4px rgba(0, 0, 0, 0.08)",
"categoryCard": "0 2px 6px rgba(0, 0, 0, 0.08)"
},
"borders": {
"cardRadius": "8px",
"buttonRadius": "6px",
"badgeRadius": "4px",
"defaultBorder": "1px solid #e5e7eb"
},
"typography": {
"heroTitle": {
"fontSize": "1.5rem",
"fontWeight": 700,
"lineHeight": 1.3
},
"sectionTitle": {
"fontSize": "1.25rem",
"fontWeight": 600,
"lineHeight": 1.4
},
"threadTitle": {
"fontSize": "1.125rem",
"fontWeight": 600,
"lineHeight": 1.4
},
"statValue": {
"fontSize": "1.25rem",
"fontWeight": 600,
"lineHeight": 1.2
},
"statLabel": {
"fontSize": "0.875rem",
"fontWeight": 400,
"lineHeight": 1.5
},
"meta": {
"fontSize": "0.75rem",
"fontWeight": 400,
"lineHeight": 1.5
}
}
}