Toss-Style Design System Rules

Toss-Style Design System Rules

Sets UI design rules for calm, high-trust product screens: strict type scale, grayscale hierarchy, one accent color, restrained cards, dark mode and accessibility.


description: Toss-style UI design rules for disciplined spacing, typography, grayscale hierarchy, restrained color, cards, metrics, dark mode, and accessibility
globs: ["/*.tsx", "/.jsx", "**/.vue", "/*.svelte", "/.css", "**/.scss", "tailwind.config.*"]
alwaysApply: false


Toss-Style Design System Rules

Design Direction

  • Build quiet, high-trust product UI with clear hierarchy, generous spacing, and minimal ornament.
  • Use one primary accent color and rely on grayscale for most structure.
  • Avoid decorative gradients, unnecessary shadows, and competing accent colors.
  • Prioritize readability, confidence, and fast scanning over visual novelty.

Typography

  • Use a strict type scale with clear roles for page title, section title, body, supporting text, and metadata.
  • Use font weight and color before using large size changes.
  • Never use pure black text; use a dark grayscale foreground.
  • Keep line height comfortable for body copy and tighter for short labels or metrics.
  • For metrics, make the number visually dominant and the unit smaller but still legible.

Layout and Rhythm

  • Use consistent spacing tokens.
  • Keep related content close and unrelated content separated by whitespace.
  • Use section rhythm: summary, details, action, and supporting context.
  • Align form fields, values, and controls predictably.
  • Avoid nested cards and excessive borders.

Cards and Surfaces

  • Use cards only for grouped content that needs a surface.
  • Keep card radius restrained and consistent.
  • Use subtle shadows or borders, not both heavily.
  • Keep shadow opacity low and avoid dramatic elevation.
  • Do not place important controls in low-contrast decorative surfaces.

Color

  • Use the accent color for primary actions, selected state, links, or critical brand moments.
  • Use semantic colors for status only: success, warning, error, and information.
  • Keep disabled and secondary states in grayscale.
  • Ensure status is never communicated by color alone.

Dark Mode

  • Rebuild the grayscale scale for dark mode rather than inverting colors.
  • Reduce bright accent intensity on dark backgrounds.
  • Preserve contrast between surface, border, and foreground layers.
  • Test charts, cards, and form controls in both modes.

Accessibility

  • Meet WCAG AA contrast for text and controls.
  • Provide visible focus states.
  • Keep tap targets large enough for touch.
  • Use semantic HTML and labels before adding ARIA.
  • Respect reduced motion preferences.

Common Mistakes

  • Do not create one-off spacing values.
  • Do not mix multiple unrelated accent colors.
  • Do not overuse cards to separate every piece of content.
  • Do not rely on large hero typography inside dense product screens.

Public domain (CC0 1.0) · by awesome-cursorrules contributors · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 13,251 prompts

More by @OpenSourceBuffGuy

See all
User Research Analyst prompt image

User Research Analyst

Acts as a senior UX researcher that designs usability studies and interview guides, analyses research notes and turns them into evidence-backed UX recommendations.

system-prompt, act-as, user-research, ui-ux, product-management, research-methods, data-analysis, question-generation, for-product-managers, for-designers, for-researchers, structured-output, xml-tags, expert-advice, report, survey, critique, guided-interview, advanced, long-form, guardrails, customer-persona

Four Portraits Peeking Through Yellow Paper prompt image

Four Portraits Peeking Through Yellow Paper

Creates a 2x2 grid of four young men peeking through ripped holes in bright yellow paper, in a 1990s indie-band studio editorial style.

image-prompt, nano-banana, multi-panel, collage, photorealistic, editorial, portrait, man, group-photo, studio-lighting, soft-lighting, vibrant-colors, split-screen, cinematic, indie, fashion, symmetry, bokeh, square-format

Empty vintage bedroom with amber lamp and clothing rack prompt image

Empty vintage bedroom with amber lamp and clothing rack

Turns a reference photo of a woman into a 15-second Y2K pixel dress-up game video with instant outfit changes, a closet menu and a style score.

video-prompt, image-to-video, visual-effects, pixel-art, fashion, timed-beats, reference-image, face-reference, character-consistency, negative-prompt, seedance, y2k, cozy, autumn, transformation, scene-transitions, woman, full-body, vertical-format, short-form-video, structured-output, guardrails, vintage, long-form

Reviews

Loading reviews…

Discussion

Loading comments…