tyche-design-system

Implements the Tyche responsive design system with tokens, component recipes, and screen references.

Updated Jun 2, 2026
One-click install
npx skills add https://github.com/IagoPrandi/ai-dealer --skill tyche-design-system-iagoprandi
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: tyche-design-system
Source: https://github.com/IagoPrandi/ai-dealer/tree/main/.claude/skills/tyche-design-system
Command: npx skills add https://github.com/IagoPrandi/ai-dealer --skill tyche-design-system-iagoprandi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Building or reviewing any screen, component, or flow for the Tyche Solana lottery DApp requires strict adherence to its "Tinta Neon" retro-cyberpunk visual language, and this Skill provides the complete token set, component recipes, and canonical HTML references so every UI change stays consistent across mobile and desktop. ## Core Features & Use Cases - Design tokens and rules: Provides the full CSS variable set (surfaces, text, accents, typography, solid shadows, inset rings) plus six non-negotiable style rules such as square corners and offset plate text shadows. - Component and screen recipes: Contains literal CSS values for buttons, cards, number tiles, badges, modals, bottom sheets, tab bars, and the anatomy of 16 reference screens with inline-CSS HTML files as the source of truth. - Repo integration and desktop shell: Maps each screen to its TSX file in the Next 16 + React 19 app, defines the 1024px desktop shell (260px rail, 70px context bar, master-detail grids), and includes a delivery checklist. - Use Case: When asked to add a new claims screen to the Tyche web app, the Skill guides you to copy the nearest reference HTML, apply the token values, follow the responsive contract, and verify against the checklist before shipping. ## Quick Start Use the tyche-design-system skill to create a new screen or restyle a component in the Tyche app following the Tinta Neon visual language.

Frequently Asked Questions about tyche-design-system

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a new screen for the Tyche app?▼

Read the screen anatomy in references/screens.md, pick the closest file from references/screens-html and copy its inline CSS values, then build content only from the component recipes in components.md. Finish by running the delivery checklist in SKILL.md.

What are the core style rules of the Tinta Neon design language?▼

Six rules: square corners on cards and chips, solid offset shadows instead of diffuse ones, displaced plate text-shadow on Bevan titles, inset box-shadow rings instead of borders, four fixed font families with fixed roles, and a magenta halftone dot overlay on every screen.

Does the design system support desktop layouts?▼

Yes, desktop starts at min-width 1024px with a 260px navigation rail, 70px context bar, and content capped at 1120px. Mobile markup stays canonical using .ide-deck display:contents wrappers and .ide-desktop-only companions, with no viewport-driven React branching.

Can I use Tailwind or CSS-in-JS when implementing these screens?▼

No, the target repo uses a single global stylesheet tyche.css with .ide-* classes plus inline style props for screen-specific values. Tailwind and CSS-in-JS are explicitly not part of the stack.

Why should I copy values from the HTML reference files instead of the prose docs?▼

The 16 HTML files in references/screens-html are the declared source of truth with literal inline CSS. When the prose documentation and an HTML file diverge, the HTML file wins.

What fonts and colors does the Tyche design system use?▼

Four Google Fonts families with fixed roles: Bevan for display, Oswald for labels, DM Mono for all numbers, and Archivo for paragraphs. Key colors are #170B22 background, #FFD23F yellow for primary actions, #35F0E0 cyan, #FF2E88 magenta, and #FF6A1F orange for solid shadows.