| name | theme-marketplace-skill |
| description | Theme and skin marketplace for real_deal platform including theme development, style token architecture, theme validation, performance requirements, accessibility standards, and creator revenue sharing. Use when developing themes, managing the theme store, validating theme submissions, enforcing performance/accessibility standards, or handling theme monetization. |
Theme/Skin Marketplace
Theme Architecture
Style Token System
tokens/
colors/ - Color palette (primary, secondary, neutral, semantic)
typography/ - Font families, sizes, weights, line heights
spacing/ - Spacing scale (0-8xl)
borders/ - Border radius, widths
shadows/ - Shadow definitions
transitions/ - Animation timing functions
Theme Structure
:root {
--color-primary: #6366f1;
--color-bg: #0f172a;
--color-text: #f8fafc;
}
Component Theming
- Base components accept theme tokens
- CSS custom properties for dynamic theming
- Dark/light mode support
- Custom theme upload support
Theme Development
Theme Components
- Color Scheme: Primary, secondary, accent colors
- Typography: Fonts, headings, body text
- Layout: Spacing, grid, breakpoints
- UI Elements: Buttons, cards, modals, navigation
- Animations: Transitions, micro-interactions
Theme Guidelines
- Follow WCAG 2.1 AA contrast ratios (4.5:1)
- Support responsive design
- Provide light and dark variants
- Include preview images
- Document color/typography choices
Validation Requirements
Performance Standards
- CSS Size: < 50KB uncompressed
- First Contentful Paint: < 1.8s
- Time to Interactive: < 3.8s
- Animation Performance: 60fps minimum
Accessibility Standards
- WCAG 2.1 AA compliance
- Keyboard navigation support
- Screen reader compatibility
- Focus indicators
- Reduced motion preference
Theme Validation Checklist
Marketplace Features
Theme Store
- Browse available themes
- Preview themes live
- Filter by color, style, popularity
- Rating and reviews
- Creator profiles
Theme Submission
- Developer uploads theme package
- Automated validation runs
- Manual review for quality
- Approval and listing
- Creator revenue share begins
Monetization
- Fixed Price: One-time purchase
- Subscription: Monthly/yearly access
- Free: Community themes
- Creator Share: Revenue split (with caps and tiered reductions)
Data Models
Themes
Theme - Theme metadata and configuration
ThemeAsset - CSS, images, fonts
ThemeReview - Approval review records
ThemePurchase - Purchase transactions
Analytics
ThemeUsage - Installation analytics
ThemeRating - User ratings and reviews
CreatorEarnings - Revenue tracking
Common Tasks
Create New Theme
- Define color palette in tokens
- Set typography system
- Style base components
- Ensure accessibility compliance
- Optimize CSS size
- Create preview images
- Package theme files
- Submit for validation
Validate Theme
- Run automated checks (contrast, performance, accessibility)
- Manual code review
- Test on different browsers/devices
- Verify responsive behavior
- Check keyboard navigation
- Approve/reject with feedback
Manage Theme Store
- Add new themes to marketplace
- Update theme listings
- Handle refunds/disputes
- Calculate creator revenue shares
- Generate analytics reports
- Manage featured themes